Skip to main content
gamedev.net
🔒 Locked

Optional Variables...

Started by NetArc Oct 1, 2000 at 9:37 PM 1 replies 200+ views
Original Post
NetArc
NetArc
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
NetArc
NetArc
Cool that seems to work... thx for the help!!




-NetArc
-NetArc

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.