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

📄 c02.cpp

📁 《C++程序设计习题及解答》配套代码VC版
💻 CPP
字号:
// c02.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

#include <iostream.h>
#include <math.h>

int main(int argc, char* argv[])
{
	cout.precision( 5 );
	cout.width( 10 );
	cout << "x";
	cout.width( 10 );
	cout << "logx";
	cout.width( 10 );
	cout << "lnx";
	cout << endl << endl;
	for ( int x = 90; x < 100; ++x )
	{
		cout.width( 10 );
		cout << x;
		cout.width( 10 );
		cout << log10( x );
		cout.width( 10 );
		cout << log( x ) << endl;
	}
	cout << endl;

	return 0;
}

⌨️ 快捷键说明

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