|
|
back to boardWhy I Have COMPILLATION ERROR, at my comiplator all is OK [code was deleted by moderator ;-)] Edited by moderator 20.04.2004 08:04 Re: Why I Have COMPILLATION ERROR, at my comiplator all is OK complilation error can be also achieved by calling division by zero, falling out of arrays, etc. the test may contain some situation which your program can't handle validly. Re: Why I Have COMPILLATION ERROR, at my comiplator all is OK I think it is because of the header you are using. I think it must be written like this : #include <fstream> using namespace std; Re: Why I Have COMPILLATION ERROR, at my comiplator all is OK You can't write for (int x = 1; x <= n; x++) {...} and then for (x = 2; x <= n; x++) {...} x is underfined here! you should write int x; for (x = 1; x <= n; x++) {...} for (x = 2; x <= n; x++) {...} or for (int x = 1; x <= n; x++) {...} for (int x = 2; x <= n; x++) {...} what's the meaning of this question Posted by xxxx 16 Jul 2004 07:59 what's the meaning,it's too long |
|
|