They belong here: |
if (blah) then f1(); else f2(); ^----------------- |
But not here: |
for ( i=0; i<n; i++ ) blah(); ^----------------- |
foo;where "foo" is a function, is not a compiler error, but it is not a function call, even if "foo" has an empty argument list. You want:
foo();But see below.
C obj();Will not do it! It will be interpreted as a function prototype. You want:
C obj;
[Hit Counter]