Pages

Monday, November 19, 2012

Getting Started With C and C++


Welcome to this blog which is about C and C++ programming language. This blog will discuss about the popular C and C++ programming language from beginning to professional level. Visiting step by step through this blog, you will able to know how to create professional software with this high-level language. So, no more talking but before starting, you need to be familiar with the background of C and C++ programming language. Below section will show the history and the necessary discussion before starting C and C++ language.

Programming Language 

Language is used to communicate with each other. But programming language is specially used for computer to communicate with its user. As computer understands nothing except 0 and 1, its user should build an instruction set which is combination with 0 and 1 named as machine language. So a compiler is necessary to interpret user’s symbolic word to computer readable instruction set. As a demand, programming language comes out.
From the above discussion, Programming Language is defined as an instruction set, word or code which is readable to the computer and used to solve any practical problem by the computer.

Types of programming language

Programming languages are divided into two types…
  •  Low-level language: This is directly readable by the computer. Such as machine language and assembly language.
  • High-level language: An interpreter is necessary for these languages to translate human readable code to machine readable code. C, C++, lava, C#, Visual Basic etc are the example of high-level language.
  What are C and C++?
  • C which was created by Dennis Ritchie at Bell Laboratories at 1972 is one of the most popular high-level  computer languages. It is treated as a God language of computer programming.
  •  C++, an extension of C, was developed by Bjarne Stroustrup in the early 1980s to overcome the limitation of C. C++ contains all the functionality of C language with some extra features including object-oriented capabilities discussed later in details in this blog. Today, most of the general-purpose operating system like windows is written in C or C++ language.         
Advantages of C and C++ language
  •   Easy to learn than other high-level programming language.
  •    Platform independent language.
  •   Easy to control both hardware and software.
  •     Both modular and object-oriented programming capability.
  •    Operating system programming capability.
  •   Capable of programming both microcontroller and microprocessors.
  •    The best hardware friendly programming language.
  •    More Speedy.
For the above functionalists, C and C++ are the most popular modern language.

Programmer view on C and C++

There are a lot of computer programming languages. All of these, C/C++ provides easy syntax and functionality. So, at the beginning most of the programmers suggest to start with C and C++ programming. I also started my programming concept with this language and it is one of my favorite languages. I think you are lucky if it is your starting point in programming language.   
 
Prerequisites to learn C and C++
  • Educational Quality: No specific certificate is necessary. Anyone who is eligible to read this tutorial is able to learn C and C++.
  •  Operating System Quality: Some basic knowledge about windows operating is suggested but not so necessary for this tutorial. Playing with C and C++ anyone can be familiar with the operating system. 
  • Necessary Software: A C++ compiler and an IDE (Integrated Development Environment) are strongly necessary. There are a lot of IDEs to edit and compile program but among these we will use a Turbo C++ 4.0 for windows operating system. Download Turbo C++ 4.0 or 4.5 and start coding.
Now you are ready to start first program in C and C++ programming. Open your IDE (Turbo C++ 4.0) and create a new file named first.cpp. Every C and C++ should have .cpp extension to indicate that it is a C and C++ file. Do the following code and run the program with Ctrl+F9 key or Run> Run. If everything is OK, you will get the below output.

First program in C and C++

#include<stdio.h>
#include<conio.h>

void main()
{
 clrscr();
 printf("Welcome to C and C++ programming.");
 getch();
}


Program Output




73 comments:

Anonymous said...

This is the right web site for anybody who wants to find out about
this topic. You understand a whole lot its almost hard
to argue with you (not that I actually would want to…HaHa).

You certainly put a fresh spin on a subject which
has been written about for many years. Excellent stuff, just
great!
My webpage - liverpool transfer news 2011

Anonymous said...

I was wondering if you ever thought of changing the structure of your blog?
Its very well written; I love what youve got to say. But maybe you could a little more in the way of
content so people could connect with it better.
Youve got an awful lot of text for only having one or two images.
Maybe you could space it out better?
Also visit my webpage - latest transfer rumours for liverpool

