Forum: C++ May 31st, 2005 |
| Replies: 28 Views: 44,078 >> I guess this would be helpful
No, not a bit. Your code is wrong.
>> for (n=0;inp[n];n++)
Assuming that n was defined somewhere, the test for imp[n] against 0 is dngerous because imp is... |
Forum: C++ May 19th, 2005 |
| Replies: 54 Views: 77,123 Koenig Lookup
There are three ways to use a name nested in a namespace. Making the namespace open to the current scope with a using directive:
using namespace std;
cout << "Hello world!" <<... |