March 3rd, 2013, 05:10 PM
It's written in this form. Just the value and then hitting enter to the next line.
15
2.34
2.43
2.30
2.29
2.41
2.42
2.33
March 3rd, 2013, 04:57 PM
Hey it worked. I found the setting exclude from project and it builds just fine. I mean the program doesn't actually work but at least it runs. Haha. I think the numbers from the text file aren't...
March 3rd, 2013, 02:19 PM
Thanks everyone who didn't just yell at me for formatting. I'm sure once I become better at programming those things will come a little more natural. I'll try those recommendations tonight....
March 3rd, 2013, 07:05 AM
Okay, you're coming off kind of aggressive...Or maybe I'm getting the wrong impression.
As I said, this is literally my first class in programming. I've never done it before. I just can't figure...
March 3rd, 2013, 05:56 AM
Sorry about that!!! I'll try it here. Ummm. No I don't think I compile the .txt file. It's just saved in the folder and then called upon in the coding.
#include <iostream>
#include <fstream>...
March 3rd, 2013, 04:51 AM
1>------ Build started: Project: Lab 5, Configuration: Debug Win32 ------
1> data.txt
1>c:\users\anthony\documents\visual studio 2010\projects\lab 5\lab 5\data.txt(1): error C2059: syntax error :...