Anonymous said...

Since there is no feelіng іn your day in how tо grοω
tallеr fast sodа rеаlly is determined
tо get them. А well сlеansed and youг body the rеal natuгal
foods contаin сomplex carbοhуdгates is imρortant to test whether how to grow taller fast mаy be familiaг with уour doctor abοut presсrірtion
alternativeѕ. Thus, ωith the hеlp yοu'll need to get the sustenance they need to help yourself to respond to every ethanol administration.

Feel free to visit my web blog: pure green coffee extract
Also see my website: pure green coffee extract

Anonymous said...

Appreciating the hard work you put into your site and
in depth information you offer. It's nice to come across a blog every once in a while that isn't the same outdated rehashed material.
Wonderful read! I've bookmarked your site and I'm adding
your RSS feeds to my Google account.

Check out my web page Safe Diets
my site: healthy diet plan

Anonymous said...

I was wondering if you ever thought of changing the
layout of your site? Its very well written; I love what youve got to say.

But maybe you could a little more in the way of content
so people could connect with it better. Youve got an awful lot of text for only
having 1 or two images. Maybe you could space it out better?



My web page ... sciatic nerve pain relief

Anonymous said...

Hello! I just wanted to ask if you ever have any problems with hackers?
My last blog (wordpress) was hacked and I ended up losing several
weeks of hard work due to no data backup. Do you have any solutions
to stop hackers?

Look into my blog - more info

Anonymous said...

I'm not sure exactly why but this blog is loading extremely slow for me. Is anyone else having this problem or is it a issue on my end? I'll check back later on and see if the problem still exists.


Also visit my blog post: Costing Gauteng

Anonymous said...

Thanks to my father who shared with me on the topic of this blog, this website is really
remarkable.

My web blog: wooden jungle gyms Gauteng

Anonymous said...

Greetings from California! I'm bored at work so I decided to browse your blog on my iphone during lunch break. I enjoy the information you present here and can't wait to take a look when I get home.
I'm shocked at how fast your blog loaded on my cell phone .. I'm not even using WIFI, just 3G .
. Anyways, excellent site!

Check out my weblog ... car valeting Cape Town

Anonymous said...

It's very straightforward to find out any topic on net as compared to textbooks, as I found this piece of writing at this web site.

Feel free to surf to my web-site: spit braai Cape Town

Anonymous said...

Hey there! I realize this is somewhat off-topic however I needed to ask.

Does running a well-established blog such as yours take a large amount of work?

I am brand new to blogging however I do write in my journal on a daily basis.
I'd like to start a blog so I will be able to share my experience and feelings online. Please let me know if you have any kind of suggestions or tips for new aspiring blog owners. Thankyou!

My website - know more

Anonymous said...

What's up, just wanted to say, I enjoyed this post. It was practical. Keep on posting!

Have a look at my page; click here

Anonymous said...

Hello there, just became alert to your blog
through Google, and found that it's really informative. I am gonna watch out for brussels. I'll be grateful
if you continue this in future. Many people will be benefited
from your writing. Cheers!

my webpage website

Anonymous said...

I'm amazed, I have to admit. Rarely do I encounter a blog that's
both equally educative and amusing, and without a doubt,
you have hit the nail on the head. The problem is something too few
people are speaking intelligently about. I am very happy I stumbled
across this during my search for something concerning this.


Also visit my webpage - more info

Anonymous said...

Hi there, its nice article regarding media print,
we all be aware of media is a enormous source of information.


Also visit my web-site; teen life coach in East Rand

Anonymous said...

Hello just wanted to give you a quick heads up. The words in
your post seem to be running off the screen in Safari.

I'm not sure if this is a formatting issue or something to do with web browser compatibility but I figured I'd post
to let you know. The layout look great though! Hope you get the problem resolved soon.

Cheers

Also visit my web site ... Storage Dayton

Anonymous said...

Your style is very unique compared to other folks I've read stuff from. Thanks for posting when you have the opportunity, Guess I'll just bookmark this page.


Have a look at my webpage - golf pants big&tall

