I saw few treads referring to this subject but I just can't get this working
includs.cpp
#include <iostream>
using namespace std;
main.cpp
#include "includs.cpp"
#include "ispis2.cpp"
int main()
{
ispis();
system("pause");
}
ispis2.cpp
void ispis(){
cout<<"tets file"<<endl;
}
After compiling this I always get the flowing error
error C2065: 'cout' : undeclared identifier
error C2065: 'endl' : undeclared identifier
I anybody knows how to solve the problem I would be very thankful