Search:

Type: Posts; User: Psycho

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,611

    Allright thank you both :) As for newbie, I'm...

    Allright thank you both :)

    As for newbie, I'm only one in the area of pointers. I know how to pass arrays to functions, just not how to do it when the width is undetermined. :)

    Well I'll try...
  2. Replies
    3
    Views
    1,611

    Thanks for the help Salem :) Would there be a...

    Thanks for the help Salem :)

    Would there be a way to do the function parameter say if the program didn't know the dimensions of the multi-dimensional array? So that you could maybe pass:
    MyType*...
  3. Replies
    3
    Views
    1,611

    passing 2D array of ptrs as parameter

    OK, say I have this


    #include <iostream>
    #include <string>
    using namespace std;

    struct MyType
    {
    double x;
  4. Thread: struct question

    by Psycho
    Replies
    2
    Views
    853

    ohhhh thanks again -Psycho

    ohhhh

    thanks again
    -Psycho
  5. Thread: struct question

    by Psycho
    Replies
    2
    Views
    853

    struct question

    One quick question... probably easy, I'm just a little confused.



    struct sword_class
    {
    char name[15];
    int damage;
    int price;
    };
  6. Replies
    3
    Views
    1,077

    I got it to work finally. Thanks Magos. :) I...

    I got it to work finally. Thanks Magos. :)

    I wasn't getting any errors, the program just wasn't working the way I wanted it to. The constructor is called whenever you create a variable using...
  7. Replies
    3
    Views
    1,077

    movement question

    I'm making the class or whatever that will let the computer tell where the player is at according to an array. How could I have the program test for the characters within the array and do things...
  8. Replies
    3
    Views
    859

    Sorry to bug you guys again, but I'm getting an...

    Sorry to bug you guys again, but I'm getting an error at random times when inputting values in my linked list

    ERROR:
    Run-Time Check Failure #3 - The variable 'previousNode' is being used without...
  9. Replies
    3
    Views
    859

    woo! it works, thanks :) it gets annoying when...

    woo! it works, thanks :)

    it gets annoying when I mess a little thing up like that and I spend so much time on something that's so simple.
  10. Replies
    3
    Views
    859

    Linked list problem

    I'm having a little problem with my linked list. What am I doing wrong?

    Here's the source


    #include <string>
    #include <iostream>
    using namespace std;

    class Inventory
  11. Replies
    4
    Views
    1,403

    Thanks

    Thanks for your help everyone. I finally got it last night.



    #include <iostream>
    #include <iomanip>
    using namespace std;

    int * MinMaxAve(int values[], int size);
  12. Replies
    4
    Views
    1,403

    recursion project

    I found this random project on the net to test my understanding of recursion... I've been working on it for a long time, still can't get it to work.

    Min/Max/Avg
    Create a program that will take...
Results 1 to 12 of 12