Anonymous said...

I have learn some just right stuff here. Certainly value
bookmarking for revisiting. I surprise how a lot attempt
you place to make one of these wonderful informative website.


my webpage; nursing shoes for women

Anonymous said...

Hello! Do you know if they make any plugins to safeguard
against hackers? I'm kinda paranoid about losing everything I've worked hard on.
Any recommendations?

Take a look at my homepage - back pain in children

Anonymous said...

I am now not sure where you're getting your info, but great topic. I must spend some time learning much more or understanding more. Thanks for magnificent info I used to be on the lookout for this information for my mission.

Review my blog post :: broken back culvert table

Anonymous said...

Good information. Lucky me I found your website by chance (stumbleupon).

I have saved it for later!

Feel free to surf to my homepage: Evgeni Malkin Authentic Jersey

Anonymous said...

I hardly create responses, but i did a few searching and wound up here "Getting Started With C and C++".

And I do have 2 questions for you if you do not mind.
Is it just me or does it give the impression like some of the remarks look like written by brain dead visitors?
:-P And, if you are posting on other places, I
would like to keep up with anything new you have to post.
Would you list of the complete urls of all your shared sites like your twitter
feed, Facebook page or linkedin profile?

Here is my web-site :: golf lessons denver for women

Anonymous said...

I do not know if it's just me or if perhaps everybody else encountering problems with your site. It appears like some of the text in your content are running off the screen. Can somebody else please comment and let me know if this is happening to them too? This could be a problem with my internet browser because I've had this happen previously.
Thanks

Feel free to visit my page: Abercrombie & Fitch

Anonymous said...

Today, I went to the beach front with my children. I found a
sea shell and gave it to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She put the shell to her ear and screamed.
There was a hermit crab inside and it pinched her ear. She never wants to go back!
LoL I know this is entirely off topic but I had to tell someone!


Here is my website :: neck spasms exercises

Anonymous said...

Today, wоmеn alѕo haνe fewer ρгegnаnciеs, with the аԁvent of thе
Web 2. Whу should tаkе
Tegreen 97? Other greеn coffее bean eхtгact side effects
try to supрress the aρpetіtе, which results іn obеѕіtу.


Here is mу weblog - Pure Green Coffee Extract

Anonymous said...

Your method of explaining all in this post is really fastidious, all be capable of effortlessly know it, Thanks
a lot.

My blog; calories walking calculator

Anonymous said...

I think that what you posted was actually very logical.
However, consider this, suppose you were to write a
awesome headline? I ain't suggesting your content is not solid., but suppose you added something that grabbed a person's attention?
I mean "Getting Started With C and C++" is kinda boring.
You could peek at Yahoo's front page and watch how they create news headlines to get viewers to click. You might try adding a video or a related picture or two to get people interested about everything've got to say.
In my opinion, it could bring your blog a little bit more interesting.


my web site; lower back pain causes and cures

Anonymous said...

This is a great tip particularly to those new to the blogosphere.
Simple but very accurate information… Many thanks for
sharing this one. A must read article!

Here is my web page: las vegas golf schools

Anonymous said...

hi am all by itself and want a man, if you are fascinated you could
im me on yahoo, my id is jen4rmdblock112 but you've got to tell me how you got my id first, hope to hear from you

my web site :: online Dating websites wikipedia

Anonymous said...

Amazon WordPress Plugin

Here is my web site ... gain muscle lose weight diet plan

Anonymous said...

Do you mind if I quote a couple of your articles as
long as I provide credit and sources back to your webpage?
My blog site is in the exact same area of interest as yours and my
visitors would truly benefit from a lot of the information you provide here.

Please let me know if this alright with you. Regards!


my site golf lessons online

Anonymous said...

Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your
webpage? My blog site is in the exact same area of interest as yours and my users would
truly benefit from some of the information you present here.
Please let me know if this okay with you.
Cheers!

my page: Las Vegas Golf Schools

Anonymous said...

i m seeking girls in uae for discreet relationship

Here is my blog post: how to attract a girl

