码迷,mamicode.com
首页 >  
搜索关键字:visual stdio    ( 19543个结果
C 实战练习题目77
题目:填空练习(指向指针的指针)。 程序分析:无。 程序源代码: 1 #include<stdio.h> 2 #include<stdlib.h> 3 int main() 4 { 5 const char *s[]={"man","woman","girl","boy","sister"}; 6 ...
分类:其他好文   时间:2020-08-01 21:17:33    阅读次数:72
C 实战练习题目78
题目:找到年龄最大的人,并输出。请找出程序中有什么问题。 程序分析:无。 实例: 1 #include<stdio.h> 2 #include<stdlib.h> 3 struct man{ 4 char name[20]; 5 int age; 6 } 7 person[3]={"li",18," ...
分类:其他好文   时间:2020-08-01 21:15:42    阅读次数:69
王道数据结构 (10) 树的先序遍历非递归代码实现
先序遍历与中序遍历的代码实现是差不多的 只是把访问节点的操作放到了入栈操作前 代码实现: #include <stdio.h> #include <string.h> #include <stdlib.h> #define ElementType char int top = -1; //定义top ...
分类:其他好文   时间:2020-07-31 18:04:02    阅读次数:118
栈(c语言)链表实现
节点的结构 struct Node { int value; struct Node* next; }; typedef struct Node Node; 基本功能和操作演示 #include <stdio.h> #include <stdlib.h> struct Node { int valu ...
分类:编程语言   时间:2020-07-30 22:10:51    阅读次数:73
二分查找(递归与非递归)
#include <stdlib.h> #include <stdio.h> //二分查找非递归 int Binary_Search(int list[],int key,int length){ int low=0,high=length-1; while (low<=high){ int mid ...
分类:其他好文   时间:2020-07-30 21:44:08    阅读次数:69
文件开启关闭操作c语言模板
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { FILE *fp = NULL; fp = fopen("./1.txt", "w+ ...
分类:编程语言   时间:2020-07-30 14:34:50    阅读次数:55
链表(c语言实现)
节点的数据结构 struct Node { int value; struct Node* next; }; typedef struct Node Node; 操作和演示 #include <stdlib.h> #include <stdio.h> // 建立一个节点 Node *createNo ...
分类:编程语言   时间:2020-07-30 01:18:43    阅读次数:82
linux内核调试技术之printk
1、简介(基于s3c2440 linux) 在内核调试技术之中,最简单的就是printk的使用了,它的用法和C语言应用程序中的printf使用类似,在应用程序中依靠的是stdio.h中的库,而在linux内核中没有这个库,所以在linux内核中,使用这个printk就要对内核的实现有一定的了解。 p ...
分类:系统相关   时间:2020-07-29 21:55:06    阅读次数:89
AcWing 830. 单调栈
AcWing 830. 单调栈 #include <bits/stdc++.h> using namespace std; const int N=1e6+10; int n; int stk[N],tt; int main(){ cin.tie(0); ios::sync_with_stdio(f ...
分类:Windows程序   时间:2020-07-29 15:07:47    阅读次数:84
在Ubuntu上安装gcc
更新包索引 apt update 安装开发工具包 apt install build-essential 查看gcc是否安装成功 gcc --version 编写hello world vim hello.c #include <stdio.h> int main() { printf("Hello ...
分类:系统相关   时间:2020-07-29 15:07:04    阅读次数:61
19543条   上一页 1 ... 58 59 60 61 62 ... 1955 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!