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...
Type: Posts; User: sirSolarius
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...
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!
Argh!
// Deck.h: interface for the Deck class.
//
//////////////////////////////////////////////////////////////////////
#include "PlayingCard.h"
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...
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 |...
I really don't understand lighting in OpenGL... I set up the following:
//////////////////////////////////////////////////////////////////
////// *LIGHTING* ...
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...
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....
Yup.
/////////////////////////////////////////////////////////////////////
////// CLASSES /////////////////////////...
Sure, thanks!
// amera.h: interface for the Camera class.
//
//////////////////////////////////////////////////////////////////////
#if...
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...
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!
Doesn't seem to work....
int InitGL(GLvoid) // All Setup For OpenGL Goes Here
{
if (!LoadGLTextures()) // Jump To Texture Loading Routine
{
return FALSE; // If...
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...
The code still doesn't work.
#include <fstream.h>
void main()
{
int *current, currenter;
Can't anyone help me?
Ok... but how do I even do that??
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...
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...
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...
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,...
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>
How can I fix that??
Explain why this happens and what I can do, please:
#include <iostream.h>
void main()
{
int junk;
char strSkipped[10], strNext[10];
Ok.
1010
0011
----------
1001
That gives you the original number.
sirSolarius