You must thinking of C++ not VC++ if you are looking for a string. CString is just like a string, it has lots of functions associated with it incase you want a number to be changed into a string. CString.Format .....
:-D
DOn't get me if I'm wrong but can't CArrays be sized dynamically and change its size on the fly? For example for a normal array you would have to declare how many elements you want at the start. But Carrays allow you to add elements on the fly, and delete elements on the fly. It resizes to...
also inside your program, inside the main(), your net function should be written as:
net(start,length);
not with the float net(int start....)
You don't need to put the type inside the main function. You put the types in function prototypes.
Isn't your if statement always false?
if start is greater than 1800, than it is not less then 800.
if start is less then 800, then it is not greater than 1800.
(start >= 1800) and (start <= 800) can both never be true together, therefore your if statement is always false
if (start >= 1800...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.