Search:

Type: Posts; User: sirSolarius

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    2,856

    Huge problems in Winsock recv!

    Alright, I'm trying to use the OSCAR protocol to connect to AIM. I've never done any networking before, so I'm encountering lots of problems with Winsock.

    First, check out how a FLAP and a TLV...
  2. Replies
    5
    Views
    1,397

    Ahh, I fixed it... I defined the string.h twice...

    Ahh, I fixed it... I defined the string.h twice within my code, and when I deleted one declaration, everything worked.

    Thanks for the help, though!
  3. Replies
    5
    Views
    1,397

    Argh! // Deck.h: interface for the Deck...

    Argh!



    // Deck.h: interface for the Deck class.
    //
    //////////////////////////////////////////////////////////////////////

    #include "PlayingCard.h"
  4. Replies
    5
    Views
    1,397

    String problems

    Ok, so I'm making this BlackJack game, and it uses strings, and when I use a "cout << stringGoesHere" I get the following error:



    Linking...
    BJMain.obj : error LNK2001: unresolved external...
  5. Replies
    0
    Views
    1,909

    OpenGL selection?

    My selection code isn't working =(. Could anyone have a look at it?



    int DrawGLScene(GLvoid) // Here's Where We Do All The Drawing
    {

    glClear(GL_COLOR_BUFFER_BIT |...
  6. Replies
    0
    Views
    2,365

    OpenGL lighting problems

    I really don't understand lighting in OpenGL... I set up the following:


    //////////////////////////////////////////////////////////////////
    ////// *LIGHTING* ...
  7. Replies
    9
    Views
    1,905

    Oooooooooh. Sorry! #include...

    Oooooooooh. Sorry!



    #include <windows.h> // Header File For Windows
    #include <stdio.h> // Header File For Standard Input/Output
    #include <gl\gl.h> // Header File For The OpenGL32...
  8. Replies
    9
    Views
    1,905

    I'm confused... which function? All I did was...

    I'm confused... which function?

    All I did was write a Camera class with some basic methods, and then I tried to make the pointer. I don't have anything in my code about it, which I assume is bad....
  9. Replies
    9
    Views
    1,905

    Yup. ...

    Yup.


    /////////////////////////////////////////////////////////////////////
    ////// CLASSES /////////////////////////...
  10. Replies
    9
    Views
    1,905

    Sure, thanks! // amera.h: interface for...

    Sure, thanks!



    // amera.h: interface for the Camera class.
    //
    //////////////////////////////////////////////////////////////////////

    #if...
  11. Replies
    9
    Views
    1,905

    Pointers to classes

    Ok, so I have a class "Camera" in my program. I want to be able to swap cameras, and thus have the move function act on a pointer to the current camera. So I did this:


    Camera cam;
    Camera...
  12. Replies
    5
    Views
    1,298

    Sorry, I'm not sure that I understand how this...

    Sorry, I'm not sure that I understand how this works. Could you explain it to me or give me some pseudo-code to work off of?

    Thanks so much!
  13. Replies
    5
    Views
    1,298

    Doesn't seem to work.... int...

    Doesn't seem to work....


    int InitGL(GLvoid) // All Setup For OpenGL Goes Here
    {
    if (!LoadGLTextures()) // Jump To Texture Loading Routine
    {
    return FALSE; // If...
  14. Replies
    5
    Views
    1,298

    Mouse moving

    Ok, I have this game, and I want the camera to be controlled by the mouse. The problem is that the cursor can only move so far... and when it hits the end of the screen, the user can't turn any...
  15. Replies
    11
    Views
    2,166

    The code still doesn't work. #include...

    The code still doesn't work.



    #include <fstream.h>


    void main()
    {
    int *current, currenter;
  16. Replies
    11
    Views
    2,166

    Can't anyone help me?

    Can't anyone help me?
  17. Replies
    11
    Views
    2,166

    Ok... but how do I even do that??

    Ok... but how do I even do that??
  18. Replies
    11
    Views
    2,166

    Ok, here's what I'm saying: Everything should...

    Ok, here's what I'm saying:

    Everything should be appended to the end of the file, so when I make a new entry, it goes onto the end of the file.

    Example: (the desired file follows)


    3
    Entry...
  19. Replies
    11
    Views
    2,166

    File I/O question... please help!

    Please help me with the following code!! I want to have a file that contains a list of recipes, with the first line of the file being the number of recipes. To test out the file IO code, I wrote up...
  20. Replies
    1
    Views
    1,395

    Writing to a file and not overwriting it

    Hey guys, I'm trying to make a file that records a bunch of data in a file.

    Well, I want the first line to be the number of entries, and then the entries follow right afterwords.

    The problem is...
  21. Replies
    6
    Views
    2,316

    Ok guys, thanks for the tips! I changed main to...

    Ok guys, thanks for the tips! I changed main to an int, and I retitled the #include statements...

    I'm still getting these weird errors, though... and I know that I shouldn't post so much code,...
  22. Replies
    6
    Views
    2,316

    Weird errors in code

    Hey guys, I don't really understand the errors I'm geting... can anyone help??




    Here is the code itself:


    #include <string.h>
    #include <iostream.h>
  23. Replies
    3
    Views
    920

    How can I fix that??

    How can I fix that??
  24. Replies
    3
    Views
    920

    Skipping input...

    Explain why this happens and what I can do, please:


    #include <iostream.h>

    void main()
    {
    int junk;
    char strSkipped[10], strNext[10];
  25. Replies
    7
    Views
    2,071

    Ok. 1010 0011 ---------- 1001 That gives...

    Ok.

    1010
    0011
    ----------
    1001

    That gives you the original number.

    sirSolarius
Results 1 to 25 of 27
Page 1 of 2 1 2