码迷,mamicode.com
首页 >  
搜索关键字:visaul stdio    ( 10042个结果
学习 GCC 编译器
编译一段简单源代码vihello.c#include<stdio.h>intmain(){printf("Hellolinuxc,i‘mhere.Waitingforyourcongratulations.");return0;}使用“-o”选项指出编译后的文件名称。gcchello.c-ohellogcc常用选项选项说明-c只编译,不链接为可执行文件;既只生成“-o”文件。常用..
分类:其他好文   时间:2015-02-28 16:40:29    阅读次数:196
OPenCV_摄像头视频捕获并画矩形框
#include?"stdafx.h" #include?"opencv2/imgproc/imgproc.hpp" #include?<opencv2/highgui/highgui.hpp> #include?<opencv2/core/core.hpp> #include?<stdio.h> #include?<iostream> using?namespace?cv;...
分类:其他好文   时间:2015-02-28 13:07:43    阅读次数:223
vs2003出现“此计算机上没有安装项目系统组件。请重新安装重新安装visual stdio”解决方法
vs.net 2003出现错误解决方法:此计算机上没有安装项目系统组件。请重新安装重新安装visual stdio...
分类:其他好文   时间:2015-02-27 20:17:13    阅读次数:143
快速排序
#include <stdio.h> #include <stdlib.h> void swap(int *i, int *j); int choose_pivot(int i, int j); int partition(int list[], int m, int n); void quicksort(int list[], int m, int n); void display(in...
分类:编程语言   时间:2015-02-24 21:06:54    阅读次数:178
c语言 伪 随机数 小结
需求:输出[x,y]之间的随机数算法:rand()%(y-x+1)+x#include<stdio.h> #include<stdlib.h> #include<time.h> #include<sys/time.h> //交换函数 voidswap(int*a,int*b){ inttemp=0; temp=*a; *a=*b; *b=temp; } //求两个随机数[20,40]数组的对应数..
分类:编程语言   时间:2015-02-14 01:15:38    阅读次数:195
如何在VC6.0里存储带空格的字符串
charstr[20];cin.getline(str,20)或stringstr;getline(cin,str);据说都可以存储含空格字符串,但我用VC6.0时都出错以下为粘贴关于在C++中输入带空格的字符串的方法yibcs2012-08-1020:44:17此人文章#include <iostream>#include<stdio.h>#include <string>usi..
分类:其他好文   时间:2015-02-10 15:32:31    阅读次数:156
【数据结构】链式队列
//linkqueue.h#include "stdio.h" #include "stdlib.h" #include #define MAXSZIE 30 struct qNode { char name[MAXSZIE]; char author[MAXSZIE]; int Pages; double Price; char IsForeign; struct qNode * next;...
分类:其他好文   时间:2015-02-10 15:22:55    阅读次数:187
poj3253(优先队列)
#include #include #include #include #include using namespace std; int N,R; int x[50100]; int main() { #ifdef xxz freopen("in.txt","r",stdin); #endif // xxz ios::sync_with_stdio(false); ...
分类:其他好文   时间:2015-02-09 18:23:16    阅读次数:182
poj3617(字典序最小问题)
#include #include #include using namespace std; int n,m; char S[2100],P[2100]; int main() { #ifdef xxz freopen("in.txt","r",stdin); #endif // xxz ios::sync_with_stdio(false); cin.tie(0...
分类:其他好文   时间:2015-02-09 18:20:33    阅读次数:138
linux中安装软件
linux中有很多安装软件的方法,比如说gcc编译再安装,make安装,rpm安装,yum安装等,下面逐一比较之间的区别,不再迷茫不再纠结。1.gcc源码编译安装这是最原始的一种安装方式,gcc为linux中的编译程序,需要预先安装。编写源代码,以c语言为例子(1)vihello.c#include<stdio..
分类:系统相关   时间:2015-02-09 16:20:09    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!