Hi I want to write a CODE in C++ in KEIL. Can anyone tell me how to proceed. I am getting the option of C/C++ in the configuration window. But completely confused on how to make selection thereafter.
There are 2 examples in folder c:\Keil\ARM\Examples\C++\ that you can look at as reference.
They don't all support C++
Thanks while(1) I got the point.
Hi the compiler is KEIL UV3 it support upto ARM7. And C++ provision is there. Thanks
Why do you keep formatting your entire post as Bold??
No, UV3 is not a compiler - it is just the IDE
"it support upto ARM7"
uVision is Keil's common IDE: it supports all of Keil's compilers - C51, C251, C166, and ARM.
Note that uVision-3 has long been replaced by uVision-4 - so, are you also using an out-of-date compiler?
In particular, are you using the obsolete Keil CARM compiler?
Ya it may be the obsolete one. But however in that case it won't support the basic feature needed for C++ programming??
What Compiler you are actually using!
You also need to state what version of the Compiler.
Without that information, it is obviously impossible to state what features it may or may not support!
Andy below are the complete version details- uVision3 V3.60 Toolchain: PK51 prof. Develpers Kit ver: 7.20 C Compiler: C51.Exe V7.20 Assembler: AX51.Exe V2.13 Linker/Locator: LX51.Exe V3.64 Librarian: LIBX51.Exe V4.24 HEX converter: OHX51.Exe V1.35 CPU DLL: S8051.Exe V2.44 Dialog DLL: DP51.Exe V2.43
Your compiler (C51) doesn't support C++ - And it's certainly doesn't support ARM!
Also please tell me what's this REALVIEW is??
Hi C51 is not the fixed compiler provided by KEIL UV3 depending on the device selected it will select C51/ARMcc/C251 etc. Since it is my 1st time with object oriented (C++) so I want to make it on 8051 core. And C51 is for 8051 provided by KEIL IDE.
"Since it is my 1st time with object oriented (C++) so I want to make it on 8051 core."
Good luck. As I said before, C51 does not does not support C++.
http://www.keil.com/arm/realview.asp
"The ARM Compilation Tools, previously known as ARM RealView Compilation tools..."
You really are going to have to work a lot harder than this if you're serious about getting into Object-Oriented C++ programming!
A major part of any software development project is seeking out and studying the required information, specifications, etc...