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


Share on Google+Share on Google+

C and C++ books-page7

Namespaces are a very powerful C++ language feature. This article does not teach you the syntax of namespaces

C and C++ books-page7


  1. Using the Namespaces Properly
    Namespaces are a very powerful C++ language feature. This article does not teach you the syntax of namespaces. Rather, it shows you how to use them properly. By doing that, they make sure that if two libraries both implement the Socket class, if they name their namespaces differently your program can use both without a conflict. But this brings up another question: If two independent companies both decide to write network libraries, what are the chances that they are going to implement a class named Socket? My guess is somewhere around 100 percent.
  2. Internal sorting routines
    This is a collection of sorting algorithms, in C. All the examples are thoroughly tested using random input generation and assertions, there are no known bugs. I've been using these, especially the fastest ``sedgesort'', in production code. This means that the software is not in the public domain but rather, it is copyrighted and you are free to use it in any way as long as you comply with the GNU GPL (General Public License) version 2 or any later version which you can find at gnu.org. 
  3. The programming fundamentals using C++
    The lessons in this series were written specifically for the benefit of my students in COSC 1315, Fundamentals of Programming at Austin Community College in Austin, Texas. The lessons were written under the assumption that those students have no prior programming knowledge when they enroll in the course. The approved textbook for this course was designed to teach programming fundamentals from a totally generic viewpoint using only flowcharts and pseudocode. The textbook doesn't provide any programming examples using a real programming language. On the other hand, the students are required to complete laboratory programming assignments using C++. A separate book containing programming exercises is approved for use by the students in the laboratory.


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-page7  

Post your Comment

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