在VC中能否调用stract函数?

来源:百度知道 编辑:UC知道 时间:2024/09/12 23:33:23
不知道能不能在VC中调用stract函数?如果可以,需要什么头文件啊?
不好意思啊,打错了,是strcat。如果可以的话,麻烦请教一下,应该调用什么头文件啊?

#include <stdio.h>
#include <string.h>

如果是c++并且using namespace std;
最好
#include <cstdio>
#include <cstring>

是 strcat 吧

VC 中 可以用
如果是做Windows程序 用
lstrcat 比较好,是系统提供的 功能 和 strcat 一样

strcat 对应的头文件 <string.h>

可以 strcat是C的标准库函数,头文件string.h