to void * and then pass it to *g[ ] in function s(), and after cast of g to int ** agian, print the ultimate value which is an int. why won't it work?
line 14, change it by: int ** e = (int**)g; printf(..., **e);
line 10? it's }
Hey everyone! How can I pass string from Rust to c++ function that expects std::string? When I'm passing CString the c++ functions tell that the string is empty
Are you trying to compile a program?
x86asm print1: pusha push 'a' push 'b' mov ah, 0x0e mov al, 'h' int 10h popa ret in this assembly program if i ca...
Hey, what is the best and maintained way of transpiling cpp to c? (As a need to support many different toolchains quickly and may not have a c++ support in the given toolch...
I guess into_raw eats the tracking?
@Romshark how is that an ad? this guy was asking earlier about help with his project
hello, does someone have a good cheat sheet (max 2 sides of A4 paper sheet) for C only? I need it to cover most useful function for math, dynamic memory, strings, files (I/O),...
Hello , which language to learn if i want to get a job in aerospace?
Hello , i have been writing this programme which sorts an array of numbers in a stake using predefined instructions , like add elements to the top of the stake , remove , ...
I often see on the Internet that Steven Prata’s book C++ Primer Plus is a bad book for learning, tell me, is this true? links with negative information about the book https:...
Обсуждают сегодня