上一页 1 ··· 3 4 5 6 7 8 下一页
原地址: http://blog.csdn.net/abcjennifer/article/details/7573916Linux下出现launch failed.Binary not found的解决方案:首先当你把网上关于mingw的解决方案都看晕了的时候,告诉你,别看关于mingw的了。Linux下不用mingw,直接由Linux GCC完成1、看你的Eclipse下面控制台Console输出,如果有g++ not found 的话,说明你的系统g++没安装成功。解决方案:Ctrl+Alt+t到terminal(控制台)模式,输入sudo apt-get install g++2、还不 Read More
posted @ 2014-01-14 23:16 刺客主谋 Views(245) Comments(0) Diggs(0) Edit
1. c_str是把string类型强制转换为const string2. atpi(): Convert string to integer --Parses the C-string str interpreting its content as an integral number, which is returned as a value of type int.int atoi (const char * str);atol:Convert string to long integer (function )atof:Convert string to double (functio Read More
posted @ 2014-01-14 06:27 刺客主谋 Views(181) Comments(0) Diggs(0) Edit
As you are just learning C, i recommend you to really try to understand the differences between arrays and pointers first instead of the common things.In the area of parameters and arrays, there are a few confusing rules that should be clear before going on. First, what you declare in a parameter li Read More
posted @ 2014-01-14 06:23 刺客主谋 Views(254) Comments(0) Diggs(0) Edit
int main(int argc, char* argv[])這兩個參數的作用是什麼呢?argc 是指命令行輸入參數的個數,argv存儲了所有的命令行參數。假如你的程式是hello.exe,如果在命令行運行該程式,運行命令為:hello.exe hello world那麼,argc的值是 3,argv[0]是"hello.exe",argv[1]是"hello",argv[2]是"world"。... Read More
posted @ 2014-01-14 06:07 刺客主谋 Views(449) Comments(0) Diggs(0) Edit
GNU/Linux Method A: Tuxboot下載 GNU/Linux 版本使用的 Tuxboot 在您的環境 在 GNU/Linux 下,請依 指示 來執行 Tuxboot 並安裝再生龍在您的 USB 裝置.安裝與使用如 果使用MS Windows環境,下載tuxboot程式,點選執行後,選擇所要的套件,tuxboot就會下載,或者也可以選擇已經預先下載過的iso或zip檔 案,然後再... Read More
posted @ 2014-01-13 21:49 刺客主谋 Views(612) Comments(0) Diggs(0) Edit
Once you finished yourinstallation of Python on your Windows OS, GNU/Linux or Mac OS, let me tell you how to install it on your favorite IDE, Eclipse.First of all, you have todownload Eclipse on th... Read More
posted @ 2014-01-13 18:23 刺客主谋 Views(247) Comments(0) Diggs(0) Edit
学习C++ -> 指针初步一、指针 1. 什么是指针? 我们知道, 计算机的内存是由一个个独立的存储单元组成, 并且系统会对每一个存储单元分配一个唯一的号码, 称为这个存储单元的"地址"。分配号码给一个存储单元的目的是为了便于找到它, 从而进行进一步的操作, 比如是读取还是写入。 在C++中, 如果要对某个存储单元进行访问(读取/写入), 有两种方... Read More
posted @ 2014-01-04 05:17 刺客主谋 Views(172) Comments(0) Diggs(0) Edit
学习C++ -> 引用( References )一、引用的介绍 引用就是某一变量(目标)的一个别名, 相当于同一个人有了两个名字, 无论喊哪一个名字实际上都是指的同一个人。 同样, 在引用上, 对引用的操作与对变量直接操作的效果完全一样, 因此, 修改引用的值就是在修改变量的值。 从内存角度来说, 引用与变量名指向的都是同一处内存, 对引用地址的操作与对变量名地址的操作都是对... Read More
posted @ 2014-01-04 04:57 刺客主谋 Views(227) Comments(0) Diggs(0) Edit
学习C++ -> 类(Classes)的定义与实现一、"类" 的介绍 在C++中, 用 "类" 来描述 "对象", 所谓的"对象"是指现实世界中的一切事物。那么类就可以看做是对相似事物的抽象, 找到这些不同事物间的共同点, 如自行车和摩托车, 首先他们都属于"对象", 并且具有一定得相同点, 和一些不同点, 相同点如他们都有质量、都有两个轮子, 都是属于交通工具等。"都有质量"、"两个轮子"属于这个对象的属性, 而"都能够当做交通工具&qu Read More
posted @ 2014-01-04 04:47 刺客主谋 Views(223) Comments(0) Diggs(0) Edit
原文:http://www.cnblogs.com/madengwei/archive/2008/02/18/1072410.html[摘要]指针是C和C++语言编程中最重要的概念之一,也是最容易产生困惑并导致程序出错的问题之一。利用指针编程可以表示各种数据结构, 通过指针可使用主调函数和被调函数之间共享变量或数据结构,便于实现双向数据通讯;并能像汇编语言一样处理内存地址,从而编出精练而高效... Read More
posted @ 2014-01-04 03:46 刺客主谋 Views(534) Comments(3) Diggs(1) Edit
上一页 1 ··· 3 4 5 6 7 8 下一页