Anonymous said...

Have you ever thought about including a little bit
more than just your articles? I mean, what you say is valuable and all.
Nevertheless just imagine if you added some great pictures or videos to give
your posts more, "pop"! Your content is excellent but with pics and video clips, this website could definitely be one of the very best in its niche.

Excellent blog!

my web page :: Alton

Anonymous said...

hi am all on your own and want a man, in the event you are intrigued you could
im me on yahoo, my id is jen4rmdblock112 but you might have to tell me the way you
received my id very first, hope to hear from you

Also visit my web site dating tips for shy guys how to start a conversation

Anonymous said...

With Steroids: This can be an excellent workout;
Without Steroids: That is overtraining :)

Here is my web page six pack abs shortcuts download free

Anonymous said...

many thanks to the guidelines, but i'd also prefer to know if strolling for the location of operate can also support in physique bodyweight gain.

my web blog - lose weight then build muscle for women

Anonymous said...

Hello,
My daddy has kidney disease and difficulties with high potassium levels.
He's on medicines. We have been advised Herbalife 1-2-3 with all tablets.Do you think its a good idea to take all this for him as its been an 12 months that his well being is improved a bit.

Check out my website: john berardi precision nutrition pdf

Anonymous said...

Nice response in return of this query with real arguments and telling everything about that.


Check out my blog - rotator cuff injury

Anonymous said...

(1) lift at 90% of one-rep max until failure;

Review my page the six pack shortcuts 3 dvd set free download

sanjay said...

Appreciation for nice Updates, I found something new and folks can get useful info about BEST ONLINE TRAINING

Anonymous said...

around. (i am female) we met and dated briefly.
items did not operate out since he was really insecure right after a even though.
i have a brand new boyfriend now. nonetheless, even soon after this time (about six months) after i open l.

a. craig list web page to sell furnishings, the "men in search of women" link on the front
web page nonetheless is purple in colour. the unclicked links like "jobs" are nonetheless blue.
how am i able to make the truth that i clicked "men in search of women" disappear?
i'd hate for my boyfriend to determine it, furthermore my ex doesn't want me to tell men and women we met on craig checklist.


Feel free to surf to my web blog attract woman

Anonymous said...

Thank you mike. I mean I'm a college student right here in China to visit my relatives for a month and indeed....I was sad that FB doesn't operate here, but GET OVER IT.
It really is only a networking internet site; and in the event you can't network offline, you are in for some severe trouble in reality. Folks, it really is CHINA... get your asses outside and do something, because frankly, everyone else is.

Here is my web-site ... free dating tips

Anonymous said...

Thank you for the good writeup. It in fact was a amusement account it.

Look advanced to more added agreeable from you!
However, how can we communicate?

My page :: upper back and neck pain proper Posture

Anonymous said...

What's up mates, fastidious article and nice arguments commented at this place, I am actually enjoying by these.

Here is my blog: contact

Anonymous said...

Create muscle mass 1st. It raises the amount of calories you burn although resting.
You are going to be able to raise far more fat and for that reason do more operate, which
indicates that if you workout employing heavy weights you'll burn much more calories which unwanted fat will melt off. I realize this simply because I've completed this.

I used to be caught at 165-170 lbs (i'm 5'9), even following a over a
yr on stronglifts. I ultimately attempted GOMAD for three months
and acquired my bodyweight up to 185 lbs. 3 months
off GOMAD now, I'm steady at 182 pounds. I've taken before
and soon after photos, so I know that I only gained
a small amount of fat from the GOMAD bulking and lost all of it now.
But I gained about ten pounds of muscle mass during
that time and acquired my stalled at 225 squat up more than 250 lbs.
Robust!

Feel free to surf to my web site: mike chang monster mass download

Anonymous said...

We absolutely love your blog and find almost all of your post's to be exactly I'm looking for.
Does one offer guest writers to write content
to suit your needs? I wouldn't mind publishing a post or elaborating on some of the subjects you write concerning here. Again, awesome website!

my web site; athletic director job openings

Anonymous said...

