Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 07-17-2011, 05:20 PM   #1
Solid State Member
 
Join Date: Jul 2011
Posts: 6
Default Basic C++ tutorials.

The following information was found from:
What is Programming? Free online C++ / C Programming Tutorial for the beginner learner / programmer / developer! PICKaTUTORIAL.COM

If you'd like to continue to follow the tutorial, you can visit it. I am in no way affiliated with them.


An intro into the theory of C++


Formally: "A program is a precise sequence of steps to solve a particular problem."
At its most basic level, programming a computer simply means telling it what to do. Without these instructions or programs computers are merely dumb machines. Computers are incredibly stupid. They do exactly what we tell them to do: no more, no less-- unlike human beings. Computers can't think by themselves. In this sense, they differ from human beings. For example, if someone asks you, “What is the time?”, “Time please?” or just, “Time?” you understand anyway that he is asking the time but computer is different. Instructions to the computer should be explicitly stated. Computer will tell you the time only if you ask it in the way you have programmed it. When you're programming, it helps to be able to "think'' as stupidly as the computer does, so that you are in the right frame of mind for specifying everything in minute detail, and not assuming that the right thing will happen by itself.

The Receipe of a good Program:

In order to design a program effectively and properly we must have a recipe to follow. In the book name ‘How to design programs’ by Matthias Felleisen and the co-worker, the idea of design recipe has been stated very elegenlty as “Learning to design programs is like learning to play soccer. A player must learn to trap a ball, to dribble with a ball, to pass, and to shoot a ball. Once the player knows those basic skills, the next goals are to learn to play a position, to play certain strategies, to choose among feasible strategies, and, on occasion, to create variations of a strategy because none fits.“ The author then continues to say that: “A programmer is also very much like an architect, a composers, or a writer. They are creative people who start with ideas in their heads and blank pieces of paper. They conceive of an idea, form a mental outline, and refine it on paper until their writings reflect their mental image as much as possible. As they bring their ideas to paper, they employ basic drawing, writing, and playing music to express certain style elements of a building, to describe a person's character, or to formulate portions of a melody. They can practice their trade because they have honed their basic skills for a long time and can use them on an instinctive level. Programmers also form outlines, translate them into first designs, and iteratively refine them until they truly match the initial idea. Indeed, the best programmers edit and rewrite their programs many times until they meet certain aesthetic standards. And just like soccer players, architects, composers, or writers, programmers must practice the basic skills of their trade for a long time before they can be truly creative. Design recipes are the equivalent of soccer ball handling techniques, writing techniques, arrangements, and drawing skills. “ Hence to design a program properly, we must:

o Analyze a problem statement, typically expressed as a word problem.
o Express its essence, abstractly and with examples.
o Formulate statements and comments in a precise language.
o Evaluate and revise the activities in light of checks and tests and
o Pay attention to detail.

All of these are activities are very useful for a programmer.

The above details are provided just for the sake of completeness and do not worry if the above sounds greek to you. it is natural. If, after going half of the course, you come back here then you will be in a perfect position to understand all of this. We have kept this boring detail to a limit. There were other topics like types of softwares, system software, application software, device drivers and the dry background of C programming language, which we have not included in this tutorial / guide. Our focus in this tutorial / guide is on programming C / C++.

IMPORTANT:

From the next lesson we will be doing actual programming. So, if you do not have one, get ready your C / C++ IDE. Bloodshed Dev C++ is a very popular IDE for C / C++, which you can download from the following URLs:

1. Free software downloads and software reviews - CNET Download.com

2. SourceForge.net: Find, Create, and Publish Open Source software for free
__________________

Sylfaen is offline   Reply With Quote
Old 07-17-2011, 06:51 PM   #2
Baseband Member
 
Card's Avatar
 
Join Date: Jun 2011
Posts: 88
Default Re: Basic C++ tutorials.

Oh sweet. Back to childhood when I was introduced to C++ for the first time. It's been 10 years since and I've forgotten everything... Even the hello world thing. Back to the basics..
__________________

Card is offline   Reply With Quote
Old 08-01-2011, 05:52 AM   #3
Solid State Member
 
Join Date: Jun 2011
Posts: 15
Default Re: Basic C++ tutorials.

Thanks to share the such a nice information. it's really helps us.
mehmlyndsy is offline   Reply With Quote
Old 08-30-2011, 07:03 PM   #4
BSOD
 
Join Date: Aug 2011
Posts: 45
Default Re: Basic C++ tutorials.

Was WINDOWS XP was it built in c++? I think most of it was
crashoveride is offline   Reply With Quote
Old 09-21-2011, 08:24 AM   #5
Jas
Beta Member
 
Join Date: Sep 2011
Posts: 2
Default Re: Basic C++ tutorials.

thanks for sharing it with us...
Jas is offline   Reply With Quote
Old 09-21-2011, 10:10 AM   #6
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: Basic C++ tutorials.

Quote:
Was WINDOWS XP was it built in c++? I think most of it was
Most of the higher level stuff is, yes - low level bits will always be written in C and the higher level stuff on the newer OS's is probably mostly .NET / C#.
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 09-21-2011, 07:10 PM   #7
BSOD
 
Join Date: Aug 2011
Posts: 45
Default Re: Basic C++ tutorials.

Quote:
Originally Posted by berry120 View Post
Most of the higher level stuff is, yes - low level bits will always be written in C and the higher level stuff on the newer OS's is probably mostly .NET / C#.
What is .net? and "c" im am on a course for a Diploma In Hardware And Operating System
crashoveride is offline   Reply With Quote
Old 09-22-2011, 03:36 AM   #8
Solid State Member
 
Join Date: Sep 2011
Posts: 6
Default Re: Basic C++ tutorials.

Thanks for sharing the link, its very helpful not for me but for my friends. they are learning c++ so i'll share with them.

Certificate Programs
soniasharma is offline   Reply With Quote
Old 09-22-2011, 04:44 AM   #9
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: Basic C++ tutorials.

Quote:
What is .net? and "c" im am on a course for a Diploma In Hardware And Operating System
C is an old, low level language that's not used much these days. Really comes into play in two scenarios:

- Really low level stuff (writing for electronics directly kind of thing, though this is becoming less and less common with more low level stuff written in higher level languages)
- Really fast stuff (though these days the difference is so minimal it's losing its edge here too...)

.NET is Microsoft's high level language framework comprising of things like visual C++, visual basic, C# etc. It's possible to write applications that integrate into Windows very nicely without much work.
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 09-25-2011, 04:22 PM   #10
BSOD
 
Join Date: Aug 2011
Posts: 45
Default Re: Basic C++ tutorials.

Cher thanks 4 all ya help
__________________

crashoveride is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 08:41 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0