⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdafx.cpp

📁 基于最小二乘法圆的拟合
💻 CPP
字号:
// stdafx.cpp : source file that includes just the standard includes
//	IPLab.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

//////////////////////////////////////////////////////////////////////////
///Global Function
int GetTimeDiff(SYSTEMTIME startTime,SYSTEMTIME endTime)
{
	int timeDiff=0;
	int mD = endTime.wMilliseconds-startTime.wMilliseconds;
	int sD = endTime.wSecond-startTime.wSecond;
	int minD = endTime.wMinute - startTime.wMinute;
	int hD = endTime.wHour - startTime.wHour;
	int dD = endTime.wDay - startTime.wDay;
	
	timeDiff = (((dD*24 + hD)*60 + minD)*60 + sD)*1000 + mD;
	return timeDiff;
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -