what is the equivalent of the Vb With statement in Turbo C++?
Printable View
what is the equivalent of the Vb With statement in Turbo C++?
Turbo C++ is not a language, C++ is the language, Turbo C++ is the compiler. But i dont know VB so i have no idea what the eqiuvlent would be. Describe what the function does.
There is no equivalent. C++ does not allow you to shorten the names in that way. Chimp, it does this:
Code:Type X
Y as integer
z as integer
end type
sub main()
dim myself as x
with myself
.y = 6
end with
x.z = 7
end sub