TIP: Click on subject to list as thread! ANSI
echo: linux_bbs
to: Wilfred van Velzen
from: Sean Rima
date: 2009-07-29 15:55:10
subject: Compiling Spoon from soupgate

Hello Wilfred.

28 Jul 09 22:25, you wrote to me:

 SR>> I am trying to compile spoon from soupgate with no joy

 SR>> I get the following error

 SR>> socket.cpp: In member function ‘int Socket::SendText(char*,
 SR>> u_long)’: socket.cpp:300: error: ‘ifstream’ was not declared in
 SR>> this scope

 WV> This looks like this code was written in an older "version" of c++.

 WV> The easiest way to fix this would be adding the line

 WV>   using namespace std;

 WV> Somewhere after the #include lines

Indeed it was, Written many a moon ago. Done that and I have a compiled copy, thanks


Sean

--- GoldED+/LNX 1.1.5
* Origin: bbs.srima.ie binkP only (2:263/950)
SEEN-BY: 10/1 3 11/201 203 331 14/250 34/999 120/228 123/500 128/2 187 140/1
SEEN-BY: 222/2 226/0 236/150 249/303 250/306 261/20 38 100 1381 1404 1406 1410
SEEN-BY: 261/1418 266/1413 280/1027 320/119 393/68 396/45 633/104 260 267 285
SEEN-BY: 640/954 712/0 313 848 800/432 801/161 189 2320/100 105 200 5030/1256
@PATH: 263/950 222/2 261/38 633/260 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.