thanks citizen!
Type: Posts; User: c89c
thanks citizen!
This is as the post implies a guess the number game. it's small, neat, and strangely addictive.
O.S: xp sp2
IDE: dev-c++
graphics: none, ms-dos
libraries: cstdlib, iostream
description:...
I was wondering how to use a vector in a function in the following form.
batt::additem( vector <int> inv, int id );
Is that correct or will it raise errors?
I don't know if this is included in the your hand and community hand information, but if not, it would be nice to know suit for some of the higher hands which require spcific suits
didn't notice he had 1000+ posts when i answered.
But doesn't const in front of a function mean constructor?
The compiler is what turns your code into a program.
And I didn't know that dev-c++ uses mingw. which port is it? Win32? I'll go download it and try.
probaly, you seem mad and i didn't mean that dev-c++ is bad, i've considered using it a lot of times, however mingw just seems to work better for me ( that and it's specifically ported for win32 so i...
I think the poker would be fun, that's simple and complex at the same time.
here's a hint, 29 is the decimal form of the octal number 35
isn't that anoying? if what you're trying to do is output a number in textual form, There is no function in c++ for that, sorry. if you want to convert a number to the octal form, then create a...
that didn't work? maybe it's a dev-c++ problem because there's certainly nothing wrong with that. I ran with my compiler ( i use the win32 port of mingw ) and it worked fine. I would suggest...
it usually means you have a variable of some data type in your function that's either extra, the wrong type as defined in your declaration, or that doesn't contain the information you promised the...
no, thank you both
yeah, just take the number of numbers you have and a decimal place to it to the left.
tried there, all they have is the sdk for the next generation of windows
okay, after reading the code for 15 mins ( p.s. use more comments ) i have figured out why .erase and .size will not work. Simply, inventorylist doesn't contain anything, because vector...
I agree, if you really had 200+ errors, you'd do better to start over, however your program is fixable from what I saw ( I still recommend starting over ).
well, for one iItem.getquantity() doesn't exist as a funtion. iItem.<insert function> doesn't exist, because iItem doesn't exist ( that and the fact that in your declaration of the functions...
I'm starting into windows api programming and am looking for a good api help file for all the functions, anyone know of one?
Thanks!
by the way, is the cell 0,0 going to be in the middle, top left, bottom right, top right, or bottom right?
/by the way, i'm a new member so you'll hear more and more from me. so consider this...
No. You see, the puzzle maker must follow the same rules that the player has to follow. If the maker can shuffle a piece and move it to the far right corner by switching it with the piece currently...