We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I,ve installed the Compiler and I can,t get even the simplest code to compile properely.
Anyone know where the fix for this bug is?
Or is it a limit of the demonstration version?
void main(void) { cout << "Hello world!"; }
Someone give a more positive (and helpful) response please!
So, essentially you're asking "Please tell me what I want to hear." ?
All the information you need is already in this thread.
I know how to write code using cout and expect my compiler to do it.
If you use cout, then you are writing code in C++. "Your compiler", therefore, needs to be a C++ compiler. The Keil C51 is not a C++ compiler.
In simple terms, you're trying to pound a nail with a screwdriver. You are using the wrong tool for the job at hand.
Why so difficult to get a simple answer?
The simple answer is already in this thread. The problem is that you did not read, understand or believe it.