¡¾¡ïC/C++½±Àø»ù½ð-3ÆÚ¡ï¡¿
C/C++ 2009-9ר¼Ò°ñ
Ãû´Î ר¼ÒÃû³Æ ר¼Ò·Ö ¸öÈËÃèÊö
1 mstlq £¨ÃæÉ«Ìú·ÇÅ£© 5843 ÒòΪ²Ë£¬ËùÒÔŬÁ¦Ñ§Ï°ÖÐ
2 whg01 £¨¼°Ê±½áÌùÊÇÃÀµÂ£© 2777 Ëã·¨»¹ÊÇƽ̨£¿
3 thy38 £¨£© 2392
4 brookmill £¨brookmill£© 1768 brookmill
5 hairetz £¨ÐÄÓûС¶øÖÇÓû´ó£© 1706 ·º¶ø²»¾«,·ÂþÂþÆäÐÞÔ¶Ùâ.
ÌØÊâ½±Àø±¾´Î°ä·¢¸øLoaden£¬¸ÐлÆäÒ»Èç¼ÈÍùµÄÈÈÐÄÓÚ°æÎñ¹¤×÷£¬ÐÁ¿àÁË¡£
Çë¸÷λ»ñ½±ÈËÔ±½Ó·Ö£¡Ï£Íû¸÷λÔÙ½ÓÔÙÀ÷£¡
˳ף¸÷λÐÂÀÏÅóÓÑË«½ÚÓä¿ì £º£©
up
up
лл³æ×ÓÀÏ´ó£¡
ÇÀ¸ö°åµÊ×ø×ø...^_^
Ö§³ÖÀϵË^_^
Ö§³Ö£¡
¶¥Ò»¸ö£¬Ïò2¼¶Å¬Á¦ing
up
½ÚÈÕ¿ìÀÖ^_^
¶¥ ÖÐÇï½Ú¿ìÀÖ
up!
Ïò´óϺÃÇѧϰ
up¡«¡«
Ò»Ö±ÒÔÀ´¾ªÌ¾ÓÚ mstlq ÎÞÓëÂױȵÄÀ·ÖËٶȡ«¡«
Ç°ÈýÃûÌìÌì¼û£¬È·ÊµÀ÷º¦¡£¡£ºÇºÇ¡£¡£thy38ÊÇÎÒ¸çÃÇ¡£¡£¹þ¹þ¡£¡£
¡¡¡¡
Ïò´óϺѧϰ
up
Ö§³ÖÖ§³Ö ͬÑùÅå·þmstlqµÄÇÀ·ÖËÙ¶È
Õâ¸öÔ¾ÓÈ»»¹ÄÜÓÐÎÒ£¬²»´í¡£¡£
ѧϰ¡£
Ö§³Ö°æÖ÷£¡
mstlqÒÀÈ»ºÜÃÍ¡£
°¦£¬×î½ü³ÁÃÔÓÚ׬·Ö£¬µ¼ÖÂÉú»î¡¢Ñ§Ï°µÈ·½ÃæºÜ¶à¶«Î÷û×öºÃ¡¡
¼ìÌÖ£¬¼ìÌÖ¡¡
ºÙºÙ£¬×¬·ÖÊÇ»áÉÏñ«µÄ.../
Ïà¹ØÎÊ´ð£º
Ëã·¨Á÷³Ì
±¾Îĸù¾Ý¡¶ÖйúÒøÁªÖ±ÁªPOSÖն˹淶¡·µÄ²ûÊö£¬ÓÃCÓïÑÔ±à³ÌʵÏÖ£¬¸ÃËã·¨ÔÚʵ¼ÊµÄÉÌÒµPOSÖÕ¶ËÖÐʹÓá£POSÖն˲ÉÓãţãµļÓÃÜ·½Ê½£¬¼òÊöÈçÏ£º
a) ½«Óû·¢Ë͸øPOSÖÐÐĵÄÏûÏ¢ÖУ¬´ÓÏûÏ¢ÀàÐÍ£¨MTI£©µ½63Ó ......
¿ªÊ¼Ñ§OS,°´Á·Ï°ÒªÇóдµÄ´úÂëÔÚgccÏÂÎÞ·¨±àÒ룺
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
void SIGFPEhandler2(int s ......
/*-----------c.h--------------*/
#ifndef _C_H_
#define _C_H_
extern "C" int add(int x, int y);
#endif
/*-----------c.c--------------*/
int add(int x, int y){
return ......
´ó¼Ò°ïÎÒ¿´¿´Õâ¸ö´úÂ룬ÓкܶàÎÊÌ⣬²»ÖªµÀÔõô¸Ä£¬Ð¡µÜÔÚ´ËллÁË¡£
#include <stdio.h>
#include <conio.h>
#include <ctype.h>
float date1,date2;
char op;
void ......
дÁËÒ»¶Î³ÌÐò
C/C++ code:
..
MYSQL* mysql£»
MYSQL_RES* res;
//ÎÒÏëʵÏÖÒ»¸ö²é¿´ÓÐûÓÐ mysql½á¹¹£¬Èç¹ûûÓоÍÁ¬½Ó¡£
void connect()
{
mysql_init(mysql);
mysql_realconnect(. ......