#include<iostream>
#include<conio.h>
using namespace std;
struct says{
char word[20];
int times;
};
void calls(says*);
int main()
{
}
我是初學者,也是自己自學的,特別想問一下這里struct says{char word[20];int times;}是什么意思。。。。
uj5u.com熱心網友回復:
struct says{char word[20];int times;}結構體資料型別使用的時候可以
says.word[0]='a';
says.times=1;
類似這么使用
uj5u.com熱心網友回復:
謝謝~我大致明白了~轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/102975.html
標籤:基礎類
上一篇:求助:編程挑戰
