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: #7_VER1.CPP
Found in file: BEGINCPP.ZIP

Download: Keel Meta Framework Project Keel is ready made server side infrastructure. Keel  incorporates multiple open source projects to provide you with  a best of breed framework that works right out of the box. *  Security layer * ...
void *malloc(unsigned);
int free (void *);

struct tag_name {       //tag_name is also a type in C++
        int   i;
        float f;
};

class class_one {
        tag_name t;     //implicitly declare class_one *this;
  public:
        class_one (int i0 = 0, float f0 = 0) { t.i = i0, t.f = f0; }
        class_one *tag() { return this; }
};

class class_two {
  public:
        class_two (unsigned size) { this = (class_two *) malloc (size); }
        ~class_two() { free (this); this = 0; }
};

main()
{
        class_one c1 (1, 1.1), cc1;
        class_two c2 (sizeof(class_two)) ;

        cc1 = *c1.tag();
}


How to listen to music with your hands

PDF Info 1.00
A PDF file is usually stamped or marked or labelled by the PDF creation software. The hidden information is stored in the header part of the PDF file. With PDF Info, you may change PDF document prope...
Keel Meta Framework Project
Keel is ready made server side infrastructure. Keel incorporates multiple open source projects to provide you with a best of breed framework that works right out of the box. * Security layer * ...
Download How to listen to music with your hands Download PDF Info 1.00 A PDF file is usually stamped or marked or labelled by the PDF creation software. The hidden information is stored in the header part of the PDF file. With PDF Info, you may change PDF document prope... Download Keel Meta Framework Project Keel is ready made server side infrastructure. Keel  incorporates multiple open source projects to provide you with  a best of breed framework that works right out of the box. *  Security layer * ...







Sponsored links

Localize software in three simple steps
Localize .Net, C/C++ & Delphi apps visually. HTML, HTML Help, XML & databases. Try Sisulizer now!
Delphi Localization Tool Sisulizer (WYSIWYG)
Create multilingual Delphi apps in three simple steps. Localize XML, HTML Help ... Try Sisulizer now
Web based bug tracking - AdminiTrack.com
AdminiTrack offers an effective web-based bug tracking system designed for professional software development teams.
Computer Professionals: Are you owed Overtime?
Federal and State Laws may allow computer professionals to collect overtime. Our law firm is experienced, and has initiated class action lawsuits against some of the largest computer companies to collect back pay and overtime. Strictly Confidential.
CSTSOFT Instrumentation .NET & ActiveX Components
A collection of 13 instrumentation .NET/ActiveX/VCL components including Gauge,Knob,LED,Trend etc.


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.