c++ - Execution order of code with continue;? -


i work c#, please bear me. also, code written else.

the code outputs information text file, , reason, @ midnight, file exported carriage returns , line separators (ie. no actual data).

after debugging it, noticed debugger breaks on continue;, after line in for loop (in init2) not being executed.

due complexity of code, had remove of it. i've included for loops are. need know continue doing skips "important stuff" being output.

any appreciated. thanks.

for ( init1; condition; increment ) {     ( init2; condition; increment ) {         code;         ( init3; condition; increment ) {             code;              if (condition) {                 code;             }             code;         }         if (condition) continue;  //always breaks here          code;  //never breaks here          if (condition) {  //never breaks here, important stuff not output file.             ( init4; condition; increment ) {                 fprintf_s(fp, "output important stuff");             }             fprintf_s(fp, "\n");         }     }     if (statement) { //this code runs , following printed.         fprintf_s(fp, "----------------------------------------------------------\n");     } } 

it seems problem condition inside if statement. i'm not sure can provide further if don't see actual code.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -