OK, I used to use and teach g++ a lot. In the last 2 years or so, I've switched to java. So, I guess I'm out of the loop when is comes to any g++ standards changes now a days. KNOPPIX has GNU GCC which includes g++ and using this I can write/compile/execute a standard helloworld.cc like:
However, on some distros lately I find that neither this program, nor anything else based on iostream, will compile correctly! Case in point, BCCD. Now, the author of that distro says that iostream and a number of other classes are depreicated but he still included all the *.h files in /include/c++/backward. So, I tried g++ -o helloworld helloword.cc -I/include/c++/backward to no avail. I also tried #include "/include/c++/backward/iostream.h" wothout any joy.Code://helloworld.cc MrG 2005.0609 //compile: g++ -o helloworld helloworld.cc #include <iostream> #include <string> using namespace std; int main() { string n; cout << "What's your name? "; cin >> n; cout << "Hi, " << n << ", how about a nice game of chess?" << endl; return 0; }
Anyone out there familiar with this problem know how to get around it?
TIA,
AJG

Polycom VVX 411 12-Lines Desktop VoIP Phone (2200-48450-025)
$20.00
NEW Cisco IP Phone 7841-K9 4-Line VoIP Gigabit PoE CP-7841-K9
$49.95
Lot of 35 Polycom VVX 300 & VVX400 IP Phones
$150.00
CyberData 011233C Sip VoIP Paging Adapter
$100.00
Yealink T54W IP Phone, 16 VoIP Accounts. 4.3-Inch Color Display - Black
$99.95
Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)
$17.99
Cisco / Linksys SPA2102 VoIP 2FXS Phone Adapter with Router (unlocked)
$18.99
Cisco CP-8861-K9 8861 VoIP IP Corded Phone Charcoal New 9 available
$118.00
YEALINK T34W PHONE & 2 MONTHS OF PHONE SERVICE
$65.00
Grandstream WP810 Portable Cordless Wi-Fi IP Phone
$54.99