ÕâÊÇÒ»¸öÓÃÁ´±í¼Ç¼¼üÅÌÊäÈëµÄѧÉú³É¼¨£¬×îÖÕÊä³ö×Ü·ÖµÚÒ»ÃûѧÉúµÄÏêϸÐÅÏ¢ºÍ³É¼¨µÄ³ÌÐò£¬ÊäÈëºÍÊä³ö²¿·Ö¶¼Ã»Ê²Ã´ÎÊÌ⣬ֻÊÇÅжÏÅÅÐò²¿·Ö×ÜÊÇÊä³ö²»ÕýÈ·£¬ÇóÖ¸½Ì
C/C++ code:
/*C language class exercise*/
#include<stdio.h>
#include<stdlib.h>
typedef struct link_list/*½¨Á¢Ò»¸öÁ´±í£¬³ÉÔ±ÊÇѧÉúµÄ ......
ÎҵijÌÐòʵÏÖµÄÊÇ:Ñ»·Ð£ÑéÂëµÄÉú³É ÒÔ¼° УÑé
µ«ÊÇ ·¢ÏÖÔÚlinux»·¾³Ï Ôõô²»³öÏÖ½á¹û°¡? ¹â±êÉÁÉÁµÄ¾ÍÊDz»³öÏÖ½á¹û
»¹Íû¸ßÊÖ Ö¸µã Ç××ÔÔËÐÐÒ»ÏÂ
Õâ¸öÎÊÌâÒѾ¾À½áÎҺþÃÁË
Íò·Ö¸Ðл
´úÂëÈçÏ£º
#include <stdio.h>
#include <string.h>
typedef struct
{
unsigned char d ......
#include<stdio.h>
#include<malloc.h>
#define MAX 4
typedef struct ArcNode{
int adjvex;
struct ArcNode *nextarc;
}ArcNode;
typedef struct VNode{
char data;
ArcNode *firstarc;
}VNode,AdjList[MAX];
typedef struct{
AdjList vertices;
int vexnum,arcnum;
}ALGraph;
void main ......
Ò»¹²ÓÐ3¸ö.cppÎļþ£¬2¸ö.hÎļþ
a.cpp a.h ¶¨ÒåÒ»¸öAÀà
b.cpp b.h ¶¨ÒåÒ»¸öBÀ࣬BÀàÖÐÓÐÒ»¸ö³ÉÔ±ÊÇAÀàµÄ¶ÔÏó
main.cpp ʹÓÃÁËBÀàµÄ¶ÔÏó
ÏÖÔÚÐèÒªÔÚLinuxϱàÒë
Ï£Íû¸ßÈËÖ¸µãһϣ¬Ð´Ò»¸ö×î¼òµ¥µÄmakefile¼´¿É£¬·Ç³£¸Ðл£¡
Ö§³Ö
ÒýÓÃ
ÄĸöÎļþÖÐʹÓÃÁËÄĸöÀֻ࣬ÐèÒªÔÚÆäÖаüº¬ÏàÓ¦µÄÍ·Îļþ¾Í¿ÉÒÔÁË¡£Õâ¸öÓ ......
ÎÒÏëͨ¹ýODBCÀ´²Ù×÷Êý¾Ý±í£¬µ«È´ÕÒ²»µ½×Ô¼ºÐ½¨µÄ±í£¬Ö»ÓÐн¨Êý¾Ý¿âʱ×Ô¶¯Éú³ÉµÄ±í
Ç¿µ÷£ºÔÚÆóÒµ¹ÜÀíÆ÷ÖÐÄÜÕÒµ½ÎÒ½¨µÄ±í
ÄÄλ³öÏÖ¹ýÀàËÆÎÊÌ⣿£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿£¿¾È¾ÈÎÒ°É¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢¡¢
ÄãÈ·¶¨ÄǸöÊÇÔÚͬһ¸öÊý¾Ý¿âÖУ¿ ·ÃÎÊȨÏÞÄØ
Äãн¨µÄ±í±£´æÁËÂð£¿Ã»±£´æµÄ»°£¬Êǿ϶¨¿´²»µ½µÎ
......
A±í ÓÐÁ½¸ö×Ö¶Î
id ΨһÊý×ÖÓò
InfoTxt text ÀàÐÍ
ÎÒÏÖÔÚÒª°Ñ id ²»ÊÇ14 µÄËùÓÐ InfoTxt×ֶΠÎı¾ºóÃæ ¶¼¼ÓÉÏ 'aaa'
°´ÏÂÃæÖ´ÐÐÏÂÀ´ Ö»Óбí×îºóÒ»ÐмÓÉÏÁË 'aaa' ¶ø±ðµÄÐеÄInfoTxt ¶¼³ÉÁË""¿ÕµÄ
Çë½ÌÇ°±²ÃÇ ÎÒÔõÑù×ö!!!!!!!!!!¼± ¼±
C# code:
......
×ܼǼÊý:1754; ×ÜÒ³Êý:293; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [4] [5] [6] [7] 8
[9] [10] [11] [12] [13] ÏÂÒ»Ò³ βҳ