Jump to content
amitk3553

constant to character converter

Recommended Posts

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×