hello I am getting this strange error
Linking...
Cpp2.obj : error LNK2001: unresolved external symbol "public: bool __thiscall Stack::push(cha r const &)" (?push@Stack@@Q AE_NABD@Z)
Debug/Cpp2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I am not really sure why
My stack.ccp is this
/*************** *************** *************** *************** **************...
User Profile
Collapse
-
simple question!!!
I want to make it so I can keep calling randomnumber() and generate numbers between 0 and 2, but I can only make it so it calls it once then prints the same number 3 times. Any clue on how I can fix my code to keep calling randomnumber() ?
please take a look
class vacuumcleaner
{
public:
vacuumcleaner() ;
void randomnumber(in t *number);
private:
};... -
passing
Hello, I got a main with
void main()
{
int i =0;
int finalarray[30];
inputfile( finalarray, &i);
}
and I want to pass finalarray to class vacuumcleaner, not sure how to do this because I keep getting errors. Wouldn't it be something like.
void main()
{
int i =0;
int finalarray[30];
inputfile( finalarray,... -
also if I use
char line[100];
fgets(line, 100, inFile);
Doesn't this apply only for the first line-
10 20 3 -
-
No another Text File =]
I have a problem, Im reading numbers from a text file like this
10 20 3
x1 y1
x2 y2
and so on, x and y are values and theres no limit but will probably not be more than 5 or so.
What I want to do is fill an array with 10 at the first spot, 20 at the second spot, 3 at the third spot, and so on and disgregard the white spaces and new lines since im reading one character at a time....Last edited by Niheel; Sep 1 '06, 05:16 PM.
No activity results to display
Show More
Leave a comment: