My program wont start up because of "end1" (Entirely new to C++ so forgive my simple mistakes)
Program:
1 2 3 4 5 6 7 8 9 10 11 12
//Game Over
// My first program
#include <iostream>
using std::cout;
using std::end1;
int main()
{
cout << "Game Over!" << end1;
return 0;
}
Error:
1 2 3 4 5
1
1> game_over.cpp
1>c:\users\sean\desktop\c++ proj\game_over\game_over\game_over.cpp(6): error C2039: 'end1' : is not a member of 'std'
1>c:\users\sean\desktop\c++ proj\game_over\game_over\game_over.cpp(6): error C2873: 'end1' : symbol cannot be used in a using-declaration
1>c:\users\sean\desktop\c++ proj\game_over\game_over\game_over.cpp(10): error C2065: 'end1' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========