weapon
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
http://irrlicht.sourceforge.net/phpBB2/ ... gun+camera
thanks zeno60
i got a problem with this code
but its says this
------ Build started: Project: Project1, Configuration: Debug Win32 ------
Compiling...
game.cpp
.\game.cpp(89) : error C2065: 'camera' : undeclared identifier
Build log was saved at "file://c:\Documents and Settings\Eigenaar\Bureaublad\Counter strike 9.0 my game\Project1\Debug\BuildLog.htm"
Project1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
i try to change camere to this gunnode->setParent(selector , camera); and more codes , and it keep saying thesame error .
i got a problem with this code
Code: Select all
gunnode->setParent(camera);
------ Build started: Project: Project1, Configuration: Debug Win32 ------
Compiling...
game.cpp
.\game.cpp(89) : error C2065: 'camera' : undeclared identifier
Build log was saved at "file://c:\Documents and Settings\Eigenaar\Bureaublad\Counter strike 9.0 my game\Project1\Debug\BuildLog.htm"
Project1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
i try to change camere to this gunnode->setParent(selector , camera); and more codes , and it keep saying thesame error .
I could easily answer your question in a line, but its not an Irrlicht related error, it is a basic C++ problem you are facing, even one who does "programming in console" should know this error. But I am not because you will simply copy and paste into your code, and be back tommrrow with the same question about another "undeclared identifier."
http://www.cs.umbc.edu/courses/undergra ... rors.shtml
Declared identifier:
Undeclared identifier:
http://www.codersource.net/cpp_tutorial_class.html
http://www.cplusplus.com/doc/tutorial/classes.html
http://www.cs.umbc.edu/courses/undergra ... rors.shtml
Declared identifier:
Code: Select all
MyClassName myClass;
myClass->Begin();
Code: Select all
myClass2->Begin();
// Compiler dosen't know what myClass2 is!!!
//Therefore it does now know from which class to get its Begin() method from
// If I were to say
myClass->Begin(myClass2);
// Still myClass2 is undeclared
http://www.cplusplus.com/doc/tutorial/classes.html
this code is dont giveing me errors but its keep dropping my weapon .
Code: Select all
gunnode->setParent(gunnode);