GMgKe586q6suSQnyqZLlGCooeWM

Pages

Search

Saturday, November 27, 2010

C++ IDE

For Codeblock, please first download MinGW, then download and install Code::Block Ide.
You can learn more on install in here.
Or you can directly download the compact package - 76MB.
Share/Bookmark

Friday, November 26, 2010

About Pointer

#include

int a;
int *ptr;

int main()
{
a = 20;
ptr = &a;
}

The best link : here

The program will display:
value of *ptr: 20                         %d
value of &ptr: 0x00408060         %p
value of ptr: 0x0040805c              %p
Share/Bookmark

Lcc Guide

Just give a different name for c source file than the project name.
Share/Bookmark

How To Make Program In C

#1. Save the source file as a c extension
#2. Give the command: lcc somefile.c
#3. Give the command lcclnk somefile.obj
#4. Run your program somefile.exe
Share/Bookmark