Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello there,
I'm quite a beginner in computing in C and I have trouble to read properly a file using the mbed. I've used the software CodeBlocks to test my programme and it is working perfectly but when I paste my code into the mbed compiler I get some troubles.
Here is my code:
/media/uploads/UniLeedsElec06/code.txt
When compiling, I get a warning : "pointless comparison of unsigned integer with a negative constant". This warning is for the line with: "} while (get_character != EOF);". I think there is probably minor differences between the two compiler I've used and I hope it will be easy to fix it.
Here is the file .txt I have to read.
/media/uploads/UniLeedsElec06/userfile.txt
Thanks for your help !