C: Good Habits re: Transitioning to C++

后端 未结 13 618
梦毁少年i
梦毁少年i 2020-12-13 02:47

I\'ve been learning C at Varsity for just shy of 2months now, and next year we\'ll be moving on to C++.

Are there any habits I should get into with my C programmin

13条回答
  •  独厮守ぢ
    2020-12-13 03:19

    You're shifting to C++ means that you felt you needed classes, or better libraries. Thats what I feel. I am also learning better features of C++, with my C background. Uptil now, I have had a look at vectors mainly [apart from classes and templates].

    I feel the languages are too similiar to

    think of them completely separately.

提交回复
热议问题