   weird compiler error or my mistake - newbie Q
  i have problem with this code - its doesnt draw the Quad and throws an errorstructTobject// Create A Structure For Our Player{floatx , y;// Current Player Position    intsx,sy;floatrot;// Spin Direction    int texturen;};struct Tobjectplayer;// Player Informationstruct Tobject  enemy[10];.........void DrawQuad(float x,float y,float xx,float yy){  glBegin(GL_QUADS);glTexCoord2f(0.0f, 0.0f); glVertex2f(x,yy);// Bottom Left Of The Texture and QuadglTexCoord2f(1.0f, 0.0f); glVertex2f( xx,yy);// Bottom Right Of The Texture and QuadglTexCoord2f(1.0f, 1.0f); glVertex2f( xx,y);// Top Right Of The Texture and QuadglTexCoord2f(0.0f, 1.0f); glVertex2f(x,y);// Top Left Of The Texture and Quad glEnd();}///// STRUCTURES ---------------------------------------------------------------------------------------------------void ResetObjects(void)// Reset Player And Enemies{player.x=400;// Reset Player X Position To Far Left Of The Screenplayer.y=300;// Reset Player Y Position To The Top Of The Screen    player.sx=128;    player.sy=128;    player.texturen=1;    for (int loop=0;loop<10;loop++)    { enemy[loop].x=rand()%600+200; enemy[loop].x=rand()%500+100; enemy[loop].sx=64; enemy[loop].sy=64; enemy[loop].texturen=1;    }}void DrawObject(Tobject obj){  glEnable(GL_TEXTURE_2D);  glColor3f(1.0f,1.0f,1.0f);// Set Color To Purple  glBindTexture(GL_TEXTURE_2D, texture[obj.texturen]);// Select Our Texutre\  GLfloat x=obj.x;  GLfloat y=obj.y;  GLfloat xx=obj.x+obj.sx;  GLfloat yy=obj.y+obj.sy;  glBegin(GL_QUADS);----------------------------------------------------------------This line is the problem - error = ''x'' undeclared first use this function but the code just aboce i said x = GLfloat-----------------------------------------------------------------glTexCoord2f(0.0f, 0.0f); glVertex2f(x,yy);// Bottom Left Of The Texture and QuadglTexCoord2f(1.0f, 0.0f); glVertex2f(xx,yy);// Bottom Right Of The Texture and QuadglTexCoord2f(1.0f, 1.0f); glVertex2f(xx,y);// Top Right Of The Texture and QuadglTexCoord2f(0.0f, 1.0f); glVertex2f(x,y);// Top Left Of The Texture and Quad glEnd();}///// STRUCTURES ---------------------------------------------------------------------------------------------------int InitGL(GLvoid) { LoadGLTextures(); BuildFont();// Build The Font    glEnable(GL_TEXTURE_2D);// Enable Texture MappingglShadeModel(GL_SMOOTH);// Enable Smooth ShadingglClearColor(0.0f, 0.0f, 0.0f, 0.0f);// Black BackgroundglClearDepth(1.0f);// Depth Buffer SetupglHint(GL_LINE_SMOOTH_HINT, GL_NICEST);// Set Line Antialiasing    glEnable(GL_BLEND);// Enable Blending    glColor4f(1.0f,1.0f,1.0f,1.0f);// Full Brightness, 0 alphaglBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);// Type Of Blending To Use    Resetplayerects();return TRUE;// Initialization Went OK}int DrawGLScene(GLvoid)// Here''s Where We Do All The Drawing{    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);// Clear Screen And Depth BufferglColor3f(1.0f,0.5f,1.0f);// Set Color To PurpleglPrint(5,5,0,"War Planets");// Write GRID CRAZY On The ScreenglColor3f(1.0f,1.0f,0.0f);// Set Color To YellowglPrint(5,40,1,"Level:%2i",level2);// Write Actual Level StatsglPrint(160,40,1,"Stage:%2i",stage);// Write Stage Stats    glLoadIdentity();    DrawQuad(500,500,600,600);    DrawObject(player);    for (int loop = 0;loop<10;loop++)    {    DrawObject(enemy[loop]);    }    DrawQuad(600,500,700,600);return TRUE;} 
  The problem is the backslash at the end of the previous line:glBindTexture(GL_TEXTURE_2D, texture[obj.texturen]); // Select Our Texutre\GLfloat x=obj.x;  A backslash at the end of a line is interpreted as a continuation character, which means that the line has been broken for readability but the next line should actually be considered part of this line.  So the compiler sees:glBindTexture(GL_TEXTURE_2D, texture[obj.texturen]); // Select Our Texutre GLfloat x=obj.x;  Enigma;  thank you - i programmed with Pascal i actually cant really program in C++ i would never have seen that -thanks i was about to kill the CompilerThanks man 