Indeed it does work! You are great!
Do you know anything about how I should go about "carrying" from one index to the next? I have it now where the user enters bigNum1, and then enters bigNum2,...
Type: Posts; User: RedZippo
Indeed it does work! You are great!
Do you know anything about how I should go about "carrying" from one index to the next? I have it now where the user enters bigNum1, and then enters bigNum2,...
Thats an interesting idea...but eventually I want to do some math with the numbers (I am working on a big-integer calculator). Can I still perform math on the input, if I use the getline method?
Hi, I am trying to figure out how to write a program that will allow the user to enter as many numbers as they want, and store them in a vector<t>. I am using a FOR () loop to accept the input (since...
I am trying to write a program that reads a text file of which the first line contains the number of rows and columns; and then find the average for each row. I can do it if the array is a fixed...
Hi, I am trying to write some code that will read in an array of test grades and calculate some averages. I thought I was doing fairly well until it came time to actually call the function that reads...
I am trying to learn how to build a class and I am having trouble. My simple program reads in a fraction, and inverts it. I will do much more with it later if I can get past this problem. Currently I...
Hi,
I am having trouble writing code that will read the index of a
value located in another file, that the user is searching for. I have an external file that contains part numbers, along with...
Thank you swoopy and elad. I was able to use input from the both of you and finally overcome this challenge. Thank you very much.
I had another problem in my algorithm, and I am going to mention...
I definately only want to read one line of data, and I want to stop reading at the newline character.
Well that was an important piece of information to know. I need to read the entire line, and I will be happy to pay you on Tuesday for a hamburger today.
I have another question about what I am doing...
inFile >> line;
I am having trouble comprehending what that does. I only put it in my code because the example I am basing my code on...
Thanks, that is something I can work with. But why am I seeking from the beginning each time through the loop? I have no code in my program to tell it to go back to the beginning. How does that work,...
Hello,
I am trying to coerce my program into reading one line of data from a data file. It isn't working very well. What it does do rather well is asks the user what terminal number they want...
Yes, that worked beautifully. Thanks for the explanation of why the way I was doing it would not work. This stuff is starting to make sense.
Now I have just seen something else in this code that...
Hello,
I am just learning how to use the seekg operator. In the code I have written, my intent was to move to the third line of data in an external text file, work with that line of data, and then...
Yes, the VT series, I remember something of those at Boeing. Although many updates later they had changed to nomenclatures that are no longer part of that heritage.
I was thinking terminal was what...
I got a good grin out of it. I've worked with "terminals" several times in my life, when I was in the Marines, I took "terminal" leave, that was the last leave before I got out. At Boeing we had...
Gee, I don't know. But I sure felt silly when I got the answer. I reckon that is ok, if you are ok with it.
Nah, you don't suppose thats what terminal type means, do you?
Can someone give me some examples of computer terminal types? For example, different types of terminals in an office building, or an engineering firm. I am trying to make a realistic data file....
I don't know how to use arrays yet.
Hello,
I am trying to figure out how or what looping method
to use to read multiple data from a file.
The file has several income brackets (A, B, & C), and some ratings for product1 and...
:D Yeah!!! I think I can do this. Thanks a tera-bunch for helping me out.
Fudd's law states: "What goes in must come out." Aside from being patently untrue, Fudd's law neglects to mention that...
Can you give me some direction on how to reset charCount after every '\n'? I'd like to be able to solve this on my own, but I don't have a clue how to do this. It is probably something simple and I...
I apologize alphaoide, the cause of the infinite loop was of my own doing. Now I have a clean compile too! I can see the light at the end of the tunnel. Now I just have to figure out how to implement...