Anyone tried C++ yet. It seems to be available. I tried the following. iostream with no extension is available but the source file won't open it for some reason. On the last line of output window it says no C++ support available.
I was just curious to see how it compared to a C "hello C world"
But gave up.
#include <iostream> int main(void) { cout << "hello C++ world"\n"; return 0; }
Drew, Robert. I really appreciate your comments. I am primarily driven by curiosity. I appear to have a good install now because Robert confirms getting the same results.
One feature of C++ that would have made the last project cleaner is the C++ feature "overloading functions".
I have just compiled an existing program and it is slightly smaller, approx 2% using the C++ compiler.
Where from here? I will try to become more proficient in C, and to get a handle on C++, until now I didn't see the point. But I am definately impressed by what Robert has indicated what can be done. Can I do what he did, definately not (read envy!).
Maybe I should ask if we can purchase what he has done, it would sound like a good investment.
I do wish COUT would work and perhaps I will try to look into it but for now I have to be real and concentrate on what gives me a living which isn't C programming.
It would be nice if there could be a Keil C++ promotion to provide more examples etc. I really didn't know that this tool was even available until I read the compiler pdf.
Anyway thanks again!