网上找了一个关于获取htm网页的源码编译是提示:fatal error: curl/curl.h: No such file or directory compilation terminated.初步怀疑是少了curl的库,去百度搜了一下,库的名字为libcurl。使用 apt-get install libcurl3 后编译,还是提示找不到头文件。经过搜索,在Ubuntu下是需要安装 libcu...
分类:
Web程序 时间:
2015-07-16 09:51:05
阅读次数:
1082
Java程序设计基础
3.1 Java编程概况
现在你可以复习一下Java语言的背景材料,它的基本结构象C/C++,但任何用面向过程语言编写过程序的人都可以了解Java语言的大部分结构.
3.1.1程序结构
Java语言的源程序代码由一个或多个编译单元(compilation unit)组成,每个编译单元只能包含下列内容(空格和注释除外):*一个程序包语句(package stat...
分类:
编程语言 时间:
2015-07-15 08:09:37
阅读次数:
250
源:java实现FFT变换/************************************************************************* * Compilation: javac FFT.java * Execution: java FFT N * ...
分类:
编程语言 时间:
2015-06-27 18:10:54
阅读次数:
143
Anahead-of-time (AOT) compileris acompilerthat implements ahead-of-time compilation. This refers to the act of compiling an intermediate language, suc...
分类:
编程语言 时间:
2015-06-23 06:04:48
阅读次数:
284
Android应用打包安装过程(Run as Android Application ):
1,过程:Android Project --> Compilation and Packaging --> Android Package(.apk) --> Signing --(ADB)--> Device or Emulator
2,Android Package(.apk)解压后的内容:
...
分类:
移动开发 时间:
2015-06-02 17:51:48
阅读次数:
135
The HotSpot interpreter is also a critical part of the overall HotSpot adaptive optimization story. Adaptive optimization solves the problems of JIT compilation by taking advantage of...
分类:
其他好文 时间:
2015-05-28 09:40:09
阅读次数:
131
1简介2简单编译2.1预处理2.2编译为汇编代码(Compilation)2.3汇编(Assembly)2.4连接(Linking)3多个程序文件的编译4检错5库文件连接5.1编译成可执行文件5.2链接5.3强制链接时使用静态链接库1简介GCC 的意思也只是 GNU C Compiler 而已。经过...
分类:
其他好文 时间:
2015-05-25 20:20:16
阅读次数:
149
There are four stages for GCC to compile c/c++ applications:Preprocessing, Compilation proper, Assembly, Linking.The following table illustrates input...
分类:
其他好文 时间:
2015-05-22 16:30:08
阅读次数:
157
不可能将所有的C++程序放到一个文件中咯,因此C++就支持了分离式编译(separate compilation)机制,它允许将程序分为若干个文件,每个文件可被独立编译。这样说明了,当你的程序有很多文件时,修改其中一个文件后不需要将所有文件都重新编译一遍,只需要编译修改过的就好,然后将它们都链接起来。C++是如何支持分离式编译的呢?通过将声明和定义分离开来。声明(declaration)使得名字为程...
分类:
编程语言 时间:
2015-05-20 22:23:49
阅读次数:
179
1. Install c/c++ compilation package.2. install openGL and freeGlut librarysudo apt-get install mesa-common-devsudo apt-get install freeglut3-dev3. te...
分类:
系统相关 时间:
2015-05-19 18:55:27
阅读次数:
207