Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Forums
Favorite Tags
c++ x 5
Member Avatar for roflol

So I'm trying to count the number of lines in a text file. I think I got it working, but it seems I can't do further correct processing on the text file, maybe because getline extracts the data? The operations I want to perform include inputting values read from the …

Member Avatar for vijayan121
0
197
Member Avatar for roflol

Something like this: [code] #include<iostream> using namespace std; // the function below takes an integer and outputs a corresponding letter void convert (int num) { ... } int main { int num; cout << "Enter an integer" << endl; cin >> num; convert (num); system("pause"); return 0; } [/code] E.g. …

Member Avatar for roflol
0
5K