??? 05/11/09 06:03 Read: times |
#165226 - program will not compile Responding to: ???'s previous message |
Johnson Vue said:
The program will not compile code if there is too much code in main(). I'm sure it doesn't just "not compile" - I'm sure it musr give you some error messages? You say you're familiar with C++ - so you should be familiar with how to deal with compiler error messages? I'd also be pretty sure that it's nothing specifically to do with the amount of code in main(): You need to look carefully at the error messages - they tell you the precise reason(s) why the build failed... So how do I count how many bytes is used in main()? The compiler tells you - it appears in the output window of uVision at the end of the build. I saw the sample program use three different C files, so i guess I'm going to have to split my code up? I doubt this has anything to do with it - see above. But my main focus right now is to get strings working. No, I think your main focus first needs to be to get to know the tools better, and spend some more time with the basic examples. Did you actually work through the sample exercise in the uVision manual? http://www.keil.com/support/m..._hello.htm And you also need to spend some time looking at the differences between small embedded systems and "desktop" programming... http://www.keil.com/books/ |
Topic | Author | Date |
Program runs really slow | 01/01/70 00:00 | |
More detail required | 01/01/70 00:00 | |
RE: Andy | 01/01/70 00:00 | |
You are reading the wrong book! | 01/01/70 00:00 | |
program will not compile![]() | 01/01/70 00:00 |