这是我在 visual studio 2010 中的代码的一部分。但是我从编译器中得到“IntelliSense:标识符“GetTickCount”未定义”。我不知道如何解决它。
typedef enum {FALSE = 0, TRUE} BOOL;
int main(int argc, char* argv[]){
double current_Time;
current_Time = GetTickCount()/1000.0 - start/1000;
....
这些是我在代码中包含的内容
#include <stdio.h>
#include <time.h>
#include <math.h>
#include <stdlib.h>
#include <conio.h>
最佳答案
在头文件中包含 widows.h 文件..
关于c - 在 C 中获取 GetTickCount() 时遇到问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23100429/