摘要: Problem Description CalculateA + B.Input Each line will contain two integersAandB. Process to end of file.Output For each case, outputA + Bin one line.Sample Input 1 1Sample Output 2Code: 1 #include <stdio.h> 2 main() 3 { 4 int A,B; 5 6 while(scanf("%d%d",&A,&B)!=EOF) 7 { 8 . 阅读全文
posted @ 2012-02-23 00:43 任琦磊 阅读(675) 评论(0) 推荐(0) 编辑
摘要: 鉴于Win7对VC 6.0兼容的不尽人意,最近电脑上安装了Visual Studio 2010,Visual Stdio 2010的功能确实强大,却导致我无法用其编写C语言。为此我在网上找了不少的教程。 微软的MSDN上有一篇关于VS 2010编译C的文章:《演练:编译 C 程序》(http://msdn.microsoft.com/zh-cn/library/bb384838.aspx),但限于本人能力有限,不能完全看懂。最终经过不懈的搜贴后终于有一个方法可以解决问题,最终满足了我的需求。下面我对这一方法做一下总结: 1、安装完Visual Studio 2010后打开; 2、“文... 阅读全文
posted @ 2012-02-22 21:48 任琦磊 阅读(15821) 评论(0) 推荐(0) 编辑