
这是用C语言写的,using说不是变量名,这一块不是很懂,查了很多资料都没有解决,希望能帮帮我!

.c文件是C语言,using namespace std是C++的,在C里不能使用
iostream也是C++的头文件,在C里也不能用,C中的输入输出库是stdio.h
string也是C++的头文件,在C里应该是string.h
#include <stdio.h>
#include <string.h>
#include <tchar.h>
#include <Windows.h>
如果你要写C++代码,就把.c文件改成.cpp文件。