Type: Posts; User: taymaxi
Search took 0.02 seconds.
November 11th, 2012, 01:51 AM
I'm not sure what I was messing up, but I finally got it to work with this:
using namespace std;
November 10th, 2012, 03:02 AM
Oh, okay, I realized my issue is that I was entering a two word phrase and it was only searching for the first word. How can I get it to accept the space character and search for phrases as well? I...
November 9th, 2012, 12:29 PM
I used this, but it still prints the entire file, not just the line where the text is found
November 9th, 2012, 11:44 AM
Okay...I looked up what npos is and I'm not totally sure how to use it. Sorry if this is really basic, but we haven't covered that yet and I'm having a hard time understanding how exactly to use it.
November 8th, 2012, 11:07 PM
I'm in a beginner C++ course, and have gotten stuck on an assignment I've been given. This is the part I'm having trouble with right now:
The program then asks the user for a search string, which...
October 27th, 2012, 03:38 AM
Ahh, thank you! I actually saw a line in the instructions that specified this, and made the change myself along with a few other things, but didn't realize this was what made the difference. Thanks,...
October 26th, 2012, 05:17 PM
Okay...to be honest, I'm not really sure what most of that means. Based on what you said, I made some changes so now the class definition reads:
October 26th, 2012, 03:38 PM
I have an assignment which includes overriding the prefix and postfix operators, and my teacher has provided what the output from the program should be. I've written the code and it's nearly...
October 10th, 2012, 03:47 AM
That error in my code was a mistype which somehow didn't register when I was looking it over. I understand that it's supposed to compare to next[r][c], not next[ROWS][COLUMNS]. As...
October 9th, 2012, 11:12 PM
Hi, I'm fairly new to programming and have been given this assignment:
My teacher gave us the main function and the function called neighbors, but we need to write the other functions listed in...
September 26th, 2012, 09:45 AM
This is a homework assignment, I'm supposed to be writing the code myself. I'm fairly new to all this. How do I overload the == operator for PhoneEntry?
September 25th, 2012, 10:16 AM
I'm trying to do a binary search on a vector of strings and keep getting this error. I just can't for the life of me figure out what is wrong, so if anyone could help me out that'd be really...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.