amitk3553 Posted April 22, 2013 Report Share Posted April 22, 2013 Hello, Please explain me the meaning of following line: const char * function() const {return "Hello world";} in systemC Thanks with Regards Amit Kumar Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted April 22, 2013 Report Share Posted April 22, 2013 This is a plain C++ question. The meaning of this line is not specific to SystemC. The line defines a const (member) function, returning a pointer to const char (known as "C string"). In the implementation, the constant character string "Hello world" is returned. Greetings from Oldenburg, Philipp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.