nothing wrong with that right? look at the errors i get:Code:/* Quest Open RPG
* Ryan Oldenburg
* Completion: 15%
* Version 1.0
*/
#include <windows.h>
#include <iostream>
#include <string>
#include "class.h"
using namespace std;
using std::string;
//Constructor
player::player(int healthv,
int weaponv,
int shieldv,
int arrowsv,
int magicv,
int bombsv,
int goldv,
int bowv) : health(healthv),
weapon(weaponv),
shield(shieldv),
arrows(arrowsv),
magic(magicv),
bombs(bombsv),
gold(goldv),
bow(bowv)
{
}
//Acual Program
int main()
{
//Location Variables
int x;
int y;
//Introduction
string title = "Quest Open RPG";
for(int a = 0; title[a] != '\0'; a++)
{
cout << title[a];
Sleep(50);
}
return 0;
}
Linker Error unidentified refrence to 'cout'
Linker Error unidentified refrence to 'ostream::operator<<(char)'
Linker Error unidentified refrence to 'endl(ostream&)'
Linker Error unidentified refrence to 'cerr'
Linker Error unidentified refrence to 'ostream::operator<<(char const *);
Linker Error unidentified refrence to '__out_of_range(char const *)'
Linker Error unidentified refrence to '__length_error(char const *)'
Build Error Project.exe Error 1
but i dont get any when i remove windows.h from the include and remove Sleep(50); ..... what the hell is goin on?! :) thanx