码迷,mamicode.com
首页 >  
搜索关键字:cpp    ( 13186个结果
提示【启用“逐用户重定向”】
问题: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(756,5): error MSB8011: 未能注册输出。请尝试启用“逐用户重定向”,或者使用提升的权限从命令提示符处注册该组件。 解...
分类:其他好文   时间:2015-12-04 10:32:34    阅读次数:228
使用字符串输出图形效果
[cpp]view plaincopy////////////////////////////////////////////////////////////////////StringEffect-字符串效果////Author:木头云//Blog:http://blog.csdn.net/mar...
分类:其他好文   时间:2015-12-03 23:24:57    阅读次数:763
C++ 下 typeof 的实现
现在我们有这样一坨代码:[cpp]view plaincopystd::vectorarr;//...for(std::vector::iteratoriter=arr.begin();iter!=arr.end();++iter){//...}其中难看而又不好维护的std::vector::ite...
分类:编程语言   时间:2015-12-03 23:23:01    阅读次数:648
D_S 单链表的基本操作
//main.cpp#includeusingnamespacestd;#include"Status.h"#include"LinkList.h"intmain(){LinkListL;intn,i;ElemTypee;InitList(L);cout>n;CreateList(L,n);cout...
分类:其他好文   时间:2015-12-03 00:43:00    阅读次数:182
D_S 顺序栈的基本操作
//main.cpp#includeusingnamespacestd;#include"Status.h"typedefintSElemType;#include"SqStack.h"intmain(){SqStackS;SElemTypee;InitStack(S);Push(S,2);Push...
分类:其他好文   时间:2015-12-03 00:40:45    阅读次数:175
D_S 循环队列的基本操作
//main.cpp #includeusingnamespacestd;#include"Status.h"typedefintQElemType;#include"SqQueue.h"intmain(){SqQueueQ;QElemTypee;InitQueue(Q);EnQueue(Q,1);...
分类:其他好文   时间:2015-12-03 00:19:24    阅读次数:249
active-mq的安装
当然,编译之前还需要安装下面几个库:1、apr-1.4.2.tar.gz2、apr-util-1.3.10.tar.gz3、activemq-cpp-library-3.2.4-src.tar.gz其中,以上第2个工具安装的时候,要用 ./configure --with-apr=/usr/loca...
分类:其他好文   时间:2015-12-02 20:32:28    阅读次数:141
哪几个数的阶乘末尾有n个0?其中n是一个正整数,从键盘输入
题目:哪几个数的阶乘末尾有n个0?其中n是一个正整数,从键盘输入。 1 int main( void ) /* name: zerotail.cpp */ 2 { int num, n, c, m; 3 cout0):"; cin>>n; 4 while( n>0 )...
分类:其他好文   时间:2015-12-02 10:32:26    阅读次数:193
Xcode新建cpp文件,头文件默认为.hpp后缀。如何默认创建.h后缀?
1)Go to Folder/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates/Source/C++ File.xctemplate/WithHeader2)将___FILEBASENAM...
分类:其他好文   时间:2015-12-01 18:07:26    阅读次数:2396
C/C++中各种类型int、long、double、char表示范围(最大最小值)
[cpp]view plaincopy#include#include#includeusingnamespacestd;intmain(){cout::max)();cout::min)()::max)();cout::min)()::max)();cout::min)()::max)();cou...
分类:编程语言   时间:2015-12-01 18:03:25    阅读次数:257
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!