🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
.cpp scripts?
Is there anyway I can set up a game so that it will transfer execution to an interpreter that will execute C++ code in a .cpp file?
basically, is there anyway I can hard code my game scripts in C++ without having to compile them (so that I can change them very easily)?
... no? hardcode without compiling, that just doesn''t make sense. use javascript its almost exactly c++.
but if i use javascript, i still need an interpreter, right?
so why can''t i just use c++ and find a c++ interpreter that I could use? the question is where do i get the c++ interpreter (like a lite version).... unless i am missing the point entirely... you do need still need an interpreter for javascript, right?<br><br>this is the only part of my project that i''m still unsure of how to approach
so why can''t i just use c++ and find a c++ interpreter that I could use? the question is where do i get the c++ interpreter (like a lite version).... unless i am missing the point entirely... you do need still need an interpreter for javascript, right?<br><br>this is the only part of my project that i''m still unsure of how to approach
Either way ou''d need to add an interpeter to you project. There is a C(++?) interpeter, although I don''t have a link. Try googling for it.
Heh, I checked.. amazing type "C++ interpreter" in google top two links are the two different C++ interpreters I was thinking of..
http://root.cern.ch/root/Cint.html
and
http://www.softintegration.com/
I believe Cint might be more along the lines of what your looking for though.
Heh, I checked.. amazing type "C++ interpreter" in google top two links are the two different C++ interpreters I was thinking of..
http://root.cern.ch/root/Cint.html
and
http://www.softintegration.com/
I believe Cint might be more along the lines of what your looking for though.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement