imesecan | Feb.07.2011 at 09:20:29 PM | |
0 | In questions when it specifies a condition for sure it's better to check for it. But usually, you shouldn't give extra information like: cout<<"the sum is"<<A+B<<endl; but simply say cout<<A+B; Just what it asks.
Or, when getting information, you don't say, cout<<"Enter a number..:"; cin>>A; but simply say cin>>A;
|
imesecan | Feb.19.2011 at 11:45:03 PM | |
1 | Post is deleted
|
imesecan | Feb.20.2011 at 01:55:04 PM | |
2 | You shouldn't use system("Pause");
|
imesecan | Feb.21.2011 at 12:03:14 PM | |
3 | Post is deleted
|
imesecan | Feb.23.2011 at 08:31:02 PM | |
4 | <b>Error Logs :</b> At the right bottom part of the question page, you can see a button with the name "info". When you click on it it opens two other buttons. "code" and "log" From the button code you can see your previous submissions, and from the button log, you can see the error log of your submission. This is you submission log. On your fourth line ---------- compiler_stdout.txt ----------
---------- compiler_stderr.txt ---------- solver.cpp: In function `int main()': solver.cpp:6: error: `cin' undeclared (first use this function) solver.cpp:6: error: (Each undeclared identifier is reported only once for each function it appears in.) solver.cpp:17:2: warning: no newline at end of file
|