So many types...do you use them all???

Hello guys,
I don't know if this is of any importance, but I use CodeBlocks.

Well, I wanted to see how many different types (I dont think you call them types, but as an amateur, i dont know the names yet...) there are in cpp. So I wrote a single dot '.' and waited for the possible options to appear. I did the same thing writing 'cin.'
I discovered that there must be over 500 of these types. Do you use them all?


/*And in case you know CodeBlocks (maybe there isnt any diference to other programming programs), before these types, there are
green dots
green dots in paragraphs
yellow dots
dots(rectangle) with more than one colour
blue dots
blue dots in paragraphs
green rectangle with some other lines */
/// This 2nd Paragraph is mot the main question (I dont even know if it belongs ///is this cpp forum). Just in case someone of you knows codeblocks (maybe an ///example to each of these different 'dots' would help...).
Those aren't just types! There are variables and functions too.
closed account (zb0S216C)
xantavis wrote:
"Do you use them all? "

That depends entirely on the project, and what you need done. There's no point in using std::fstream in a project that doesn't warrant the use of file I/O. The standard types are auxiliary types. In other words, they assist the programmer by pre-defining types to save production time. You don't have to use them:

1
2
3
4
int main()
{
    return(0);
}

This is the simplest form of C++ program you're going to get, and guess what, no libraries, and no types.

Wazzak
Topic archived. No new replies allowed.