Sponsored Links


Results 1 to 2 of 2

Thread: c++ code 2011

  1. #1
    Senior Member saneha's Avatar
    Join Date
    Apr 2011
    Posts
    266

    Icon51 c++ code 2011

    Sponsored Links1


    Code:
    name.Setname(s.name.GetString());
    // setting composed name of newly created object. i.e. Setname is a member function of “name “ object that is being called.
                     
    name.Setname(s.name.GetString());
    //accessing the composed object string name of object to be copied. i.e. “name” is the data member of the object “s” of class student. Here, keep in mind that “name “ is placed a s a part Object of whole “Student”.
     
    name.Setname(s.name.GetString());
    //accessing the value of composed object string name by calling its member function GetString.i.e. GetString is a member function of an object “name” of class “String” that is being called and returns a constant pointer to a constant character.
     
    name.Setname(s.name.GetString());
    //overall result : the value of composed object string of object to be copied will be copied to newly created object composed object string. i.e. Parameters infact returns a constant pointer  to the object which is being copied in the newly created object” name”


    Sponsored Links

  2. #2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 02-13-2013, 09:19 PM
  2. c++ code check this code 2011-12
    By Vuhelper in forum C++ Programing
    Replies: 0
    Last Post: 09-04-2011, 07:17 AM
  3. c++ code 2011
    By saneha in forum C++ Programing
    Replies: 0
    Last Post: 05-02-2011, 05:45 PM
  4. c++ code 2011
    By saneha in forum C++ Programing
    Replies: 0
    Last Post: 04-29-2011, 08:27 AM
  5. Replies: 1
    Last Post: 04-24-2011, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft | Jobs