SHORT C++ Tutorial Pt1: The Basics
SilentShadowBla (543)

This may be a little confusing for some people...

Short Tutorial on the [The Basics] of C++.

Hope you enjoy!
FULLSCREEN HERE

You are viewing a single comment. View All
CSharpIsGud (595)

there are generally only 2 types of functions, 'void' and 'int'

Adding on to @DynamicSquid 's comment
Functions can have many return types. you have things like std::string, std::map instances of your own classes and many many many more from the standard libraries.

DynamicSquid (3608)

@CSharpIsGud But she was referring to the main ones.

anotherthel (0)

@DynamicSquid well you could say that bool and float and double are "main ones".

DynamicSquid (3608)

@anotherthel well sure. I guess it varies though between people and what you do

anotherthel (0)

@Highwayman well u could say the only main one is the one u actually need, which yes, is int

anotherthel (0)

@Highwayman i meant main by included so like bool float whatever

Highwayman (1358)

@anotherthel ik I was just joking around :P

CSharpIsGud (595)

@anotherthel you need every primitive type