| | |
dark GDK
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
i am doing the 'getting started' tutorial that comes with the dark gdk, and i ran into this error:
c:\documents and settings\tom\my documents\visual studio 2008\projects\hello world\hello world\main.cpp(6) : error C2065: '“animatedsprite' : undeclared identifier
heres my code(that i copied from the pdf):
any help?
c:\documents and settings\tom\my documents\visual studio 2008\projects\hello world\hello world\main.cpp(6) : error C2065: '“animatedsprite' : undeclared identifier
heres my code(that i copied from the pdf):
c++ Syntax (Toggle Plain Text)
#include "DarkGDK.h" void DarkGDK ( void ){ dbSyncOn ( ); dbSyncRate ( 60 ); dbCreateAnimatedSprite ( 1, “animatedsprite.png”, 4, 4, 1 ); dbSprite ( 1, 0, 0, 1 ); while ( LoopGDK ( ) ){ dbPlaySprite ( 1, 1, 16, 200 ); dbSync ( ); } return; }
any help?
Last edited by tomtetlaw; Jan 8th, 2009 at 3:26 am.
...
•
•
Join Date: Jan 2009
Posts: 1
Reputation:
Solved Threads: 0
Ahh.... I also had this problem, If you look closely you will see that the quotations are a different style in the PDF so the file animatedsprite.png does not compute, just erase them and retype!
•
•
•
•
i am doing the 'getting started' tutorial that comes with the dark gdk, and i ran into this error:
c:\documents and settings\tom\my documents\visual studio 2008\projects\hello world\hello world\main.cpp(6) : error C2065: '“animatedsprite' : undeclared identifier
heres my code(that i copied from the pdf):
c++ Syntax (Toggle Plain Text)
#include "DarkGDK.h" void DarkGDK ( void ){ dbSyncOn ( ); dbSyncRate ( 60 ); dbCreateAnimatedSprite ( 1, “animatedsprite.png”, 4, 4, 1 ); dbSprite ( 1, 0, 0, 1 ); while ( LoopGDK ( ) ){ dbPlaySprite ( 1, 1, 16, 200 ); dbSync ( ); } return; }
any help?
![]() |
Similar Threads
- Where to put d3dx9.h? (C++)
- Help with C++ and Dark GDK (Game Development)
- Key imput without getch() (C++)
- mmorpg using C++ (C++)
- .NET C++ 3D Games (VB.NET)
Other Threads in the C++ Forum
- Previous Thread: Combinations of 0 and 1 for a given number of digits in C++
- Next Thread: Weird error... Please help
| Thread Tools | Search this Thread |
api array based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





