PDA

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



Southp
04-07-2004, 08:52 AM
Hi,
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!

dlswimmer
04-07-2004, 08: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.

Southp
04-07-2004, 09: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!

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