Hello everyone this is my first forum post and i have a question for all of you. I have beenlearning c++ along with flash html and c# for a little over three months now, and i started programming a console rpg and when i go to run it the 48th line comes up as an error saying'Get' undeclared (first use this function)
What exactly is "Get"? Just out of curiosity, though, because it makes no difference.
if() checks a condition. In this case, I'm guessing you want to check whether the return value of "AsyncKeystate(VK_Right)" is 0 (false). I'm not sure where you got the idea to use "Get", but it doesn't mean anything in C++.
Either it's part of the function name (in which case there wouldn't be a space after Get), or it's some keyword of one of the other languages.
Here, you either check a variable (by using "variableName == Value") or the return value of a function ("myFunc() == Value").
when i use this program that you sent me "bluecoder" it highlights #include "stdafx.h"
it says that there is no such file directory which header file should i use in the perameters, or what am i doing wrong