Whta this do. for( ); | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whta this do. for( );

c++

16th Mar 2017, 11:26 PM
Abdelkader Gmal
Abdelkader Gmal - avatar
3 Answers
+ 2
i think You need to read essential tutorial. I will never understand how is it possible to have internet connection, free offline dictionaries and ask so banal questions. You have full featured information on any searcher. Although i should help You with namings (which is hard to find or guess): I know about 3 kinds of loop in c++: "while loop" "for loop" "range-based for loop" (in java called "enchanced for loop") just put meant terms in searcher. Programming is not about begging. It's about philosophy and achievements. Someone having such essential problems will not produce any hq software and that means a very low quality on market. I can't stand when english (as polish) is so terribly broken in apps and then ppl start to talkwrite this way as as some kind of dialect. I'm not good in english but when it comes to publicate any english version i do my best to not harm language. I also most care about my language - if You can't learn different grammar how will You catch logic problems, much more complicated? Every API is like new language - will You grab it ?...
17th Mar 2017, 1:03 AM
Michał Bujakowski
Michał Bujakowski - avatar
+ 1
error
17th Mar 2017, 12:01 AM
Anand Kumar
Anand Kumar - avatar
- 1
It's a blank for loop. It should be followed by a {} rather than a semicolon. in pseudo: for(variable a = 1; a > 10; a++) { } would execute the code in the curly brackets ten times. The first statement initializes the variable, the second tells it how long to run, and the third tells it how to increment the variable after every loop.
16th Mar 2017, 11:50 PM
Winston Coty Emmons
Winston Coty Emmons - avatar