Jump to content

I'm a amateur programmer. I know my way around VBA, javascript, HTML and CSS. But now I need to learn C++ for work (programmings not really my field... I'm a biochemist and need to program an automated instrument).

Could you please suggest the following:

1. online/offline tutorial (keep in mind i'm not a complete idiot -  but haven't learned a code that first needs to be compiled)

2. a compiler/debugger

TIA

Link to comment
https://linustechtips.com/topic/925829-c-training-writing-and-compiler/
Share on other sites

Link to post
Share on other sites

 

That's a good way to get started, as for a compiler - if you're on linux you can just use g++, which is preinstalled in most systems, otherwise something like qt creator should work.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to post
Share on other sites

An online tutorial, with a personal practicing application, that would be 'Codeblocks'

On Codeblocks, you can put your programming skills to the test.

It has a visual output same as the CMD.

And for the compiler, in this program, go for 'GNU/GCC Compiler, it will work well, if not the best!

 

***And when you think you're ready for applying your program to some hardware, then use 'Arduino', it is an IDE, and is a software that supports a motherboard from the company which is programmed from a Computer and later connected to hardware through header pins.***

 

-Basil

Link to post
Share on other sites

Clion for ide, gcc for compiler(mingw if on windows), cmake for build tool, qt5 in the rare case you need a gui.

 

Edit: for tutorial... are you more of a visual learner or a reader?

 

paying $20 for a textbook on amazon is the most comprehensive option. Googling YouTube videos and stackoverflows are the alternative quick solution for those lacking patience and wish to learn just enough to get the job done.

Sudo make me a sandwich 

Link to post
Share on other sites

If you’re working on Windows then download Visual Studio Communit Edition and use that (it comes with Microsofts mscv compiler).

 

On Linux I recommend clang instead of GCC. It has more sanitizers then GCC + it comes with clang-format and clang-tidy.

Also it’s easier to update then GCC because GCC comes bundled with your linux distro (so it is only updated when the distro is updated).

Desktop: Intel i9-10850K (R9 3900X died 😢 )| MSI Z490 Tomahawk | RTX 2080 (borrowed from work) - MSI GTX 1080 | 64GB 3600MHz CL16 memory | Corsair H100i (NF-F12 fans) | Samsung 970 EVO 512GB | Intel 665p 2TB | Samsung 830 256GB| 3TB HDD | Corsair 450D | Corsair RM550x | MG279Q

Laptop: Surface Pro 7 (i5, 16GB RAM, 256GB SSD)

Console: PlayStation 4 Pro

Link to post
Share on other sites

3 hours ago, mathijs727 said:

If you’re working on Windows then download Visual Studio Communit Edition and use that (it comes with Microsofts mscv compiler).

 

On Linux I recommend clang instead of GCC. It has more sanitizers then GCC + it comes with clang-format and clang-tidy.

Also it’s easier to update then GCC because GCC comes bundled with your linux distro (so it is only updated when the distro is updated).

You can update GCC out of band quite easily.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×