thanks SilentStrike,
I get it now :)...
Type: Posts; User: Jez_Master
thanks SilentStrike,
I get it now :)...
Hi,
Let say I declared something like:
vector<vector<int>> r
How would I set the values for r and display it out to the screen?
Thx
I thought I made this post about 10 minutes ago...I guess I'm drunk....time really flies when you're programming...
Thanks for spending hours to look up that link for me :)
But can someone also...
I get this warning when compiling,...what does it mean?
utils.hh:102:8: warning: extra tokens at end of #endif directive
Also, if a constructor has paramters
apple(int ns, int nc, int nl,...
Undefined first referenced
symbol in file
tree<int>::tree(char *) /var/tmp/ccOMAq9B.o
ld: fatal: Symbol referencing errors. No output...
Can someone please help?
I get this error
Undefined first referenced
symbol in file
tree<int>::tree(int, int, int, int const...
Ok,...I've been trying to figure this out for the past hour..
tree<T>::tree(int nr, int nc, int nl, const T& value)
so this constructor takes an int, int, int , and what?
I've tried...
Yes, it makes sense 85% .. :D thx for the reply..
What does this line do?
back_insert_iterator< vector<T> > di(data[J]); // data iterator
data is declared as:
vector< vector<T> > data;
Thx
Can someone explain to me how microsoft visual c++ handles make file? I remember in unix that "makefile" can be run to create a a.out just by typing "makefile". How can I do something similar in...
Hi,
I know ".o" files are object files..but that's about all I know..
So you can compile a ".cc" file and turn it into a ".o" file? then link a bunch of ".o" files to make a "exe" file?
...
But where do I get the .o files from?
Are you saying that if I create a class, then I would get the .o file form compiling the .cc file. Maybe then I compile a couple more .cc files to get a...
Hi,
Thanks for the reply,
but what if I have something like:
g++ -o a.out source.o source2.o
I'm guessing this would create an executable file call a.out using the two source file...
Hi,
Does anybody know how a gcc compilter work? I've been typing in commands like: (and have no clue what I'm doing)
g++ -c something.cc
gcc -c something.cc
What's the difference above?
...
Yes, those code works...
but my code calls a function in main,..and that's where all the timing problem come into play...
like prelude suggested, using "flush" works like a charm :)
Ah...ok, ... thanks for the reply :)
sorry, i don't know how to search for "\a" on this site...and I've tried testing it out,...it doesn't seem to do anything...
Hi,
I've done some searching on this site on header files but haven't got much luck...
I was wondering how exactly header files work...
Say for example, I want to create a simple header file...
Ok, my bad...I'm relatively new and didn't know I had that options..:D
Search option,..hmm..note to self...
Which function clears the screen? and what header do I have to include?
I know of clrscr(); but I don't know which header to include..
is there any other function besides clrscr()?
One more question if you don't mind :)
Let say you've started a project on "console application",...can you change it to win32 application later on?? Is there any reason why someone would want to...
AH...Prelude's THE MAN!
That flush command was what I was looking for ... :D
Now cout prints to the screen before going to sleep and my problem is solved!
btw,..I have another question...
...
Hay Prelude:
Which Japanese animation is that good looking chic next to your name from? I'm a big fan of Japanimation...my favorite is Rurouni Kenshin..or Sarmuri X (is what they call it in the...
I've tried your code using "console application"...
The problem is still there.....
I don't get the cout "My display is late" until after the Sleep command...hmm..weird huh?
When I run the...
Should I make a console application or a win32 application for the above code??