INDIA
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« on: December 29, 2012, 11:10:59 pm » |
i have windows 7 OS. i can't run my C++ program using Turbo C++ 3.0 IDE . Is it possible to compile and run my C and C++ program in Arduino IDE software. If possible please help me. Thank you. 
|
|
|
|
|
Logged
|
Reduce Global Warming & Make the world Smiling.. 
|
|
|
|
Indiana, US
Offline
Full Member
Karma: 12
Posts: 161
|
 |
« Reply #1 on: December 29, 2012, 11:17:04 pm » |
Hi RAMAKANTA, Welcome! For new folks such as yourself, you should start with the Arduino IDE software. You can download a Windows version from here: http://arduino.cc/en/Main/SoftwareEnjoy! Pat.
|
|
|
|
|
Logged
|
There are 10 types of people in the world, those that understand binary, and those that don't.
|
|
|
|
INDIA
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #2 on: December 29, 2012, 11:28:20 pm » |
Is it possible Run C++ Program in Arduino 1.0.3 ?? now i am downloading..!!
Thanks.
|
|
|
|
|
Logged
|
Reduce Global Warming & Make the world Smiling.. 
|
|
|
|
Indiana, US
Offline
Full Member
Karma: 12
Posts: 161
|
 |
« Reply #3 on: December 29, 2012, 11:41:31 pm » |
Yes, the Arduino IDE compiles C++ code. In fact a lot of the libraries use C++ classes.
|
|
|
|
|
Logged
|
There are 10 types of people in the world, those that understand binary, and those that don't.
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 35
Posts: 3649
@ssh0le
|
 |
« Reply #4 on: December 30, 2012, 03:38:35 am » |
you know turbo C 3 was a borland language for MSDOS released in 1991 right?
its not going to do squat inside the arduino IDE, wrong compiler, wrong system, wrong architecture
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
Offline
Edison Member
Karma: 16
Posts: 1035
Arduino rocks
|
 |
« Reply #5 on: December 30, 2012, 04:02:54 am » |
The arduino IDE can not generate anything you run on your computer.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 2
Posts: 18
EE hobbyist
|
 |
« Reply #6 on: December 30, 2012, 04:19:22 am » |
Is it possible Run C++ Program in Arduino 1.0.3 ?? now i am downloading..!!
Thanks.
RAMAKANTA, "The Arduino environment is based on Atmel Atmega microcontrollers. The AVR language is a "C" environment for programming Atmel chips. Much of the Arduino language is written with AVR constants and functions and there are many things that are still not easy to accomplish with the Arduino language without using some AVR code." http://playground.arduino.cc/Main/AVRThere is also another forum post at http://arduino.cc/forum/index.php/topic,2249.0.html that answers your question directly. This FAQ about using C++ on the AVR was referenced in that post: http://www.nongnu.org/avr-libc/user-manual/FAQ.html#faq_cplusplus
|
|
|
|
|
Logged
|
|
|
|
|
INDIA
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #7 on: December 30, 2012, 09:06:30 am » |
Hi mbduino , i am not talking only about micro-controller or microprocessor program . i am talking about also general program. like Phonebook for PC Using Memory Access Functions . i have attached the C++ program . is it possible ?? suppose any one learn first time C and C++ program, can that program run in Arduino IDE ???
|
|
|
|
|
Logged
|
Reduce Global Warming & Make the world Smiling.. 
|
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 142
Posts: 19338
I don't think you connected the grounds, Dave.
|
 |
« Reply #9 on: December 30, 2012, 02:54:42 pm » |
is it possible ?? suppose any one learn first time C and C++ program, can that program run in Arduino IDE ??? Nothing "runs" in the Arduino IDE (except, maybe, the AVR C++ compiler). Your PC doesn't have an AVR processor, so anything you compile in the Arduino IDE cannot run on your PC. Is there something wrong with your question mark key?
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Indiana, US
Offline
Full Member
Karma: 12
Posts: 161
|
 |
« Reply #10 on: December 30, 2012, 03:21:06 pm » |
i have windows 7 OS. i can't run my C++ program using Turbo C++ 3.0 IDE . Is it possible to compile and run my C and C++ program in Arduino IDE software. If possible please help me. Thank you.  All- RAMAKANTA is a very new user, and is not familiar with the Arduino or its IDE. As such, he is asking questions that might not make sense to everyone else on this forum. We need to give him some slack and find out what he is really trying to ask. RAMAKANTA- use the Arduino IDE to build your sketches to download to your Arduino. There are a lot of links on this site to read to learn what the IDE can do, including how to write software. If you would like to write software to run on your PC that can talk to your Arduino using a serial connection, I suggest that you download a copy of Processing (processing.org). I believe you will be able to copy/paste many of your existing programs into these environments to reuse some of your existing code. Only when you are proficient with these two, you should try some of the more complex environments. There will be a lot of help here when you get that far, should you have any questions. In the meantime... IDE=Arduino, Processing=PC. Have Fun! Pat.
|
|
|
|
|
Logged
|
There are 10 types of people in the world, those that understand binary, and those that don't.
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 35
Posts: 3649
@ssh0le
|
 |
« Reply #11 on: December 30, 2012, 04:02:27 pm » |
We need to give him some slack and find out what he is really trying to ask. I thought it was pretty clear what he was asking, I was surprised at the instant "yea no problem" answers from people who clearly didn't
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
INDIA
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #12 on: December 31, 2012, 10:17:41 am » |
Means , I required an IDE Like Turbo C++ 3.0 , which i can run my .C & C++ program and generate .exe file. is there any software (IDE ) Like Turbo C++ 3.0 .  Thank you. HAPPY NEW YEAR to ALL
|
|
|
|
|
Logged
|
Reduce Global Warming & Make the world Smiling.. 
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 100
Posts: 9548
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #13 on: December 31, 2012, 11:27:55 am » |
Think the GCC compiler which is used in the Arduino IDE can also be downloaded for Windows - http://gcc.gnu.org/install/binaries.html -
|
|
|
|
|
Logged
|
|
|
|
|
Delfzijl
Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #14 on: December 31, 2012, 11:36:38 am » |
Try this website for a C/C++ (IDE and compiler) http://orwelldevcpp.blogspot.nl/Henk
|
|
|
|
|
Logged
|
|
|
|
|
|