.h HELP dont get it
im tring use heather file (.h ) and all that stuff but i get an error i dont get how if some one know how to help me PLZ so here whats going on:
p.s this is smal example im trying to figure it out im using code::block btw
in my main.cpp fille i got
/////////////////////////////////////////////////////////////////////////////////////////
///////////Archer.h////////////////in the heather(.h) i got/////////////////
///////////////////////////////////////////
////////////////////////////////////////
you guys can help me out plz i know this is stupid but i dont get it i folowed guide and all no? the error im geting is
C:\Users\Sawm\Desktop\code block\guess my number\Fucking fail\main.cpp|4|error: expected unqualified-id before "using"|
||=== Build finished: 1 errors, 0 warnings ==
im geting mad i cant quit this is my dream stil i suck at it
p.s this is smal example im trying to figure it out im using code::block btw
in my main.cpp fille i got
/////////////////////////////////////////////////////////////////////////////////////////
Code:
#include <iostream>
#include "Archer.h"
using namespace std;
int main()
{
Archer ONE;
return 0;
}
///////////Archer.h////////////////in the heather(.h) i got/////////////////
Code:
#ifndef ARCHER_H_INCLUDED
#define ARCHER_H_INCLUDED
class Archer
{
public:
void StartingStats()
{
Health = 100;
}
private:
int Health;
}
#endif // ARCHER_H_INCLUDED
////////////////////////////////////////you guys can help me out plz i know this is stupid but i dont get it i folowed guide and all no? the error im geting is
C:\Users\Sawm\Desktop\code block\guess my number\Fucking fail\main.cpp|4|error: expected unqualified-id before "using"|
||=== Build finished: 1 errors, 0 warnings ==

im geting mad i cant quit this is my dream stil i suck at it



.