Home Books Ebooks C-and-C++-books C and C++ books-page12


Share on Google+Share on Google+

C and C++ books-page12

This section is designed to give you a general overview of the C programming language. Although much of this section will be expanded in later sections it gives you a taste of what is to come.

C and C++ books-page12


  1. Introduction to C programming 
    This section is designed to give you a general overview of the C programming language. Although much of this section will be expanded in later sections it gives you a taste of what is to come. C has been used successfully for every type of programming problem imaginable from operating systems to spreadsheets to expert systems - and efficient compilers are available for machines ranging in power from the Apple Macintosh to the Cray supercomputers. The largest measure of C's success seems to be based on purely practical considerations: * the portability of the compiler;  * the standard library concept; * a powerful and varied repertoire of operators;  * an elegant syntax; 
  2. Introduction of C program Note
    C is a relatively small language, but one which wears well. C's small, unambitious feature set is a real advantage: there's less to learn; there isn't excess baggage in the way when you don't need it. C is sometimes referred to as a ``high-level assembly language.'' Some people think that's an insult, but it's actually a deliberate and significant aspect of the language. If you have programmed in assembly language, you'll probably find C very natural and comfortable. If you haven't programmed in assembly language, you may be frustrated by C's lack of certain higher-level features. In either case, you should understand why C was designed this way: so that seemingly-simple constructions expressed in C would not expand to arbitrarily expensive machine language constructions when compiled.
  3. The Visual C++ 6.0 Environment
    Although Visual C++ is first and foremost a C++ compiler, it also offers a complete development environment made up of many components that work together to simplify the development process. Many of the features of this environment will be familiar to you; after all, some basic features are ones that any integrated development environment is expected to provide. However, many of the features of the development environment are unique to Visual C++ and might seem a bit foreign at first, but you will soon see that these features can significantly improve your productivity.
  4. Building And Using Static And Shared "C" Libraries
    One of the problems with developed programs, is that they tend to grow larger and larger, bringing up overall compilation and linking time to a large figure, and polluting out make file, and the directory where we placed the source files. The first time a program we write reaches this state, is normally when we look for a different way to manage our projects. One of the tools that compilers supply us with are libraries. A library is a file containing several object files, that can be used as a single entity in a linking phase of a program. Normally the library is indexed, so it is easy to find symbols (functions, variables and so on) in them. For this reason, linking a program whose object files are ordered in libraries is faster than linking a program whose object files are separate on the disk. Also, when using a library, we have fewer files to look for and open, which even further speeds up linking. 
  5. Introduction to Object-Oriented Programming
    In this course, object-orientation is introduced as a new programming concept which should help you in developing high quality software. Object-orientation is also introduced as a concept which makes developing of projects easier. However, this is not a course for learning the C++ programming language. If you are interested in learning the language itself, you might want to go through other tutorials, such as C++: Annotations by Frank Brokken. In this tutorial only those language concepts that are needed to present coding examples are introduced. And what makes object-orientation such a hot topic? To be honest, not everything that is sold under the term of object-orientation is really new. For example, there are programs written in procedural languages like Pascal or C which use object-oriented concepts. But there exist a few important features which these languages won't handle or won't handle very well, respectively.


Liked it!  Share this Tutorial

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 7, 2010

Ask Questions?    Discuss: C and C++ books-page12  

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image