No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Im having a hard time figuring out what is wrong with my program. I need to write a program that looks up a phone number in a file containing a list of names and phone numbers. The user is to input the first name and last name to look up, … |
|
Hi got something magical. node3 ( a variable) seems to point itself when i have not mad it so. Please help me understand this behavior. It seem to me like magic. And do provide with if any suggestion to correct the problem. [CODE] #include<iostream> #include<vector> #include<algorithm> #include<string> #include<fstream> using namespace … |
|
Hi I am trying to generated a Huff man code. i am trying to arrange a vector<info> (info is a structure) to get a binary tree. 0. Read a txt file containing about 10 to 20 different symbols.and store it in a vector (vector <info>); 1. First sort the vector … |
|
Re:
Here is an ex of a problem I'm having difficutly with. I need to make up a program that does the following: asks user for the number of seconds and the number of miles traveled program should convert the given number of seonds into different units of time in years/days/hours/minutes/seconds … |
|
|
Re:
I have been writing my program and everything works like it should unless the user inserts a character then the whole thing blows up... how can I fix this. Is there something I can add to block characters from being added? any help would be appreciated! here is my code: … |