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...
Type: Posts; User: Psycho
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...
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*...
OK, say I have this
#include <iostream>
#include <string>
using namespace std;
struct MyType
{
double x;
ohhhh
thanks again
-Psycho
One quick question... probably easy, I'm just a little confused.
struct sword_class
{
char name[15];
int damage;
int price;
};
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...
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...
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...
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.
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
Thanks for your help everyone. I finally got it last night.
#include <iostream>
#include <iomanip>
using namespace std;
int * MinMaxAve(int values[], int size);
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...