Current area: HOME ->

Zip File view

Some Introductory C++ Code Examples


This page allows you to view the contents of a file contained inside a ZIP archive available at Programmer's Heaven. This means you can view the code and find what you need from it without having to download the ZIP file first. If the file contains source code for a language we recognize, we have syntax highlighted it.

Filename displayed: #10.CPP
Found in file: BEGINCPP.ZIP

Download: Platform Independent ODBC IODBC is the acronym for Independent Open DataBase  Connectivity, an Open Source platform independent  implementation of both the ODBC and X/Open specifications. It  is rapidly emerging as the ind...
// STR_CNT.CXX : a word count program that uses stream i/o

#include <stream.hxx>
#include <ctype.h>

main()
{
        int word_cnt = -1;
        void found_next_word (void);
       
        while ( cin.good() ) {  // ^Z ends input
                word_cnt++;               // increment counts
                found_next_word ();
        }       
        cout << "word count is " << word_cnt << "\n";
}

void found_next_word (void)
{
        char c;
       
        cin >> c;
        while (!isspace (c))
                cin.get (c);
}


Introduction to MIDI

Img32 1.4 A
TP 7, Allows large Images (256-32bit) images to be saved/loaded from HDD eg Full HiColor screen saves. Compact, Fast optimised code. Requires NewGraph(NGraph) Unit by Harry Lotz 7 Jutta (Linked...
Platform Independent ODBC
IODBC is the acronym for Independent Open DataBase Connectivity, an Open Source platform independent implementation of both the ODBC and X/Open specifications. It is rapidly emerging as the ind...
Download Introduction to MIDI Download Img32 1.4 A TP 7, Allows large Images (256-32bit) images to be saved/loaded  from HDD eg Full HiColor screen saves. Compact, Fast optimised  code. Requires NewGraph(NGraph) Unit by Harry Lotz 7 Jutta  (Linked... Download Platform Independent ODBC IODBC is the acronym for Independent Open DataBase  Connectivity, an Open Source platform independent  implementation of both the ODBC and X/Open specifications. It  is rapidly emerging as the ind...







Sponsored links

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Villanova University Six Sigma & IT Certificate Programs
100% Online programs in Six Sigma, IS Security, CISSP Prep, Business Analysis, Proj. Mgmt. and more!
Localize software in three simple steps
Localize .Net, C/C++ & Delphi apps visually. HTML, HTML Help, XML & databases. Try Sisulizer now!
Localize Delphi software in three simple steps
Localize Delphi VCL & .Net apps visually. Plus HTML, HTML Help, XML & databases. Try Sisulizer now!


Newsletter | Submit Content | About | Advertising | Awards | Contact Us | Link to us |
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Synchron Data - .NET development.