Search Results

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Stoned_coder ; Forum: C++ and child forums
Forum: C++ Sep 21st, 2005
Replies: 9
Views: 2,039
Posted By Stoned_coder
your probably overstepping the bounds of an array somewhere. Other than that its hard to say without seeing code. we are not psychics.
Forum: C++ Sep 14th, 2005
Replies: 7
Views: 2,910
Posted By Stoned_coder
ok might be a bug. somethings trampling on your vector. Set a watch on the vectors first few elements and single step thru your code in a debugger. watch for the point where the trampling occurs and...
Forum: C++ Sep 13th, 2005
Replies: 7
Views: 2,910
Posted By Stoned_coder
lol there is no bug dave. its a feature!
Forum: C++ Sep 13th, 2005
Replies: 7
Views: 2,910
Posted By Stoned_coder
read this all should become clearer (http://www.informit.com/guides/content.asp?g=cplusplus&seqNum=205&rl=1)
Forum: C++ Aug 26th, 2005
Replies: 48
Views: 10,327
Posted By Stoned_coder
i'll remind you of the func I was commenting on...

template<class T>
swapm(T &a,T &b)
{
a = a + b;
b = a - b;
a = a - b;
};
Forum: C++ Aug 26th, 2005
Replies: 48
Views: 10,327
Posted By Stoned_coder
no it doesnt work you disregard any overflow errors. That to me makes it superflawed!

That was aimed at ancient dragon on his template swop two numbers function.The perils of replying before...
Showing results 1 to 6 of 6

 


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

©2003 - 2009 DaniWeb® LLC