Forum: C Sep 25th, 2005 |
| Replies: 2 Views: 2,598 |
Forum: C++ Sep 21st, 2005 |
| Replies: 9 Views: 2,047 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,952 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,952 lol there is no bug dave. its a feature! |
Forum: C++ Sep 13th, 2005 |
| Replies: 7 Views: 2,952 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,427 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,427 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... |
Forum: C Jul 30th, 2005 |
| Replies: 6 Views: 1,521 Smells like homework so post your best effort and we'll help ya fix it. |