User Profile

Collapse

Profile Sidebar

Collapse
Prabu Ramasamy
Prabu Ramasamy
Last Activity: Jun 21 '07, 01:19 PM
Joined: Jun 1 '07
Location: CHENNAI
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Prabu Ramasamy
    started a topic function Declaration&Definition
    in C

    function Declaration&Definition

    As i'm c++ beginner the following Function Declaration and Definition couldnt understandable? so explain me what kind of Declaration this is......?
    especially X& refers what?
    Here instead of datatype X& is used. why?

    Declaration :
    private:

    int len;
    char *ptr;

    public:

    X& Set(char *);


    Definition
    X& X::Set(char...
    See more | Go to post

  • Prabu Ramasamy
    started a topic pass by reference
    in C

    pass by reference

    how to pass char* value by creating new?

    here function definition is

    ConvertNumberTo String(double source, char *targetString)
    {

    }

    wil u pleas tell me how to pass (char* targetstring) value in main() bymeans of creating memory by 'new' method?
    Also explain Different types pass reference methods in c++?
    See more | Go to post

  • Prabu Ramasamy
    started a topic Trim function
    in C

    Trim function

    here i kno trim function wil remove first and last whitespaces if occured. but i don the program for that.string wil u pleas explain this program step by step?
    particularly why they take the concept of takin condition >' ' in conditional statement.
    program: i didnt send main,class definition simply function definition
    [code=cpp]
    string StringUtil::Tri m(string givenString)
    {
    int count = givenString.len gth();...
    See more | Go to post
    Last edited by JosAH; Jun 4 '07, 02:28 PM. Reason: aded [code=cpp] ... [/code] tags

  • Prabu Ramasamy
    started a topic C++ Stl
    in C

    C++ Stl

    1.(*((this->insert(make_pa ir(x,T()))).fir st)).second
    2..while ( mymap.value_com p()(*it++, highest) )

    pleas explain these function declaration step by step.i coulnt get.
    See more | Go to post

  • Prabu Ramasamy
    replied to C++ Stl
    in C
    yes i failed to put <>. i'm beginner to c++. i'm always confusing with different type of function declarations. explain the
    pair<map<char,i nt>::iterator,b ool> ret; declaration. here what happens?...
    See more | Go to post

    Leave a comment:


  • Prabu Ramasamy
    started a topic C++ Stl
    in C

    C++ Stl

    Difference between map(char,int) and pair(const char,int)?
    pleas differentiate the function operations?
    See more | Go to post
No activity results to display
Show More
Working...