现在的位置: 首页 > 综合 > 正文

今天晚上再用c 实现一遍

2019年08月08日 ⁄ 综合 ⁄ 共 196字 ⁄ 字号 评论关闭

#include <iostream>

#include <conio.h>

using namespace std;

typedef struct _INTTEST

{

        int a;        

}inttest;

 

int main()

{

    inttest* p=new inttest[3];

    p[1].a=10;

    cout<<p[1].a<<endl;

    getch();

    return 0;    

}

抱歉!评论已关闭.