View Full Version : What is the problem with this simple program?

04-07-2004, 07:52 AM
I must apologize that the whole problem is stated in http://southp.cis95.net/problem.txt. (http://southp.cis95.net/problem.txt)
Because I can't solve the mis-parsing of the forum... :)

Please help!

04-07-2004, 07:57 AM
first off, unless I am way off and way behind in C++, you have to have your list statement in some kind of function. You can't do any kind of instructions globally. That might fix some of the problems.

04-07-2004, 08:07 AM
Actually,it solves all.Thanks a lot.

It's just a fundamental C++ problem...shame on me.How could anyone call a function globally?I think I need more rest...

Thanks again!

04-07-2004, 08:15 AM
No prob, and good luck in your programming