Search:

Type: Posts; User: Bingo The Clown

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,387

    Yes! finally something I can help with. anyways,...

    Yes! finally something I can help with. anyways, return values are up to the programmer to decide what to do with. If you called a function from within another function, you could check the return...
  2. Replies
    3
    Views
    1,705

    ok, this is a simplified version that has the...

    ok, this is a simplified version that has the exact same problem. I included the whole program, which compiles in Visual C++.


    #include <deque>
    #include <iostream>
    #include <fstream>

    class...
  3. Replies
    3
    Views
    1,705

    reading deque from file

    I was trying to write a pretty simple class to a binary file. The class includes a couple integers, some other stuff and a deque. All went well writing and reading the data, but when I added elements...
  4. Replies
    5
    Views
    2,208

    C++ on a Pocket PC?

    One of my friends recently got a Pocket PC and he said that you could upload windows programs strait onto it and they would work (given you have enough storage obviously.) But I was wondering if this...
  5. Replies
    7
    Views
    1,329

    Yes, I don't like the way it indents either. I...

    Yes, I don't like the way it indents either. I ended up switching to a different compiler for that along with other reasons, but it is sort of annoying. Anyways, you get what you pay for.
  6. Replies
    4
    Views
    4,718

    yes, this is where i found the function but i was...

    yes, this is where i found the function but i was confused about what all the parameters should equal and stuff like that
  7. Replies
    4
    Views
    4,718

    help w/ReadConsoleOutputCharacter()

    I am trying to find a way to read a character that has already been displayed on the screen. I found a function called ReadConsoleOutputCharacter. I am pretty sure this is what I want but I wasn't...
  8. Replies
    3
    Views
    1,078

    test if character

    I was wondering if there was a way to test if a key the user pressed is a character.
  9. Thread: macros

    by Bingo The Clown
    Replies
    4
    Views
    1,723

    ok thanks that worked, i didnt finish reading...

    ok thanks that worked, i didnt finish reading your post (not too bright today)
    >Why are you using a macro for this anyway?
    i was trying to think of a simple example as it would be easier to not...
  10. Thread: macros

    by Bingo The Clown
    Replies
    4
    Views
    1,723

    in that case could you tell me what i am doing...

    in that case could you tell me what i am doing wrong here?



    #include <iostream>
    #include <conio.h>
    using namespace std;
    #define something(n) funct()
    void funct(void)
    {
  11. Thread: macros

    by Bingo The Clown
    Replies
    4
    Views
    1,723

    macros

    in this code:


    #define something(n) afunction()

    would it be posssible to use n as an integer in afunction()?
  12. Replies
    95
    Views
    18,903

    Amazing game. mindless shooting+endless...

    Amazing game. mindless shooting+endless mode=extremly addictive. Improving the graphics would be the icing on the cake, so to speak. Nice job.
  13. Replies
    7
    Views
    64,830

    try something along the lines of: for(int...

    try something along the lines of:


    for(int count=0; count<n; count++)
    {
    if (array[count, n]==array[count++, n])
    cout<<"Equal! :)";
    else
    cout<<"Not equal :(";
    }
  14. Replies
    7
    Views
    1,182

    thanks very much for the help :)

    thanks very much for the help :)
  15. Replies
    7
    Views
    1,182

    case/if

    I have noticed that case and if seem to be very similar in c++. I was wondering what the advantages each has over the other. Thanks.
  16. Replies
    12
    Views
    2,092

    you might want to have an opening screen, just so...

    you might want to have an opening screen, just so the user doesn't die right away when the game starts up.
  17. Replies
    3
    Views
    2,491

    could you please direct me to a good tutorial or...

    could you please direct me to a good tutorial or something, or post working code?
  18. Replies
    3
    Views
    2,491

    real time game

    How would I go about creating a real time game in Dev-C++ on Windows XP? I am thinking along the lines of having the user and some other monster be able to move around the board, but without the user...
  19. Thread: Lan

    by Bingo The Clown
    Replies
    3
    Views
    997

    winsock being...?

    winsock being...?
  20. Thread: Lan

    by Bingo The Clown
    Replies
    3
    Views
    997

    Lan

    I was wondering if it would be possible to run a program in DOS on two comps using a LAN. I checked the FAQ, but I couldn't find anything. Sorry if I overlooked it. Both the computers are running...
  21. Replies
    1
    Views
    7,892

    Random maze generator

    I have created a maze program, but i have become too lazy to create more maps for it. (yes, i know. i'm very lazy.) anyway, i was trying to think of ways to make a random map generator. if someone...
  22. Replies
    10
    Views
    2,035

    Just a thought, but could you reasign the long...

    Just a thought, but could you reasign the long double with the newly calculated addition to pie after the previous had been printed on the screen. I'm not completly sure about the decimal place and...
  23. Replies
    7
    Views
    1,248

    If it's an if loop your looking then try changing...

    If it's an if loop your looking then try changing around the code. This is basically just a variation of RoD's code, but here:


    cout << "Enter age: ";
    if(!(cin >> age))
    ...
  24. Thread: Video

    by Bingo The Clown
    Replies
    4
    Views
    1,112

    Video

    I was wondering if there was any way to create a program which took a video of everything that was going on on the screen, or just pictures every certain amount of time. It would be cool if you could...
  25. I did this once for a class I took. You might try...

    I did this once for a class I took. You might try putting it all in a while loop, such as: while (guesses[y] != mynumber)
Results 1 to 25 of 27
Page 1 of 2 1 2