1022(P116—126) for thinking in c++

1、Using the c function library. If posible, using the existing library for your programs,then all you need to do is including the header file and call the function.
2、As for controlling execution.  The statements include if-else,while,do-while,for,and a selection statement called switch.
3、The break and continue keywords.Break quits the loop without executing the rest of the statements in the loop. Continue stops the execution of the current iteration and goes back to the beginning of the loop to begin a new iteration.
4、while(true) statment is the equivalent of saying "doing this loop forever".

你可能感兴趣的:(1022(P116—126) for thinking in c++)