This is a topic that's near to my heart... Cheers! Where are your contact details though?

Feel free to visit my web page :: Las Vegas Golf Lessons

Anonymous said...

I am sure this article has touched all the internet
visitors, its really really nice post on building up new webpage.


Review my website street legal golf carts

Anonymous said...

Do you have any video of that? I'd care to find out some additional information.

Feel free to visit my page www.hotfrog.com

Anonymous said...

Paragraph writing is also a fun, if you be acquainted with afterward
you can write or else it is difficult to write.


Here is my site ... becoming a physical Therapist in The military

Anonymous said...

evening so I'm still pretty jetlagged. Tonight I have received some household activities, but I saw an report on Badoo that i actually need to publish on correct

Here is my homepage - facebook dating

Anonymous said...

Good day! This is kind of off topic but I need some
guidance from an established blog. Is it hard to
set up your own blog? I'm not very techincal but I can figure things out pretty quick. I'm thinking about making my own but
I'm not sure where to start. Do you have any tips or suggestions? Thanks

my blog post: knee surgery meniscus

Anonymous said...

I have been exploring for a little for any high quality articles or weblog posts on this kind of space .

Exploring in Yahoo I eventually stumbled upon this site. Studying
this info So i'm happy to express that I have a very good uncanny feeling I found out just what I needed. I most surely will make certain to don?t fail to remember this website and give it a look regularly.

my website; vakantiehuisje frankrijk huren ()

Anonymous said...

It's really a great and helpful piece of info. I'm satisfied that you simply shared this
helpful information with us. Please stay us informed like this.
Thank you for sharing.

Take a look at my website; chiropractic neck adjustments safe

Anonymous said...

Great video clip, I as well am very interested inside the effect of technology
on schooling. Check? out my blog at Binary Chalk

Stop by my web blog - how to attract women through online dating
()

Anonymous said...

Featuring 2 tablespoons a lot more liquid, the outcome is an indoor that have to far bulkier openings.
Straightforward! Believe it or not considering it should be
fresh, new Segment IQ smart methods mustn't your present existing range be like any relic. This Halogen oven regarded as a "newbie" in the realm of cooking.

Feel free to visit my webpage - ultrex commercial convection oven

Anonymous said...

We stumbled over here different web page and thought I should check things
out. I like what I see so now i am following you. Look forward to finding
out about your web page repeatedly.

my website :: Shoulder Pain Causes

Anonymous said...

Howdy, I do believe your site might be having web browser compatibility issues.

When I take a look at your website in Safari,
it looks fine however, if opening in I.E., it's got some overlapping issues. I merely wanted to provide you with a quick heads up! Aside from that, wonderful blog!

Also visit my page; list of florist in singapore

Anonymous said...

It's the best time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you some interesting things or suggestions. Maybe you can write next articles referring to this article. I want to read even more things about it!

My web blog: spinal fusion icd 9 code ()

Engr. Ahsan Arif said...

Its really appreciable blog. Nice and unique program. I have another type of collection . please visit c programming

c programming said...

You are welcome at

www.cprogramming-bd.com

Muhammad Awais Rahman said...

This topic is very help ful but you can find more DEtail from here http://clanguageprogrames.blogspot.com

Anonymous said...

A blog about best programming source code.

http://native-code.blogspot.com

Rahul Sati said...

good intro of C and C++

Saurabh Kusekar said...

Learn Easy C Programming Tutorials.

Tekslate said...

Nice and great blog its Very useful for C++ Beginners.
Thanks

awais kamran said...

You explained really well. thank you for sharing.
C++ tutorial in urdu

John Williams said...

Found your blog. Its really have good information on C++ programming. Really liked it. Thank you for all the information.

Anonymous said...

Its really nice starting about c programming. I have another introducing blog about PHP Programming.

Sahil Bora said...

An excellent introduction on Getting started with C++.

I've started a website to cater for C++ beginners.
http://cppbetterexplained.com/

Peter Carter said...
This comment has been removed by the author.
Jimmy Hazard said...
This comment has been removed by the author.