Forum: C++ Nov 27th, 2007 |
| Replies: 0 Views: 1,914 Hi everyone,
I created a quite complex model in 3d studio max, then I converted it to an .obj file. In 3dsm I put the textures, everything looks fine. Then, when I load the object file it's gray... |
Forum: C++ Jun 16th, 2007 |
| Replies: 20 Views: 1,857 the semicolon after the for statement is a really bad idea. This for will only count up to 5, becouse with the ";" you close the loop statement. On the other hand you should compare the elements of... |
Forum: C++ Jun 15th, 2007 |
| Replies: 3 Views: 706 Sort your vector.
If the input number (assume it is x) is smaller than the 0th element return array[0].
If x>the last element from the vector, return array[last].
Else pass through the... |