房天下 > 房天下问答 > 业主生活 > 其他
  • 请教高手:c\c++语言结构体指向运算符”→”在编辑环境中如何输入,谢谢

    C\C++语言中结构体变量的指向运算符”→”在编辑环境中如何输入 如: #include<stdio.h>struct student {int number;char *name;char sex;int age;}Void main(){struct student stu1={20134,”Wang Hong”,’m’,22},*pstu=&stu1;printf(“stu1. number=%5d,pstu→age=%2d\n”,stu1. number,pstu→age); }请问指向运算符“→"在编辑环境中如何输入 ? 谢谢

    提问者:windows0596

    发布于2011-02-11

共1个回答
  • hao19 丨Lv 0
    横线,然后右尖括号。就是: ->
    +1 2011-02-12 举报
热门人气推荐
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。