Point类的定义
来源:互联网 发布:稻谷出糙率计算数据 编辑:程序博客网 时间:2024/04/30 19:57
#include<iostream>using namespace std;int a,b;class Point{public : int SetPoint(int a,int b) { x=a;y=b; } int ShowPoint() { cout<<"("<<x<<","<<y<<")"; }private: int x,y;}p;int main(){ p.SetPoint(10,11); p.ShowPoint(); return 0;}
0 0
- Point类的定义
- 2668-Point类的定义
- 2-1 Point类的定义
- sdut 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- C++ 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- 2-1 Point类的定义
- pat 03-树2 List Leaves(mooc 陈越、何钦铭-数据结构)
- oracle update set select from 关联更新
- leetcode 58. Length of Last Word
- 结巴分词流程图
- 实现矩阵的转置&原矩阵与转置后矩阵的乘机
- Point类的定义
- 【题解】 2016 ACM/ICPC Asia Regional Qingdao Online (6+5)
- JAVA 初学 i18n 国际化
- 第四周项目2-建设“单链表”算法库
- 撕衣服源码
- 2016 UESTC Training for Data Structures (1)
- 有关字符串的题目
- poj 2312 Battle City
- Android Context 上下文 你必须知道的一切