📄 1.cpp
字号:
// 1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream.h"
#include "malloc.h"
#include <conio.h>
#include "oneline.h"
void main()
{
nodetype *head;
head=create();//建立链表并给表复值
cout<<"您输入的数据是 ";
disp(head);//输出用户输入的数据
head=invert(head);
cout<<"逆置之后为 ";
disp(head);//输出逆置之后的数据
dispose(head);//销毁那个链表
getch();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -