Search:

Type: Posts; User: YevGenius

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    8,459

    Any Good Data Structures Books?

    Hi,
    I am a computer science major student. I have just finished my data structures class but feel I did not learn anything from the book my professor made us use. It was Data Structures and...
  2. Please HELP!!!

    Please, somebody help me. I am really desperate here!!

    Yev
  3. The code still gives error!

    Hi,
    Thank you for your posts. The code "thefroggy" gave by making the unary negation operator as an exception fails to work and still presents the same runtime problem that stack around the variable...
  4. Still seeking help!

    Hi,
    The loop breaks when the operator stack is [ or ( . The code to break out is in the while loop.

    My question is should I be sending a pointer to the number stack in my negate() function?
    ...
  5. problem with stacks!

    Hello,
    Thank you for opening the post. I am trying to implement a unary negation operator function to use in my program that uses 2 stacks: a number and operator stack. I get a runtime error in...
  6. Replies
    4
    Views
    2,775

    doubly linked list problem

    Hi, I am experiencing a runtime error with a function of my program that tries to output a doubly linked list backwards. I am not sure where the problem originates, but the debug shows a runtime...
  7. Replies
    5
    Views
    1,120

    Question on your code

    Hi,
    Thanks a lot for the help. It does work now, but I have a question. The if statement if (n) is what solved it, but I am not sure why this works.

    When it fails to find another value in the...
  8. Replies
    4
    Views
    16,030

    Hi, I am not an expert on this, but I had a...

    Hi,
    I am not an expert on this, but I had a problem with this in the past. I know the main difference between getche() and getchar() is that with getche() you don't need to press Enter after...
  9. Replies
    5
    Views
    1,120

    Need Help on Linked List Prog!

    Hello,
    Thank you for taking the time to read this. I am writing a function that will replace a user-entered value in a list. It will replace every single instance of that value with a new value. My...
  10. Replies
    8
    Views
    4,754

    No errors with malloc or realloc...just garbage values outputted

    Hi again,
    To the person that told me to check that I don't get a NULL in a pointer after malloc or realloc, I checked it and it did not give me any problems. So, I am still stuck. I continue...
  11. Replies
    8
    Views
    4,754

    What makes you think this is a C++ program?

    Hi,
    I don't understand. I think I have written everything according to C standards. Is it the cin and couts that make you think this is a C++ program? Can you please tell me why you can't tell if...
  12. Replies
    8
    Views
    4,754

    Need help on malloc and realloc

    Hello,
    I am a C newbie working on a program using malloc and realloc functions. The problem is after compiling and running the program, the output of the array is garbage values. I would really...
  13. Replies
    3
    Views
    1,460

    Corrected program, would this be wrong?

    Hello,
    This is original thread starter, Yevmaster, just using my registered name. I've corrected my program without using
    compound interest formula you guys have suggested.

    I have altered the...
  14. Replies
    6
    Views
    3,133

    Fixed my problem

    Well, thank you guys for your suggestions. I fixed my problem by getting rid of member function compute_avg(). Instead, I created a get_age() member function. So, I keep a running total of the age in...
  15. Replies
    6
    Views
    3,133

    Seeking Help on my 1st C++ class program!

    Hi,
    First of all, thank you for opening this post. This is my first C++ program with classes, and I've ran into some trouble.

    I am writing program using a class that stores first name, last...
  16. Still unable to get to work!

    Hi,
    I have tried creating a method to check if a number exists in an array but still I am not getting the proper solutions. If someone could please write me that method, I would really appreciate...
  17. Need immmediate help with program (basic C++ stuff)

    Hello,
    I've writing a function to find the three largest integers in a 3rd dimensional array which has #0 to 9 stored exclusively. However, I keep getting the same highest # (usually 9) stored in...
Results 1 to 17 of 17