compilation of any program in computer language

Spread the love

Actually computer is a dumb machine. It doesn’t know anything except 0,1.when we made a program we actually make software. A nd that is our exe file after compilation with a long process.

you think that gives output in a fraction of second but it comes after four major steps that we will discuss in this blog for you.

Did you notice when you make a program it has also a filename.exe file. Computer can read the exe file only. it doesn’t have a knowledge about the filename.cpp and filename.obj file.

So in that case we need the compiler to to make a program executable.

Execution of a program involves  4 steps using the compiling tool, these tools are also  set of programs which helps to complete the program executable.

There are 4 basic steps of compilations:

  1. preprocessor
  2. compiler
  3. linker
  4. loader

program

 

1.preprocessor:It process the program before compilation what preprocessor do that the library files what we attached with the code reads those library by #.

2.compiler:  after preprocessing the source  code, it pass the program to the compiler to check the errors in the program and create an object file of this program.

3.linker:In this stage linker links with the other object files or libraries and it generate the executable file.

4.Loader: it load the executable file into main memory and helps the compiler to run the program.

 

you can use many compiler like VS CODE,CODE BLOCKS and so many but they process with the same algorithm of compilation.so before start you programming journey have a look how a compiler compile a program.

and after that before dive in to programming first check out the libraries depending upon the languages.

everyone ask what programming we should learn first?

i recommended you as a guider that any programming you can choose if you are run out from syntax then you can choose python and if you are not aware of syntax and all then you should start  c,c++ because c++ gives you lots of things the barriers of c has executed by c++ the cons has reduce and make it more fruitful to use the concepts of object oriented (oops) gives you c++.

 if you think c++ is the first who comes up with the oops concept then you are wrong first oops concepts programming is simula67 .

thanks for your valuable time get in touch we will come up with soem new facts and  old concepts in a new way.

you can check the latest techgig code contest just click the link

facebook page link:

https://www.facebook.com/lastminutetechnology

32 thoughts on “compilation of any program in computer language”

  1. Hi there! Do you know if they make any plugins to assist with
    Search Engine Optimization? I’m trying to get my blog to rank for some
    targeted keywords but I’m not seeing very good results.
    If you know of any please share. Many thanks!

    Reply
  2. What’s Taking place i’m new to this, I stumbled upon this I’ve found It positively helpful and
    it has helped me out loads. I’m hoping to give a contribution & aid other users like its aided me.
    Good job.

    Reply
  3. Ⲩo᧐u really makke it seem so eɑsy with your presentation but I
    find tiѕ topic to be really something which I think
    I would never understand. It seems too complex and eхtremelʏ bгoɑd forr me.

    I am looking forward for your next pⲟst, I’ll try to geet the hang of it!

    Reply
  4. It’s a pity you don’t haνe a donatе button! I’d most certainly donate to tһis excellent blog!
    I guess for noѡ і’ll settle for bookmarking and adding your RSS feed
    to my Google account. I lo᧐k forward to fresh updates and will share thuis blog with my Faceb᧐ok group.
    Chaat soon!

    Reply
  5. I’m not sure wherе you’re getting your infoгmation, but good topic.
    I neefs to spend some time learning more or understanding more.
    Thanks for magnificent infoгmatiօn I wass looking for this info
    for my mіssion.

    Reply
  6. I do not even know how I ended up here, but I thought this post was great.
    I do not know who you are but definitely you’re going to a famous blogger if you aren’t already 😉 Cheers!

    Reply
  7. Purely to follow up on the up-date of this topic on your
    website and would really want to let you know simply how
    much I appreciated the time you took to produce this valuable
    post. In the post, you actually spoke on how to truly handle
    this challenge with all convenience. It would be my personal pleasure to get
    some more ideas from your website and come up to offer some others what
    I have benefited from you. Thank you for your usual excellent effort.

    my web page Keto Premium One Shot

    Reply
  8. Having read this I believed it was rather enlightening.
    I appreciate you spending some time and energy
    to put this article together. I once again find myself personally spending way too
    much time both reading and commenting. But so what, it was still worth it!

    Also visit my web site; Pellamore

    Reply
  9. I’m impressed, I have to admit. Seldom do I encounter a blog that’s both equally educative and entertaining,
    and let me tell you, you’ve hit the nail on the head.
    The issue is something which not enough people are speaking intelligently about.
    I’m very happy that I came across this during my search for something
    regarding this.

    Feel free to visit my website :: Gold Leaf CBD Gummies Reviews

    Reply
  10. I’m extremely impressed along with your writing skills and also with the layout to your blog.
    Is this a paid subject or did you modify it yourself? Anyway stay up the nice quality writing, it is uncommon to peer
    a nice weblog like this one nowadays.

    Feel free to surf to my web blog; fles.hlc.edu.tw

    Reply
  11. My brother suggested I would possibly like this web site.
    He was totally right. This publish actually made my day. You can not
    consider simply how so much time I had spent for this information! Thank you!

    Reply

Leave a Comment