Question: I am doing a project in which,i have to give the user a message at the time of installation only.After that the message should be hidden.Now whenever i run the program the message will be displayed.I want to avoid it. I want to do it programatically in android.Can anyone help to resolve this issue?

Thanks in Advance

Answer: 
No, absolutely not1, in C++.

You should avoid pointers *as much as possible*, in modern C++. Use pointers only when you really have to, and try to see if you can use smart pointers (like `shared_ptr`, `unique_ptr`) in those cases. Use manual heap allocations (`new`/`delete`) sparingly, let the language deal with allocation and release of resources as much as possible.  

Learn about RAII, move semantics, etc.

I encourage you to watch the [Going Native 2012](http://channel9.msdn.com/Events/GoingNative/GoingNative-2012) presentations. Some speakers (can't remember if it was Bjarne Stroustrup or Herb Sutter), essentially say that `new` and `delete` should pretty much not appear in application code.

1 Well, nothing is absolute in programming, C++ or otherwise.
You should generally use pointers only when needed. In C, that tends to be quite a bit. In C++, most code should not use pointers directly at all -- it should use some sort of smarter class that wraps a pointer (`unique_ptr`, `shared_ptr`, `vector`, etc.)