Search:

Type: Posts; User: ay_okay

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    6,828

    wrong message board, try windows programming or...

    wrong message board, try windows programming or game programming
  2. Replies
    6
    Views
    1,435

    you got there before me :(

    you got there before me :(
  3. Replies
    6
    Views
    1,435

    if you want to edit the variables in main...

    if you want to edit the variables in main directly from a function, then include them in the functions argument and add a & infront of them


    int Runme(&y, &z);

    I'm not sure if you need to...
  4. Thread: Cin.get()

    by ay_okay
    Replies
    4
    Views
    922

    Your cin.ignore() worked, but first I had to...

    Your cin.ignore() worked, but first I had to switch cin>> with cin.getline() because it missed the spaces and skipped the cin.get(). Thanks for the help!!! :)
  5. Replies
    2
    Views
    724

    Your return 0; should be after the bracket and...

    Your return 0; should be after the bracket and then add one after return 0; like this:


    else;
    if (test == true)
    out.close();
    else
    in.close();
  6. Thread: Cin.get()

    by ay_okay
    Replies
    4
    Views
    922

    Cin.get()

    In my program, I have a cout statement I want peopl to be able to rea, so I use cin.get() to pause. For some reason, it skips that and ends. I think its my cpu speed or keyboard I unno. Can someone...
  7. Replies
    4
    Views
    2,103

    for finding the size of a char, include the...

    for finding the size of a char, include the string.h or cstring lib and use the function:


    int strlen(const char *string);

    example


    char string[30] = "Hello World";
    cout<<"The char is...
  8. Thread: n00b problems

    by ay_okay
    Replies
    2
    Views
    1,064

    Alright, I corrected your code and I will explain...

    Alright, I corrected your code and I will explain what I did.


    #include <iostream>
    #include <fstream> //<----why are you using this? Its only for reading
    using...
  9. Replies
    5
    Views
    908

    Thanks Daved it worked with the file_op.ignore()...

    Thanks Daved it worked with the file_op.ignore() and the while loop also improved my program. :) By the way, elad, what you say is true. I've done that so many times, but I didn't include it in the...
  10. Thread: Switch Case

    by ay_okay
    Replies
    3
    Views
    857

    For a text based game, I don't think you can...

    For a text based game, I don't think you can really use a different method. Sorry.
  11. Replies
    5
    Views
    908

    I don't get what you're trying to say. I edited...

    I don't get what you're trying to say. I edited my post, doesn't work. Any oher suggestions?
  12. Replies
    5
    Views
    908

    File i/o problems

    guys, can you tell me whats wrong with this code. I included everything, no compiler errors but I need to read the number, then the phrases underneath it. look at my code and the contents of my file....
  13. Replies
    3
    Views
    2,131

    Thanks that should do it. But could you send me a...

    Thanks that should do it. But could you send me a link to a tutorial that explains linked lists well(not the one on this site) that would be really nice:)
  14. Replies
    3
    Views
    2,131

    OpenGL Textures and TGAs

    Hello, I am a newbie at OpenGL, as you will probably figure out yourself once you read my question. I am reading a book called "Beginning OpenGL Game Programming" and it is pretty useful, but I don't...
  15. Replies
    5
    Views
    2,859

    Thanks guys, I'll try the commands at...

    Thanks guys, I'll try the commands at initialization. I'm not at my computer right now but I'll post back if it works or not.
  16. Replies
    5
    Views
    2,859

    glPushMatrix(); ...

    glPushMatrix();


    glColor3f(1.0f, 0.0f, 0.0f);
    glBegin(GL_TRIANGLE_STRIP); //back
    glVertex3f(-1.0f,...
  17. Replies
    5
    Views
    2,859

    OpenGL cube's faces mess up

    Can someone give me the code that draws a cube in OpenGL with each face a different colour because I did it with rectangles not polygons and the faces go through each other. Thanks alot!
  18. Replies
    10
    Views
    1,752

    I managed to get it working, except for one...

    I managed to get it working, except for one thing. I used my xp to logon to the 2000 comp and it asked for user name and pass. There is no pass so i entered the user name that i use on the 2000 comp...
  19. Replies
    10
    Views
    1,752

    Setting up a home network

    I've been to many sites but haven't found an answer. I have 3 computers connected to a router and all are connected to the net. I want to be able to see files on the other computers. I dont want one...
  20. Thread: char trouble

    by ay_okay
    Replies
    3
    Views
    861

    Thanks a lot, I had a lot of trouble with that...

    Thanks a lot, I had a lot of trouble with that before too.
  21. Thread: char trouble

    by ay_okay
    Replies
    3
    Views
    861

    char trouble

    I don't know whats wrong. I'm trying to use a vairable of type char and I can't assign anything to it. Heres my code:


    struct SUIT_ID
    {
    char number[20];
    char suit[20];
    };
    ...
  22. Replies
    17
    Views
    3,428

    Thanks for trying and for poking fun. I found out...

    Thanks for trying and for poking fun. I found out how to do it. I have a western digital HDD, and I heard rumors that it doesn't like being on the same IDE tape as another drive. So I put my CD_ROM...
  23. Replies
    17
    Views
    3,428

    alright, I'm letting it go, I just started it now...

    alright, I'm letting it go, I just started it now at(the time this was posted).
  24. Replies
    17
    Views
    3,428

    I guess no one can help then.

    I guess no one can help then.
  25. Replies
    17
    Views
    3,428

    When I don't press anything, the system reboots,...

    When I don't press anything, the system reboots, and the second time, it just clears the screen and all I can see is a blinking cursor in the top left corner. So I wait for half an hour and nothing...
Results 1 to 25 of 70
Page 1 of 3 1 2 3