`
wwq100
  • 浏览: 18583 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
在windows下一般都是用的sourceinsight,到也好用,但偶而也玩玩vim。source insight执行外部命令,可以在设置中定义一个自定义键,gvim 当然也很好搞哪,冒号加!就可以了,也可以在配置vimrc中加一个快捷键,比如我加了 F11。但直接vim启动程会先弹出一个cmd窗口,里面显示这个程序的返回值什么的,有没有办法去掉了,在我的反复尝试下,发现是可以的,那就是不要直接调这个程序,而是用 start + 程序名 的方式调用。 比如我这里配置好后,F11打开explorer 并且选中当前buff编辑的文件,再也不会弹出黑色框了。 !start explore ...
int ledPin =8; void setup() { pinMode( ledPin,OUTPUT); } void loop() { digitalWrite(ledPin, HIGH); delay(2000); digitalWrite(ledPin,LOW); delay(1000); }
http://developer.apple.com/library/mac/documentation/MusicAudio/Conceptual/AudioQueueProgrammingGuide/AudioQueueProgrammingGuide.pdf
/* File: AQPlayer.h Abstract: Helper class for playing audio files via the AudioQueue Version: 2.4 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, mo ...
/* File: AQRecorder.h Abstract: Helper class for recording audio files via the AudioQueue Version: 2.4 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation ...
《C专家编程》: 20121129:45 20121201:85

状态不好

状态不好,字数不够
如果你问一个IT人士“C++如何实现类似Java的反射?”,结果会怎样呢?~!@#¥%……&*,估计大部分人都会要稍微思考了一下,或者直接说“C++根本就不支持反射的呀!”。 是的,C++语言本身是不支持反射的,但实际应用中 ...
/******************************************************************** *created: 2010/01/23 *created: 23:1:2010 9:35 *filename: d:/svn/cpp_primer_charpter_15/cpp_test/Basket.h *author: WWQ *purpose: 购物框类 *********************************************************************/ #pragma once ...
整理硬盘资料,看见的一段代码。贴上来备份 //LCD驱动芯片1335控制器C51源程 // /*include files */ #include "w78e58.h" //#include "zimo.h" //这是自己做的一个汉字库, #include "stdio.h" #include "stdlib.h" #include &qu ...
Sub 去编号() ' ' 去编号 Macro ' 宏在 2010-1-18 由 wwq 创建 ' Dim kgslist As List For Each kgslist In ActiveDocument.Lists kgslist.ConvertNumbersToText Next End Sub
#include <iostream> #include <functional> #include <algorithm> #include <string> #include <vector> using namespace std; int main() { const int ARR_SIZE=7; int ia[ARR_SIZE]={1,1025,2,1026,1030,3,1048}; vector<int> ivec(ia,ia+ARR_SIZE); string sa[ARR_S ...
复制构造函数在书上列举了五种应用场景,但在G++上发现,在从函数返回时,并不调用复制构造函数 /* ** Copyright (C) QPSOFT.COM All rights reserved. */ #include<string> #include<vector> #include<iostream> using namespace std; class Employee { public: Employee() : name ("NoName"), id (counter) { ...
//找出一个字符串中从头到尾不重复的第一个字符,如“aab”,是‘b’ #include <map> #include <iostream> #include <string> #define _DEBUG int main() { using namespace std; string str; cout<<"请输入一个字符串:"<<endl; cin>>str; #ifdef _DEBUG for (string::iterator its=str.begin(); ...
#include <iostream> #include <string> using namespace std; class Screen { public: typedef string::size_type index; char get() const{return contents[cursor];} inline char get(index ht,index wd) const; index get_cursor() const; Screen (index hght,index wdth,const string &c ...
Global site tag (gtag.js) - Google Analytics