摘要:
// pointers to structures#include ‹iostream.h›#include ‹stdlib.h›struct movies_t {char title [50];int year;};int main () {char buffer[50];movies_t amovie;movies_t * pmovie;pmovie = & amovie;cout << "Enter title: ";cin.getline (pmovie->title,50);cout << "Enter year: 阅读全文
posted @ 2011-09-21 20:08
南门小子
阅读(278)
评论(0)
推荐(0)

浙公网安备 33010602011771号