z1578264@turing:~/340$ compile.340 prog8
prog8.cc: In function ‘void insert(std::vector<_Tp, std::allocator<_CharT> >&, const T&, P)’:
prog8.cc:60: error: ‘ve’ was not declared in this scope...
Hmm... I got rid of all the errors and warnings and such. I figured out why its saying that command is not found. I forgot to link and create executable file. But now when i try and create the...
I got this assignment for my class. Its to create and write an interactive program to scan and process an input stream of an ordinary text. Then it checks for punctuation marks, and deletes them from...
This function evaluates only postfix expressions and returns the result of the expression. The argument to this function is a string that contains a postfix...
Hey, I'm working on a program for class and I have part one of the assignment written but I'm not quite understanding this expression of infix or postfix.
You think you can show me exactly where i need to change it at?
I'm still a bit confused, and I'm trying to find it in the book but i just don't get...
The segmentation error i believe is coming from the insert method, but i dont see anything wrong with it. A segmentation fault is only from a ptr being wrong or trying to access node when it is not...
I ran the debugger, it is showing that its coming from my insert method but i dont see how. The ptr is right. The only thing that causes a segmentation error is when you try to access node when you...
This program is running and compiles, and prints out the information but its getting a segmentation fault somewhere in the program, i believe its in the insort1 and insort 2 but i'm not sure.