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

📄 c41.cpp

📁 此文件可以能帮你求体积
💻 CPP
字号:
// c41.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "StrType.h"
#include <iostream.h>

int main(int argc, char* argv[])
{
	StrType o1( "Hello" ), o2( "There" ), o3;
	cout << "o1 = " << o1.Get() << endl;
	cout << "o2 = " << o2.Get() << endl;
	o3 = o1 + o2;
	cout << "o3 = o1 + o2 = " << o3.Get() << endl;

	o3 = o1;
	cout << "o1 = o3" << endl;
	if ( o1 == o3 )
		cout << "o1 equals o3" << endl;

	if ( o1 > o2 )
		cout << "o1 > o2" << endl;

	if ( o1 < o2 )
		cout << "o1 < o2" << endl;

	return 0;
}

⌨️ 快捷键说明

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