| 
 | ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
| Re:1000是我入门VC++编程我们院长给我们展示的第一个程序In Reply To:1000是我入门VC++编程我们院长给我们展示的第一个程序 Posted by:njut090220 at 2010-04-13 19:35:22 > viod main()
> {
>    int a,b;
>    cin>>a>>b;
>    cout<<a+b<<endl;
> }
Oh. = =、
Code:
#include <iostream>
int main( void )
{
    int a, b;
    std::cin >> a >> b;
    std::cout<< a+b << std::endl;
    return 0;
}Followed by: Post your reply here: | 
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator