±àÒëÆÕͨµÄcûÎÊÌâ°¡£¬µ«±àÒëjavahÉú³ÉµÄ¾Í±¨´í£º
gcc -O0 -g3 -Wall -c -fmessage-length=0 -oHelloWorld.o ..\HelloWorld.c
gcc -otest.exe HelloWorld.o
d:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../libmingw32.a(main.o):main.c:(.text+0x104): undefined reference to `WinMain@16'
collect2: ld ......
±ÈÈ磺
char c[] = "hello,world";
char *c = "hello,world";
ÔÚ·ÖÅäÄÚ´æʱÊDz»Ò»ÑùµÄ°É£¿£¨·ÖÅäµ½¶Ñ»¹ÊÇջʲôµÄ£©
ËÄܸø½²½²CÖÐÄÚ´æÊÇÔõô·ÖÅäµÄ°¡£¿
»òÕ߸øÌṩ¸öÁ´½Ó
¶àлÀ²
http://blog.csdn.net/shansan/archive/2009/04/23/4103785.aspx
http://blog.csdn.net ......
ÏÂÃæÊÇÎҵĴúÂë ´ÓÄÚ´æдÈëÎļþÕýÈ· µ«´ÓÎļþ¶ÁÈëÄڴ涼ÊÇÂÒÂë ¶øÇÒ³ÌÐò±ÀÀ£ Çëc¸ßÊÖÖ¸µã
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct inf
{
char name[10];
char address[20];
lon ......
±àдһ¸ö³ÌÐòÓÃÁ´±íʵÏÖ£º½«Ò»¸öÉýÐòÕûÊýÊýÁеÄÖظ´Êý¾ÝÈ¥µô
±àºÃºó£¬½á¹û²»¶Ô°¡£¬ÇóÖúc¸ßÊÖ
#include <stdio.h>
#include <stdlib.h>
struct link
{
int number;
struct link *next;
};
struct link* creat()
{
struct link *p1,*p2;
struct link *head; ......
ÒÑÓÐa,bÁ½¸öÁ´±í£¬Ã¿¸öÁ´±íÖеĽáµã°üÀ¨Ñ§ºÅ£¬³É¼¨¡£ÒªÇó°ÑÁ½¸öÁ´±íºÏ²¢£¬°´Ñ§ºÅÉýÐòÅÅÁÐ
Á¬½Óº¯ÊýÓÐÎÊÌâ Çë¸ßÊÖÖ¸µã
#include <stdio.h>
#include <stdlib.h>
struct student{
int number;
int score;
struct student * next;
};
struct student * creat(){
int number; ......
CÅÌ9G£¬ËãÁËһϸ÷ÖÖÎļþ°üÀ¨ÒþÐÎ×ܹ²²»µ½2G£¬¿ÉÊÇϵͳÏÔʾֻʣÓà1¸ö¶àG£¬ÎÒÒѾ½«¸÷ÖÖÁÙʱÎļþ¶¼É¾³ýÁË£¬°üÀ¨´ÅÅÌÇåÀí£¬Ôõô»ØÊ£¿Ð»Ð»»Ø´ð
ʲôϵͳ£¿
ÐéÄâÄÚ´æÉèÖõ½ÆäËüÅÌ£»
¹Ø±Õϵͳ»¹Ô£»
ɾ³ýÐÝÃßÎļþ£»
ɾ³ý²»ÐèÒªµÄÊäÈë·¨£»
XP²Ù×÷ϵͳÕý³£°²×°Íê³É¶¼Òª2GB×óÓÒ£¬Èç¹ûÊÇvista¾Í¸ü¿äÕÅÁË¡£Äã°²× ......