linux上编程工具,Linux 编程工具

Linux

Linux1Code::blocksVimGCCGDBCode::blocksC/C++C++wxWidgets

3Code::blocks

Code::blocks

Code::blocksLinuxc/c++

http://blog.csdn.net/aa2650/article/details/12582651

6(vi & vim)vilinux Unix-Like vim vi vivim Vim Unix Like vi vim vi h :w , a/A, i/I,j :w! o/O.k :q! l :wq! 0 :e! $ :w filename H :set nu M :set nonu dd :nohlsearch yy :set nohlsearch p,P :sp u gg [Ctrl]+w

8Linuxc/c++

9(GCC/G++)GCC(GNU Compiler CollectionGNU)Unix-likeWindowsGNU C CompilerCC++ FortranPascalGCCG++GNUcc++.c, gccc, g++c++.C / .cc / .cpp, c++.

Linuxc/c++

11(GDB)GNUlinuxLinuxc/c++

13makefile & make.Linux gccIDE, IDELinuxgcc MySQLMakefilemakemakefile14ex_main.cppex_output.cpp#include #include "ex_output.h"int main(){display("Hello world!\n");return 0;}

#include

int display(const char *str){printf( "The str is %s\n", str );return 0;}

g++ -c ex_main.cpp ex_output.cppg++ -0 ex_main ex_main.o ex_output.omakefilemain: ex_main.o ex_output.og++ -o ex_main ex_main.o ex_output.o

ex_main.o:ex_main.cppg++ -c ex_main.cpp

ex_output.o:ex_output.cppg++ -c ex_output.cppVim

Normaliinsert:InsertEscnoramlNormalNormaliInsert:wq + (:w , :q :w :q :q! ddp: hjkl

Normal:

:q!vim:wvim:xvim:! commandshell:e filename/http://linuxconfig.org/vim-tutorial

http://coolshell.cn/articles/5426.html

GCC

C*.c.h#ifdef #include#define*.igcc -E test.c -o test.i*.i*.s GCCgcc -S test.i -o test.s*.s*.oGCCGCC -c test.s -o test.o*.sGCC test.o -o testGCC$ GCC -c test.c$ GCC -o test$ GCC -o test first.c second.c third.c

$ gcc -Wall test.c -o test-Wall

GDBgcc g gdbfile: r: b: c: sn: pprint, p n

b b 8b b main

gg++ 1.cpp o mytest -g

gdb mytest

29GDBhttp://cs.baylor.edu/~donahoo/tools/gdb/tutorial.htmlhttp://www.cprogramming.com/gdb.htmlhttp://blog.csdn.net/lyjtynet/article/details/4057723Linuxls, cd, pwd, mkdir, rm, rmdir, mv, cp, cat, morewhereis,chmod, ps, kill, jobs, bg, fg, tar, gzip, grep, wc, wgetlinux vim + gcc + gdbcode::blocks

cat: cat-nlog2012.loglog2013.log

more: Entern1Ctrl+FCtrl+B=fVvi!Shellqmore

Linuxhttp://www.cnblogs.com/peida/tag/%E6%AF%8F%E6%97%A5%E4%B8%80linux%E5%91%BD%E4%BB%A4/default.html?page=4

31

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值