skip to Main Content

In my school, they only teach on Tubro C++. I can program well in the DosBox but I want to develop my own applications, algorithms, etc. The problem is that I don’t know where to start. The spectrum is so broad, I don’t know what gcc or g++ are other than the fact that they are compilers.
I don’t know how to use VS Code (mac) to compile & run. I don’t know anything about the modern C++.
Where should I start?

I wanna do Machine Learning related stuff and GUI.
I actually have a browser based application in mind where I’d be needing Artificial Intelligence, cool GUI, etc.

3

Answers


  1. Since TurboC++ was just a compiler, maybe you’d be happiest just moving into a full blown IDE(Integrated Development Environment)!

    For Mac, I might recommend Eclipse. It’s a very popular IDE and can be used for C++.

    However, you’ll need a compiler. GCC is a good compiler for Mac, but as far as I know you need Apple’s “XCode” IDE to install GCC in the first place. So if you were to go through all of that effort you may just want to stick with XCode.

    You’d need an Apple Developer login, but here’s a tutorial on getting GCC up and running.

    https://www.mkyong.com/mac/how-to-install-gcc-compiler-on-mac-os-x/

    Of course, nothing is keeping you from sleeping around with some new languages, but if you want to stick to C++ I’d say get your compiler, find an IDE you like and get to learning.

    Login or Signup to reply.
  2. That is a very good question. I think these steps would be the easiest for you –

    1. Install Linux on your laptop or use macOS. I say this because you can develop in windows but it would be much easier on Linux or a mac because of the sheer size of the community.
    2. Get familiar with the command line on Linux/macOS. You should try on Ubuntu which is one of the most popular versions of Linux. You must be able to use commands like – ls, cd, pwd. You can find lots of content for this easily.
    3. Get familiar with the vim text editor.
    4. After writing your first HelloWorld program on C++ using vim, you should learn how to use the g++ command to compile and run your code.
    5. After you are familiar with all of the above, to make your work easier you can download and use text editors like Atom or Sublime.

    These were my initial steps in the world of programming. I would also recommend you create an account on Github and browse other open source community projects, also learn git. Lastly explore also other domains and languages like web development, machine learning, python etc. Otherwise, if you are into competitive coding, C++ is indeed an excellent choice. For this, you can visit platforms like CodeChef, Hackerrank, SPOJ etc.

    For tutorials, you can find many sites like Udacity, Coursera, edX. MIT OCW is a popular resource on YouTube for formal courses like Algorithms and Data Structures.

    PS. Do not waste your time learning everything about everything. Instead, you should keep on experimenting and look up on the web whenever some error or a bug pops up.

    Login or Signup to reply.
  3. First of all you need to know How compiler works and the program structure.

    I recomend you an excelent course called “Programming Paradigms“, from Stanford University. You can find it in ITunes University and it is free.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search