Hey I am doing this tutorial for a program for class, I know nothing of C++ so bear with me.
This project is set to create console application.
Here is the code
/* '01 Main.cpp' */
#include <stdafx.h>
main (void)
{
/* Variable declarations*\
unsigned char Age;
long StartEnergy;
char CharacterType;
/* Get the Information *\
std::cout << "What is your Character's Age?: ";
std::cin >> Age;
std::cout << "How much start Energy?: ";
std::cin >> Start Energy;
std::cout << " Character Race?: ";
std::cin >> Character Race;
/*Show the information*\
std::cout << "Your chacter is " << Age << " years old." << std::endl;
std::cout << "Has " << StartEnergy << " of starting energy." << std::endl;
std::cout << "And its race is " << CharacterType << *.* << std::endl;
return 0;
}
Ok now whenever I go to Debug or Run it it just says "filename.exe not found" Well how do I get to preview my little text program? or run it period for that matter.
This project is set to create console application.
Here is the code
/* '01 Main.cpp' */
#include <stdafx.h>
main (void)
{
/* Variable declarations*\
unsigned char Age;
long StartEnergy;
char CharacterType;
/* Get the Information *\
std::cout << "What is your Character's Age?: ";
std::cin >> Age;
std::cout << "How much start Energy?: ";
std::cin >> Start Energy;
std::cout << " Character Race?: ";
std::cin >> Character Race;
/*Show the information*\
std::cout << "Your chacter is " << Age << " years old." << std::endl;
std::cout << "Has " << StartEnergy << " of starting energy." << std::endl;
std::cout << "And its race is " << CharacterType << *.* << std::endl;
return 0;
}
Ok now whenever I go to Debug or Run it it just says "filename.exe not found" Well how do I get to preview my little text program? or run it period for that matter.