123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home
Source Codes
Engineering Colleges

Training  Reports
Seminar Reports
Placement Papers

Forums

   Computer Science / IT
   Electronics
   Electrical
   Mechanical
   Chemical
   Civil

   CAT / MBA

   GMAT / Foreign MBA
Latest Jobs

Engineering Jobs / Technical Jobs
Management Jobs

Sitemap
Terms of use

Displaying  Source Code(s)  
 

 
To create a class to be used as user defined string type.

--------------------------------------------------------------------------------



# include<iostream.h>
# include<conio.h>
# include<string.h>
# define MAX 50 //Max size of string
class string
{
char s[MAX];
public:
// default constructor
string()
{
// Just the string terminator
s[0]= '
 

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG