Hello, i am wondering if there is a better way to have this same thing happen with out butchering this code:
//Race
cout << "Race choices: human, elf\n";
cout << "Race:...
Type: Posts; User: C++Noobie
Hello, i am wondering if there is a better way to have this same thing happen with out butchering this code:
//Race
cout << "Race choices: human, elf\n";
cout << "Race:...
I am just starting C++ so i do not know very much how ever i hope to acomplish a fairly simple program to learn more about C++. Here is the problem:
#include <cstdlib>
#include <iostream>
...
#include <cstdlib>
#include <iostream>
using namespace std;
//Data Structure
struct enemy{
string name;
int level;
I am having trouble with this part of my program,
the statement seems to be logical but when i compile it will always go to the condition (YOU FAIL) even if i enter "human" as i have below, it never...