Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

gamechampionx

Help

This topic is 5899 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a question. What is the VB equivalent of switch? On a separate note, using string.h, I have an array of characters set up. It seems that I don''t need an extra character for ''\0''. Is this correct?

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by gamechampionx
On a separate note, using string.h, I have an array of characters set up. It seems that I don''t need an extra character for ''\0''. Is this correct?

No. C-style strings always require null termination.

Can''t help you with the VB switch, though...

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ ]
[ MS RTFM [MSDN] | SGI STL Docs | Boost ]
[ Google! | Asking Smart Questions | Jargon File ]
Thanks to Kylotan for the idea!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!