Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #54.9K
Ranked #4K
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for xofth

[CODE]#include<iostream.h> #include<conio.h> class citizen { private: const char name[25]; char nationality[25]; public: citizen() //first constructor with no parameter { name="Farhan"; nationality="PAkistani"; } citizen(char a, char b)//second constructor { name=a; nationality=b; } ~citizen() // destructor { cout<<"\n Destructor called"; } void display() { cout<<name; cout<<"\n"<<nationality; } }; void main() { clrscr(); …

Member Avatar for needhelp//
0
71
Member Avatar for Tonyd71

I'm a newborn to programming and my instructor has thrown me to the wolves. I'm trying to compile this simple program but I get these syntax errors. 1>y:\d03423388\desktop\projct3\projct3\prjct3.cpp(16) : error C2059: syntax error : '<<' What do I do with '<<' ?

Member Avatar for JohnKSmith
0
79
Member Avatar for spursfan2110

#include<iostream> #include<string> #include <ctime> using namespace std; class Dog { protected: string name; char gender; public: Dog(string theName, char theGender) /*constructor*/ { name = theName; gender = theGender; } ~Dog() { cout << "good bye: " << name << endl; } void bark(int n) { cout << name << ":"; …

Member Avatar for JohnKSmith
0
85
Member Avatar for stevendavis84

Employee.h [code]// Base class. #ifndef EMPLOYEE_H #define EMPLOYEE_H #include "stdafx.h" #include <cstring> // Constant for the name's default size const int DEFAULT_SIZE = 51; class Employee { private: char *name; // The name double empNum; // The employee number int hireDate; // Number of hire date on hand // Private …

Member Avatar for abhimanipal
0
322
Member Avatar for SUNNY26

I am getting one error in compilesation of servlet progrm.the error is package import javax.servlet.*; does not exist.how to rectify my problem

Member Avatar for thabotharshan
0
176
Member Avatar for oldgamesware

I am new here and I have some questions about Windows 7. Is it way better than any operating system? What is its pros and cons? I hope someone could help me about this.

Member Avatar for Deathblowers
0
137
Member Avatar for kayashiva

I'm having trouble opening .dmg files on my g5 version 10.2.8. When i try stuffit expander opens and nothing happens. i tried pushing file then expand and still nothing. does anyone know what i can do? newbie

Member Avatar for crunchie
-1
391