Forum: C++ Aug 2nd, 2006 |
| Replies: 3 Views: 1,164 AHHHHHHHHHHHHH IT WORKED!!!!!!!!!! Thanks so much, both of you!!! *bows down* |
Forum: C++ Aug 2nd, 2006 |
| Replies: 3 Views: 1,164 So I have this sorting program due and I did it all but there's something crazy happening when I run the program. If I enter a value that's greater than 6400 for the size of my array, the program... |
Forum: C++ Jul 27th, 2006 |
| Replies: 7 Views: 2,788 Wow. I just did something that worked! It was just some code in the .cpp that I was missing out on... Silly rabbit.. |
Forum: C++ Jul 26th, 2006 |
| Replies: 7 Views: 2,788 Could it be my constructor or destructor? |
Forum: C++ Jul 26th, 2006 |
| Replies: 7 Views: 2,788 Wow it sure doesn't crash... All of the code I've been looking at for reference lately has been deleting temp. Ok... so what other problems are there? There's nothing being returned by the... |
Forum: C++ Jul 26th, 2006 |
| Replies: 7 Views: 2,788 Yes, it crashes. By deleting temp, i'm deallocating the pointer that I created because I no longer need it. Its sole purpose is to push a value into the stack so after this value has been pushed... |
Forum: C++ Jul 26th, 2006 |
| Replies: 7 Views: 2,788 I've been trying to fix this code for 2 days now and i still don't understand where the error is coming from.
this is my stackLL.h file
#include<iostream>
using namespace std;
class... |
Forum: C++ Jul 25th, 2006 |
| Replies: 8 Views: 6,768 for the cout statement, i just made an if statement that would output "no match" if the incVar==0. thanks for the help all around :) |
Forum: C++ Jul 25th, 2006 |
| Replies: 8 Views: 6,768 wow that seemed to have worked hehe. thank you so much i appreciate it! |
Forum: C++ Jul 24th, 2006 |
| Replies: 8 Views: 6,768 i get an error that says "left of .find must have class/struct/union...? |
Forum: C++ Jul 24th, 2006 |
| Replies: 8 Views: 6,768 and i tried string already. same error. |
Forum: C++ Jul 24th, 2006 |
| Replies: 8 Views: 6,768 sorry about that. here's the input file.
Joe Smith, 555-324-5532
Mike Newman, 234-234-3686
Jennifer Meadow, 322-342-1252
Jonathan Peters, 383-123-4135
Laura Marino, 123-345-2341
Hanna... |
Forum: C++ Jul 24th, 2006 |
| Replies: 8 Views: 6,768 everything seems to go fine except when i get to the search. either the program runs with a runtime error or it'll just return "NO MATCH". by the way, when i put the if/else statement in the loop, it... |