Is there a mc. that is cheap and reprogramable like a pic but you program it with c++. For enyone who cares its becuase I am learning/learned c++ and dont want to learn another programing language...or maybey I could make one with c++...nah, so is there something like what I asked.
erm, you could use a C compiler. Theres rarely a need for oo paradigm on a low end micro. C compilers are avaiable for PIC & Atmel & pretty much every other one on under the sun. the fact is on very low end uC's (like <$6 cost) C gets in the way, and a RISC asm is the best by far.
You won't find one. c++ needs to be compiled and linked, not interpreted. There are a few c++ interpreters around like http://www.softintegration.com/, but they have huge overhead and won't run on a PIC. They are mainly for troubleshooting and debugging. Don't worry about learning another language. Compiler and linker do all the work for you. You will have to learn how to use them though.
What exactly are you trying to do? If you're just wanting to learn, why not try to pick up ASM, it's a great learning experience? If you've got a project, I'm sure we/me/someone could help you out, since most projects are trivial or impossible to code on a microcontroller. Where are you headed?
try this: http://www.mikroelektronika.co.yu/english/product/compilers/mikroc/index.htm Ive never used it, but ive had a look at the pascal version. I dont really understand ASM, but pascal is easy
Wait...I think one of us is not understanding (prob. me) but you can program a pic in c and compile it so the pic understands it like with a pc? then wtf is this other programing language that they want you to learn. And curently I am not on a project, its for futor referance.
You can use a lot of programming languages for programming a pic. ASM (assembler) C or C++ just abstracts from machine language (zero's and ones). Here is how it works. You program your program and then you compile it. The compilation will generate libraries or objects. The linker then links all these objects or libraries to an executable. You then download the executable to your pic. I would recommend you use C for programming a pic you don't need C++. You can use C++ but you'll make it extra difficult for yourself. Good luck!
Cool, I didnt know you could program a pic with c/c++. Thanks, at least someone understood my question .