Optional Variables...
Im not sure if thats what it is but.... what im looking for is something similiar to VB...
Where you had a sub for vb:
Sub TestSub( Integer X, Integer Y, Optional Integer Z = 0 )
How do you get the optional for c++?
Void TestSub( int x, int y, ???? );
any help?
-NetArc
-NetArc
Have you tried
void TestSub(int x, int y, int z = 0);
Steve 'Sly' Williams
Tools Developer
Krome Studios
void TestSub(int x, int y, int z = 0);
Steve 'Sly' Williams
Tools Developer
Krome Studios
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement