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,030 |
Nodes: | 17 (0 / 17) |
Uptime: | 24:09:44 |
Calls: | 504,506 |
Calls today: | 18 |
Files: | 138,786 |
D/L today: |
18,804 files (2,480M bytes) |
Messages: | 448,109 |
Posted today: | 5 |