Whoa my bad. haha
I figured out the problem.............user error
Unfortunely that problem is all too common
Type: Posts; User: shane1985
Whoa my bad. haha
I figured out the problem.............user error
Unfortunely that problem is all too common
This program works fine on my pc.
The problem is that when I run it remotely on a linux based machine, and I loop back to enter another expression, on the third expression, it ignores the first...
Wow, thank you so much.
I never would have figured that one out.
Thanks man
-Shane
I already know when the error occurs - the error is when it tries to pop something from the stack when there is nothing there.
And this happens because when it tests the while loop in the read and...
Hello, I am having a problem with the attached code.
The problem is with the main loop; the calculator works once for any expression, but when it is looped back, there is a segmentation fault.
...
So as long as they have different parameters, you can do it?
Okay, I'm writing a class, and I want to know how I can have two different + operators in the class.
Is it even possible to do this?
Thanks!
Alright how about this.
How do you calculate worst case performance for a given function?
;)
Alright, this one is really stumping me
What is the usual worst-case performance for resizing a container class that stores its data in a dynamic array?
A. Constant Time
B. Logarithmic Time...
Alright, I have another one that I'm kinda stuck on
Which situation does not use the copy constructor?
A. Calling a function with a reference parameter
B. Calling a function with a value...
I have a simple question from a class of mine on dynamic arrays.
When allocating an array of objects, what constructor is used to initialize all of the objects in the array?
A. The automatic...
Alright, I think I understand a little better - how do I output just an integer from the array. Do I always need to make it into a string before I can output it?
I'm just starting to learn file I/O in Windows Programming, and I'm not sure how to use the WriteFile() function. For example, I have a 8x8 square matrix that I want to output to a file, but am...
Hello, I wrote a program that uses many getches to receive user input, and it works fine on my computer. But the problem is that when someone else tries it, the getch seems to echo the input at the...