摘要: // 接收数量不定的实参.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include using namespace std;int sum(int count , ... ) ;int _tmain(int argc, _TCHAR* argv[]){ cout << sum(5,4,6,8,10,12) <<endl; cout << sum(8,22,33,44,55,66,77,88,99) <<endl; return 0;}int sum( int coun 阅读全文
posted @ 2013-07-15 15:54 E_star 阅读(3911) 评论(0) 推荐(0)