123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home

Source Codes

BE Students

Training  Reports (updated)

Placement Papers (updated)

Forums

   Computer Science / IT

   Electronics

   Electrical

   Mechanical

   Chemical

   Civil

   CAT / MBA

   GMAT / Foreign MBA

Latest Jobs

Engineering Jobs / Technical Jobs

Management Jobs

Sitemap

About-Us

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