Ah sorry about that, I meant in the original code example. Not the uber efficient C++ variant kindly posted :-)
Type: Posts; User: TastySauceCode
Ah sorry about that, I meant in the original code example. Not the uber efficient C++ variant kindly posted :-)
Heh, with a program as trivial and on such a small scale as 'Hello World', there isn't much difference granted. ;) However, when things get more larger in scope and C++ introduces memory management,...
do {code}while(conditional)
while (conditional){code}
The first, executes the code block, and then checks the conditional in order to see whether to execute again. Thereby insuring at least...
Thanks for taking the time to show me the proper C++ way of doing this :-) The real purpose originally though was just to try and get to grips with the logic behind it; I like reading other people's...
Hey there, I'm fairly new to C++ so please bear with me as I almost insult your intelligence with this simple question ;)
char *nu_array[] = {"HELLO", "WORLD"};
char **p = nu_array;
...