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
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 19
Member Avatar for shuda009

Hi, I'm trying to find a solution to my code and I have general idea what the problem is but I don't know how to solve it please help me. What the code does: What my code does is it should read a dictionary file called dict.txt and store each …

Member Avatar for VernonDozier
0
366
Member Avatar for shuda009

In my previous posts, I asked about how to transform a part of a string into an integer. Narue kindly gave me the answer and I've implemented it into my code. Here is my code: [CODE] int main() { string line; string cmd; while (cmd!="quit") { cout << "Command: " …

Member Avatar for mvmalderen
0
168
Member Avatar for shuda009

Heres a snippet of my code: [code=cplusplus] int main(); { string cmd1; int cmd2; cout << "Command: " << flush; cin >> cmd1; if (cmd1 == "playlist") { cin >> cmd2; if (cmd2==XXXXXX) { cout << "Illegal command: " << cmd1 << endl; } else cmdPlaylist(cmd2); } return 0; } …

Member Avatar for shuda009
0
449
Member Avatar for shuda009

I'm writing a program where I have a variety of input commands. Lets say here are my three commands: info playlist # quit info - gives me information quit - terminates the program The problem: playlist # - The command playlist # means I need to cout a number of …

Member Avatar for jencas
0
97
Member Avatar for shuda009

Hi, I'm new to the C++ community hope you guys can give me some guidance. The program I'm making is suppose to read information from a file called music.txt Inside this file there is information about songs in the following format: Bandname, Songname, Duration of the Song, Here a partial …

Member Avatar for Stinomus
0
1K