No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have a text file with a few cars brands and some information for the cars. I want the cars together with the information for the cars to be sorted in alfabetic order. Anyone can help me to get this working? This is my code: [CODE] #include<fstream> #include<iostream> #include<string> #include<conio.h> … |
|
I'm working with a program where the user adds a few names together with the age. After this the program will write out the content of the text file. I'm having problems seperating the names and age into different variables. I want the program to put word nr1 in char … |
|
Im trying to learn working with text files and I been able to make a program adding text to a text file. However I have no clue how to make it so I'm able to add numbers to the text file. I want the program first ask for the name … |