~Rick wrote: > At Thursday 8/7/2008 21:31, you wrote: > >> i have no idea what to do. it wont compile on my mac. WHAT AM I DOING >> WRONG! >> >> here is the code it is in C++: >> >> <snip> >> > > What errors are you getting from your compiler? > > Once I fixed the errors from line wrap (I assume wrapping caused > them) it compiles fine on windows with wx-devcpp. >
Works fine in Eclipse+MinGW as well. If you know you are emailing code and it will wind up wrapper for you, you are best off formatting it as such to avoid those errors before they occur. The only issue I saw was clearing the screen. There is no standard C/C++ function to clear the screen. To do this right you will need to call into the OS to do it. Both Linux and Windows have console libraries that handle tasks such as this. -- John Gaughan
