侯捷翻译的c++ primer随书的源代码,一起学c

源代码在线查看: ch01.1.3.c

软件大小: 190 K
上传用户: dtlyzx
关键词: primer 翻译 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				// #include 
				
				#include 
				#include 
				#include 
				
				/**
				 **
				 CC -n32 -experimental -I $EXTERN/include -DDEBUG ch01.1.3.c $EXTERN/lib32/libstd.so
				 a.out < input_file
				 Beginning execution of main()
				 word read: Shyly,
				 word read: she
				 word read: asks,
				 word read: "I
				 word read: mean,
				 word read: Daddy,
				 word read: is
				 word read: there?"
				 **
				 **/
				
				int main()
				{
				
				#ifdef DEBUG
					cout 				#endif
				
				 	string word;
				 	vector< string > text;
				
				 	while ( cin >> word )
				 	{
				#ifdef DEBUG
				  		cout 				#endif
				
				  		text.push_back( word );
				 	}
				
				 	// ...
				}
							

相关资源