Learning How to Code Day 3: How C++ Works

in #busy6 years ago (edited)

@tojukaka daily crypto show (2).jpg

Basic Terms: Compilers, Archivers, Linkers, Toolsets and IDE

What is a Toolset


Toolsets are a combination of compilers, linkers, and archives.

What are Compilers


The function of the compilers is to compile. It's really simple. What are the compilers compiling? They are compiling/generating object files from C++ source files. When they generate these files they pass it on to the archivers.

What are Archivers/librarians


The function of the Archivers is to turn object files into archives. Archives are simply a collection of object files grouped together for convenient use. Archives are also known as libraries.

What are Linkers


The function of the Linkers is to Link stuff together to produce an executable library.

Executable library?

There are two types of libraries in this scenario. The shared/dynamic/dynamic link libraries and executable libraries. Shared libraries(dll) are programs that cannot run on their own while executable libraries are programs that can run on their own.

After the object files are grouped to form archives or libraries, they are further categorized or brought together to form an executable library. In the executable library, the symbolic references in the archivers are resolved.


How C++ Works

  • C++ source is compiled using compiler(compilation) to create a machine code version.

  • The machine code version(object file) is linked by a linker(linking) to create an executable(complete machine executable program)


What are they available toolsets and command line tools that we can use to convert sourcr code to executable?

grace.JPG


What is IDE?


IDE means Integrated Development Environment. It provides a graphical user interphase for compiling source files and out put files that can be generated from them. It is a software that brings together the basic tools for developers to create and test software.


Source

Youtube


Noob Coder Series

Day 1

Day 2

This is day 3 of the noob coder series. The noob coder series is a series of C++ tutorials that are created by a noob(my humble self) and are meant for noobs. In this series I try to oversimplify the things I learn from the internet about CC++ and share them as I journey to be a C++ coder. I hope that I can compile these materials(like the compilers, hehehehehe... ) and share them with someone "noober" than I am in the future.

Sort:  

It's a nice one ...

wow you also know how to write program great.

Thanks for throwing more light on Coding.
I never knew much about IDE until you brought it to light here. Thanks.

@tojukaka yes learn fast.. and i wish do something great..

Wonderful noble thought and tutorial on C++

That's so cool that you're learning how to code. Keep up the great work, you got this!

Get Upvotes from 350 members!

Join Our Community now.

What does ypur community has to offer? Just an upvote?

Coin Marketplace

STEEM 0.36
TRX 0.12
JST 0.040
BTC 70846.59
ETH 3567.69
USDT 1.00
SBD 4.79