Atopicaboutcppstuffanderrorsyoucangetinit
50 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Scooped by Acrethaen
Scoop.it!

performance - C Pointer Arithmetic Efficiency - Stack Overflow

You don't need to cast the result of malloc in a C program. As to your question, you can just compile an example program and see for yourself. As others have answered, yes, they are the same. sizeof(3) is a bit weird, too.
more...
No comment yet.
Scooped by Acrethaen
Scoop.it!

It's time for computers jokes, Windows Error Codes - More Share Forum - Indonesian Community Pages 1

It's time for computers jokes, Windows Error Codes - More Share Forum - Indonesian Community Pages 1 | Atopicaboutcppstuffanderrorsyoucangetinit | Scoop.it
� � � � � � � � WinErr 001: Windows loaded - System in danger � WinErr 002: No Error - Yet � WinErr 003: Dynamic linking error - Your mistake is now, Read More on it s time for computers jokes windows error codes Topic Pages 1 (It's time for computers...
more...
No comment yet.
Scooped by Acrethaen
Scoop.it!

Convert a line from C to C++ - Stack Overflow

printf("root is at %g with residual %g \n", x, fcn(x));. convert that line from C to C++. I got this: cout << "Root is at %g with residual %g \n" << x << fcn(x) << endl;. However the output is: "Root is at %g with residual %g ...
more...
No comment yet.
Rescooped by Acrethaen from Bazaar
Scoop.it!

2 steps to better API Error Codes

2 steps to better API Error Codes | Atopicaboutcppstuffanderrorsyoucangetinit | Scoop.it
One of the biggest difficulties developers can have when writing code that talks with an API is dealing with errors and exceptions, and translating those errors into something meaningful for their ...

Via Club de TeleMatique
more...
No comment yet.