Search:

Type: Posts; User: c89c

Search: Search took 0.01 seconds.

  1. Thread: Vector Functions

    by c89c
    Replies
    3
    Views
    1,191

    thanks citizen!

    thanks citizen!
  2. Replies
    132
    Views
    730,668

    Sticky: Guess the Number!

    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:...
  3. Thread: Vector Functions

    by c89c
    Replies
    3
    Views
    1,191

    Vector Functions

    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?
  4. Replies
    93
    Views
    21,873

    suit?

    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
  5. Replies
    31
    Views
    3,531

    didn't notice he had 1000+ posts when i answered.

    didn't notice he had 1000+ posts when i answered.
  6. Replies
    7
    Views
    1,396

    But doesn't const in front of a function mean...

    But doesn't const in front of a function mean constructor?
  7. Replies
    31
    Views
    3,531

    The compiler is what turns your code into a...

    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.
  8. Replies
    31
    Views
    3,531

    probaly, you seem mad and i didn't mean that...

    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...
  9. Replies
    93
    Views
    21,873

    I think the poker would be fun, that's simple and...

    I think the poker would be fun, that's simple and complex at the same time.
  10. Replies
    24
    Views
    2,630

    here's a hint, 29 is the decimal form of the...

    here's a hint, 29 is the decimal form of the octal number 35
  11. Replies
    24
    Views
    2,630

    good luck

    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...
  12. Replies
    31
    Views
    3,531

    that didn't work? maybe it's a dev-c++ problem...

    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...
  13. Replies
    10
    Views
    3,863

    it usually means you have a variable of some data...

    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...
  14. Replies
    4
    Views
    1,084

    no, thank you both

    no, thank you both
  15. Replies
    18
    Views
    2,957

    yeah, just take the number of numbers you have...

    yeah, just take the number of numbers you have and a decimal place to it to the left.
  16. Replies
    4
    Views
    1,084

    tried there, all they have is the sdk for the...

    tried there, all they have is the sdk for the next generation of windows
  17. Replies
    10
    Views
    3,863

    about .erase and .size

    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...
  18. Replies
    10
    Views
    3,863

    I agree, if you really had 200+ errors, you'd do...

    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 ).
  19. Replies
    10
    Views
    3,863

    well, for one iItem.getquantity() doesn't exist...

    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...
  20. Replies
    4
    Views
    1,084

    Windows Api/sdk help file

    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!
  21. Replies
    93
    Views
    21,873

    about the contest.

    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...
  22. Replies
    93
    Views
    21,873

    the slider puzzle

    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...
Results 1 to 22 of 22