NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » C++
July 01, 2011 by hariharan |
After a long time, I am posting questions. But, important ones.
|
---|---|
July 02, 2011 by Ralphxyz |
Hi hariharan,
Ralph |
July 02, 2011 by hariharan |
I mean, can i make graphic applications with C? And can I make computer applications with C and C++? |
July 02, 2011 by Ralphxyz |
Yes, there probable are more/better graphic libraries in C++. You need to read up on the GNU GCC compiler. Then read up on the AVR-gcc compiler. The AVR mcu will be limited by the lack of memory and of course display devices. If you want a GUI for your PC Python has a interesting graphics library. What are you wanting to do and on what platform? Ralph |
July 04, 2011 by hariharan |
Like, I want to learn to program and make applications for mcu and computer as a hobby. I am deciding what programming language I can use for both. |
July 05, 2011 by Ralphxyz |
Well I would recommend you start with C for the mcu and Python for you PC. Get those under your belt and then you can expand rapidly. For PC GUI programming traditionally it has been C++ for a Windows pc for programming a ipad or other Apple device There is Objective C and Objective C++ this is done using Xcode on a Mac. The thing is get a foundation, learning C first will be easily extended to other languages. Ralph |
July 07, 2011 by Hexorg |
Ralph, well actually most windows' GUI can be created with C code, and even pure asm. You don't need any of the classes' abilities of C++ for that, just a few pointers, and arrays (structures). But in general, pure C is better for MCU programming. C++ - for PC, and python is just awesome for everything :D (and easy) |
July 13, 2011 by BobaMosfet |
There is nothing that cannot be done with C and assembler. Why just this morning, I had a union of bacon and eggs over a structure of toast. I was able to use pointers to find a plate for it, and then a ran a subroutine to process it into my own interface. :P BM |
Please log in to post a reply.
Did you know that NerdKits also has extra parts available for its customers? Learn more...
|