m00nbeam360
m00nbeam360

Reputation: 1377

Use "include stdafx.h" when teaching C++ to children?

I'm teaching high school students programming in C++ this summer. I have to teach them material in a week's time. Reading through the tutorial the company gave me, they suggest that I use "include stdafx.h" in the programs right at the get-go.

So do you think

include stdafx.h

is necessary when teaching the basics of programming to kids? If so, why?

Thanks!

Upvotes: 0

Views: 147

Answers (1)

Gabriel
Gabriel

Reputation: 3594

I think it would make things more complicated for them and that they would learn less. When you look at cplusplus.com they never use it. They just need to understand that #include is made to access other libraries. Including them one by one will teach them what each of them does. Open for debate of cours :-)

Upvotes: 2

Related Questions