如何显示没有空值的值.

How to Display the values without null values..?

本文关键字:空值 何显示 显示      更新时间:2023-10-16

我想显示没有空值的值。 我是VC ++的新手,请任何人提供解决方案。

字符实际键[41];

我的输出 : 0F3798250D5C6C47ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ但

我想要这个, 0F3798250D5C6C47

你应该首先使用它,将所有值初始化为零。

memset(actualKey, sizeof(actualKey), 0);