User profile: coder777

User info
User name:coder777
Number of posts:6134
Latest posts:

Linked list with pointers
A pointer to a pointer is rarly used. There are usually two scenarios: 1. You want to modify a poin...

Two variable in a for loop
[quote]take the second value and neglate the first value is this true ?[/quote]Yes, expressions sepa...

While loop to For Loop
@imohamme5 Nope, your loop is wrong. Try this:[code]for(double f=0.2; f<0.9 && flag==1; f+=0.1) { c...

'\n' is called escape sequence, see: Hence \n is ...

For loop vs For each loop for arrays
There is nothing wrong with using a range based loop when possible.