Whitespace doesn't matter in
type*pointer.
But obviously there are places in C++ outside of strings where whitespace does matter. For example, whitespace is not valid in a digraph, and in obscure cases whitespace is required to prevent two operators from being a digraph. The following code is wrong due to lack of required whitespace:
Code:
std:vector<std::vector<double>> matrix;