- #include<iostream>
- using namespace std;
- struct Mystruct
- {
- int num;
- char *str;
- };
- int main()
- {
- Mystruct myi
- my.num=20;
- My.str="Hello";
- cout<<"The num of my is"<<my.num<<endl;
- cout<<"The str of my is"<<my.str<<endl;
- return 0;
- }
- #include<iostream>
- using namespace std;
- struct Mystruct
- {
- int num;
- char *str;
- };
- int main()
- {
- Mystruct myi
- my.num=20;
- My.str="Hello";
- cout<<"The num of my is"<<my.num<<endl;
- cout<<"The str of my is"<<my.str<<endl;
- return 0;
- }
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会