Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想显示没有 NULL 值的值。我是 vc++ 新手,请任何人提供解决方案。
char实际键[41];
我的输出: 0F3798250D5C6C47ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ 但是
我想要这个,0F3798250D5C6C47
您应该首先使用它,将所有值初始化为零。
memset(actualKey, sizeof(actualKey), 0);