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

📄 testtoolfun.cpp

📁 标准C++编写的小小CRM软件,无任何平台依赖.采用标准XML作为数据库.只需重新纺译,可在任何平台上运行.目前测试过在GCC和VC下都可以编译通过
💻 CPP
字号:
#include "ToolFun.h"
#include <iostream>
#include <conio.h>

using namespace std;

/*
int main()
{
	string str1("hello");
	if( str1 == "hello" )
	{	cout<<"equal"<<endl;		}
	else
	{	cout<<"not equal"<<endl;	}
	getch();

	return 0;
}
*/

/* follow function use to test format convert function toInt() and to Float()
int main()
{
	char str1[]="123";
	char str2[]="12.4";
	char str3[]="fdsaf";
	string str4("433");
	string str5("43.2");
	string str6("jfdksaj");

	cout<<toInt(str1)<<endl;
	cout<<toInt(str3)<<endl;
	cout<<toInt(str4)<<endl;
	cout<<toFloat(str2)<<endl;
	cout<<toFloat(str5)<<endl;
	cout<<toFloat(str6)<<endl;
	getch();

	return true;
}
*/

⌨️ 快捷键说明

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