Forum: C++ May 31st, 2005 |
| Replies: 28 Views: 44,149 >> 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,284 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!" <<... |
Forum: C May 18th, 2005 |
| Replies: 3 Views: 2,115 It depends on the compiler. Generally the files will be compiled in the order that they're listed when the compiler is run.
>>And what's the one declaration rule?
One "definition" rule. It means... |
Forum: Computer Science May 16th, 2005 |
| Replies: 6 Views: 2,952 I'm sorry you feel that way. You can go elsewhere and you probably won't be missed. To answer your increasingly rude question, I would probably use a combination of Visual Basic for the user... |