u/GenericFunnyName - Archived Voat Post in v/programming
u/GenericFunnyName
  • home
  • search

u/GenericFunnyName

0 posts · 1 comment · 1 total

Active in: v/programming (1)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: 0 experience, getting into C++, really just not understanding why you'd want/need to use void

In my experience (next to none), you use void in cases like a menu function. You output to the screen a menu and it doesn't need to send anything back to the main function.

There's other similar cases but generally what I've seen is that it's just when you hav a function that doesn't need to send anything back to the main.

0 09 Jun 2016 23:25 u/GenericFunnyName in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.