Pages: [1]   Go Down
Author Topic: Using C++ header files  (Read 33 times)
1 Member and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I am relatively new to the arduino IDE and was wondering if i could use the c++ header files such as iostream fstream etc .
I need to record the analog values on a text file therefore i need fstream .

Please help

Thanks in advance
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 610
Posts: 49037
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
if i could use the c++ header files such as iostream fstream etc .
As soon as you add an operating system and a hard drive, feel free.

Quote
I need to record the analog values on a text file therefore i need fstream .
Where are you going to store this text file?
Logged

Offline Offline
Faraday Member
**
Karma: 91
Posts: 5354
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Take a look at this post (from the beginning)
  http://forum.arduino.cc/index.php?topic=228549.new;topicseen#new   
Logged

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,
DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i would like to store it on my computer
Logged

France
Online Online
Edison Member
*
Karma: 37
Posts: 1005
Scientia potentia est.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Send the analog values by Serial, to a custom program on your computer, that will write those values into a file on your hard drive. If you have Windows on your computer, I recommend that you write the program in C#, much easier and faster to learn, than C++.
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 610
Posts: 49037
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i would like to store it on my computer
You'd have better luck storing it on the moon.
Logged

Pages: [1]   Go Up
Jump to: