Search Results

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Dogtree ; Forum: C++ and child forums
Forum: C++ May 31st, 2005
Replies: 28
Views: 44,078
Posted By Dogtree
>> 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
Posted By Dogtree
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!" <<...
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC