I am trying to compile spoon from soupgate with no joy
I get the following error
socket.cpp: In member function æint Socket::SendText(char*, u_long)Æ: socket.cpp:300: error: æifstreamÆ was not declared in this scope
I am trying to compile spoon from soupgate with no joy
I get the following error
socket.cpp: In member function ‘int Socket::SendText(char*,
u_long)’: socket.cpp:300: error: ‘ifstream’ was not declared in
this scope
This looks like this code was written in an older "version" of c++.
The easiest way to fix this would be adding the line
using namespace std;
Somewhere after the #include lines
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,048 |
Nodes: | 15 (1 / 14) |
Uptime: | 42:07:17 |
Calls: | 236,048 |
Calls today: | 7 |
Files: | 60,363 |
D/L today: |
12,120 files (2,197M bytes) |
Messages: | 289,491 |
Posted today: | 5 |