Message from C, C++ talks

June 2019

— /rules

— Click on the button to see the chat rules!

— User KANISHK has 1/3 warnings; be careful!
The latest warn was because:
book request

— #ide


Results of a poll ran by a fellow group member :

— Is it okay to put all #include's in .h file and then just include .h file in implementation file (.cpp)??

Message permanent page

— I hope the question is understandable

— I think that is what you do when you have main,h and all the include files are called in that.

— That is a normal way to write a program that even the main program should have .h file.

— Normally people don't do it these days but that is how it should work.

— /ide

— Why?🙄

— Because they write small program in C/C++ now a days.

— So it doesn't make sense to have a seperate .h file for main.

— You mean students?🤔