visual c++ - syntax error : missing ';' before ')' -


i have nested loop , getting error, far know dont need ';' in section of code

    while ( infile >> location >> elevation >> precipamount ) {      (count, count <= 12, count ++) 

i getting error after last close parentheses.

your for loop has syntax errors, note semi colons instead of commars:

for (count; count <= 12; count ++) 

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -