0

How do one start programming C++ in Linux?

I am a student, want to start w9rking with C++ IN linux. Is it better to work on a project? it seems difficult to start with less motivation or a project defined.. Please suggest.

15th Mar 2017, 3:59 AM
DeEp Ganatra
DeEp Ganatra - avatar
2 Answers
+ 1
it is really about motivating yourself and learning . when you learn something use it to make a small program. when you learn cout, use it to post different things and variables. when you learn cin use that to make a user input do something with cout. create some games for yourself as you go. And try to fully understand what you are learning. If you can write a code by memory with what you learned and apply it to what you already know then move on. There are tons of beginning level projects that you can build to get you better and better
15th Mar 2017, 4:21 AM
melsy
+ 1
I feel the first thing to learn with Linux and C++ is the Linux command line. This site http://pages.cs.wisc.edu/~beechung/ref/gcc-intro.html has a tutorial on compiling simple C++ programs directly by calling gcc, the compiler, using the command line. In the long run you just have to get your "hands dirty".
15th Mar 2017, 5:11 AM
WiLY
WiLY - avatar