Saturday, May 04, 2024
10:53 AM (GMT +5)

Go Back   CSS Forums > Off Topic Section > Computers and Technology

Computers and Technology Discuss computer issues, topics, and technology. Ask your questions about computer related problems, software, gadgets, computer science & emerging technologies.

Reply Share Thread: Submit Thread to Facebook Facebook     Submit Thread to Twitter Twitter     Submit Thread to Google+ Google+    
 
LinkBack Thread Tools Search this Thread
  #1  
Old Wednesday, February 03, 2010
azix_zee's Avatar
Member
 
Join Date: Jul 2006
Location: Khyber-Pukhtoonkhwa
Posts: 83
Thanks: 14
Thanked 54 Times in 24 Posts
azix_zee is on a distinguished road
Default Can any C++ Programmer Help me with this?

Problem Statement:

You are required to define a string class name string. The data members of the class are the character array and size of the character array. There should be two constructors one is default and other should be overloaded constructor.
Display() is the method which display the string.

Now you are required to overload += operator

This operator should allow statements like
s1 += s2;

where s2 is added (concatenated) to s1 and the result is left in s1. The operator should also permit the results of the operation to be used in other calculations, as in

s3 = s1 += s2;


Deadline: Feb 11, 2010
__________________
"Remeber that the most beautiful things in the world are the most USELESS; Peacock and Lilies, for example." Amn Aziz Khan
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Introduction to Programmin Languages Syed Zaffar Iqbal Computers and Technology 3 Saturday, November 30, 2013 12:26 AM
Learn Five Pros of Computer Programming Careers:-) Najabat Computers and Technology 0 Friday, November 24, 2006 11:43 AM


CSS Forum on Facebook Follow CSS Forum on Twitter

Disclaimer: All messages made available as part of this discussion group (including any bulletin boards and chat rooms) and any opinions, advice, statements or other information contained in any messages posted or transmitted by any third party are the responsibility of the author of that message and not of CSSForum.com.pk (unless CSSForum.com.pk is specifically identified as the author of the message). The fact that a particular message is posted on or transmitted using this web site does not mean that CSSForum has endorsed that message in any way or verified the accuracy, completeness or usefulness of any message. We encourage visitors to the forum to report any objectionable message in site feedback. This forum is not monitored 24/7.

Sponsors: ArgusVision   vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.