小弟才开始学C++
// Console02.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <iostream>
using namespace std;
struct point {
int x;
int y;
void output() {
cout<<x<<endl<<y<<endl;
}
};
void main()
{
point pt;
pt.x = 5;
pt.y = 5;
pt.output();
int i;
cin>>i;
}
// Console02.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <iostream>
using namespace std;
struct point {
int x;
int y;
void output() {
cout<<x<<endl<<y<<endl;
}
};
void main()
{
point pt;
pt.x = 5;
pt.y = 5;
pt.output();
int i;
cin>>i;
}
1372

被折叠的 条评论
为什么被折叠?



