Home » Algorithm and Programming » Popular Posts

Popular Posts

[Oct 19, 2011 | Views: 1,789]
When do debugging and optimization, we sometimes need to generate and investigate into the assembly generated by the compiler. Generating a mixed source and assembly list will help the programmer ... read more »
[Mar 13, 2010 | Views: 776]
Vim provides some basic formatting commands. A combination of these commands with the editing commands will make the programmer happy. A list of basic text formatting commands in Vim: = is an ... read more »
[Dec 15, 2009 | Views: 571]
I begin to use vim for programming. I like the tools that focus on one function. I used to use emacs. But I think I like vim more. For debugging, I ... read more »
[Mar 10, 2011 | Views: 496]
read more »
[Dec 29, 2011 | Views: 460]
OCaml is an interesting functional language. There are lots learning materials on the Internet. I compile a list of resources for OCaml learning and reference. Recommended OCaml learning and reference material The ... read more »
[Oct 19, 2011 | Views: 425]
read more »
[Nov 9, 2011 | Views: 403]
One cool feature of gcc is that it can inline assembly into C code. With inline assembly, the programmer can precisely control the execution of the processor, such as forcing ... read more »
[Nov 3, 2008 | Views: 349]
read more »
[Nov 11, 2011 | Views: 328]
This post collect the reference resource for x86-64 (also know as Intel 64, AMD 64) ISA / assembly language programming. x86-64 is a 64-bit extension of the Intel x86 instruction ... read more »
[Mar 13, 2011 | Views: 326]
Here is a collection of good GDB Cheat Sheets from the Internet. GDB QUICK REFERENCE GDB Version 5 GDB Cheat Sheet gdb Cheatsheet GDB commands by function – simple guide read more »
[Nov 16, 2010 | Views: 241]
fclose is a frequently used C standard library which closes the file associated with the stream and disassociates it. NAME fclose – close a stream SYNOPSIS #include <stdio.h> int fclose(FILE *fp); DESCRIPTION The fclose() function will flushes ... read more »
[Jan 30, 2009 | Views: 226]
void show(const char *folderPath) { CFileFind finder; CString path(folderPath); path += "*.*"; BOOL bWorking = finder.FindFile(path); ... read more »
[Mar 5, 2010 | Views: 211]
C programming language allow any style the programmer like. A good style can make the code easy to understand and maintain, while a bad style will make the project a ... read more »
[Jan 30, 2009 | Views: 200]
read more »
[Apr 19, 2009 | Views: 187]
Convert string to int 1. The C way Use C standard library #include <cstdlib> #include <string> std::string text = "123"; int number = std::atoi (text.c_str ()); if (errno == ERANGE) //or may be std::errno { // ... read more »
[Jul 4, 2009 | Views: 175]
read more »
[Nov 9, 2011 | Views: 164]
Reference of the C++ Language Library, with detailed descriptions of its elements and examples on how to use its functions: http://www.cplusplus.com/reference/ C++ reference: http://www.cppreference.com/wiki/ read more »
[Aug 16, 2008 | Views: 151]
read more »
[Apr 28, 2009 | Views: 151]
A very very good introduction to OCaml: A C++/Java programmer’s introduction to Objective Caml read more »
[Oct 5, 2008 | Views: 145]
read more »
[Aug 16, 2008 | Views: 127]
read more »
[Aug 16, 2008 | Views: 126]
read more »
[Dec 3, 2011 | Views: 125]
I compile a list of C++ styles on the Internet. http://geosoft.no/development/cppstyle.html http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml http://www.mactech.com/articles/develop/issue_02/C%2B%2B_Style_Guide_v007.html http://www.cs.uga.edu/~dkl/1302/Fall99/style.html read more »
[Dec 19, 2011 | Views: 120]
“The C language provides no built-in facilities for performing such common operations as input/output, memory management, string manipulation, and the like. Instead, these facilities are defined in a standard library, ... read more »
[Aug 16, 2008 | Views: 106]
read more »
[May 9, 2012 | Views: 12]
When we program in C, a C reference by hand is usually useful. The GNU C Reference Manual provides us a good reference for the C programming language implemented by ... read more »
[May 15, 2012 | Views: 8]
Integers are natively supported in Bash shell. However, what if we use floating point in Bash shell? The short and direct answer is using ‘bc‘ command – “An arbitrary precision calculator ... read more »
Author: Zhiqiang Ma Posted on: May 15, 2012 Views: 8
Tags: , , , , , , ,