Why its showing wrong ?[quote]Just because you can doesn't mean you should. [/quote] :) [quote]do-while without braces is ...
Why its showing wrong ?The do loop can be shortened further to: [code] do { printf("% d", X); } while (++X...
Save to file with vector (dynamically)This is some simple C++11 code to write a vector of numbers to a file and then to read and display t...
Calling assembly code from C++[quote]such a silly mistake[/quote] We've all been there, done that, got the teeshirt.......
Calling assembly code from C++The first 2 args are passed in RDI and RSI and the stack (RBP) isn't used. So RDI will be buf and RS...