libstdc++.c / C++ & Xcode newbie

Anonymous_Lion

Registered
I just upgraded from Panther to Tiger. I am in the very newbie stages of learning both C++ and Xcode. Unfortunately code that worked before I upgraded is no longer working after the upgrade.

The error messages that I get, leaving the code exactly as it was, are:
Code:
Command /usr/bin/gcc-4.0 failed with exit code 1
powerpc-apple-darwin8-gcc-4.0.0: /usr/lib/libstdc++.a: No such file or directory

From some other sources, it looks like I should be removing my
Code:
using namespace std;
line, but when I do that I get the following errors:
Code:
error: 'cout' was not declared in this scope
error: 'cin' was not declared in this scope

Any suggestions?

(Cross posted in the Software Programming forum )
 
Back
Top