Search:

Type: Posts; User: shane1985

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,208

    Whoa my bad. haha I figured out the...

    Whoa my bad. haha

    I figured out the problem.............user error

    Unfortunely that problem is all too common
  2. Replies
    1
    Views
    1,208

    Linux vs PC Problem

    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...
  3. Replies
    5
    Views
    3,402

    Wow, thank you so much. I never would have...

    Wow, thank you so much.

    I never would have figured that one out.

    Thanks man

    -Shane
  4. Replies
    5
    Views
    3,402

    I already know when the error occurs - the error...

    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...
  5. Replies
    5
    Views
    3,402

    Stack Calculator Error

    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.
    ...
  6. Replies
    11
    Views
    1,025

    So as long as they have different parameters, you...

    So as long as they have different parameters, you can do it?
  7. Replies
    11
    Views
    1,025

    Two + operators

    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!
  8. Replies
    7
    Views
    4,129

    Alright how about this. How do you calculate...

    Alright how about this.

    How do you calculate worst case performance for a given function?

    ;)
  9. Replies
    7
    Views
    4,129

    Alright, this one is really stumping me What...

    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...
  10. Replies
    7
    Views
    4,129

    Alright, I have another one that I'm kinda stuck...

    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...
  11. Replies
    7
    Views
    4,129

    Class Questions

    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...
  12. Thread: WriteFile()

    by shane1985
    Replies
    6
    Views
    9,435

    Alright, I think I understand a little better -...

    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?
  13. Thread: WriteFile()

    by shane1985
    Replies
    6
    Views
    9,435

    WriteFile()

    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...
  14. Thread: Getch() echo

    by shane1985
    Replies
    1
    Views
    2,186

    Getch() echo

    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...
Results 1 to 14 of 14