1.å¦ä¹ Cè¯è¨çç½ç«
2.å¦çCè¯è¨ç¼ç¨å¦ä¹ å¿
å¤çä¸äºç½ç«
3.有没有300行左右的语言论语C语言课程设计的源代码
4.C/C++程序设计学习与实验系统简介
5.能不能给我发个用c语言课程设计餐馆小系统的源代码
å¦ä¹ Cè¯è¨çç½ç«
VCç¥è¯åº
æä¾Visual C++ç¨åºæºä»£ç ãç¼ç¨ææãåå ¶å®VCèµæï¼è¿æ论å交æµã
å¯Cä¸ç
主è¦å æ¬Cè¯è¨æ室ãCæ°æ®ç»æã软件ä¸è½½ãææ¯è®ºåçï¼è¿éç论åä¸éçã
VC大æ¬è¥
VCç±å¥½è å¶ä½çç½ç«ï¼è§åè¿æ¯æºç³»ç»çï¼å 容ä¹ä¸éã
Cè¯è¨ä¹å®¶
æä¾æºç¨åºä»£ç åå¦ä¹ èµæçä¸è½½ï¼æ论å交æµã
C++ Builderå¼åè
æä¾æ§ä»¶ãæºä»£ç ãç³»ç»è¡¥ä¸ãçµå书ç±çä¸è½½ï¼å¦ææ§ä»¶ä½¿ç¨åç¼ç¨æå·§ã
Visual C++æå·§ä¸æºä»£ç
ä¸ä¸ºå¼åè 设计ï¼å¤§éçæºä»£ç ãå ¨é¢ç详ç»ä»ç»ã
åçæºçCè¯è¨
ä¸é¢è®ºåï¼åçæºçCè¯è¨ï¼Keil C解å¯çä¸è½½ã
VCä¹è·¯
综å软件å¼åç½ï¼ä»¥VC++ç¼ç¨ä¸ºä¸»ã
Visual C++å¼åæå
æ¯ä¸ä¸ªä¸Visual C++å¼åç¸å ³çä¸ä¸ç½ç«ï¼æ¬ç«ç®åçå½¢å¼ä¸»è¦ä»¥å¼åèµæºåå¼å论å为主ï¼ä¸»è¦æ¯ä¸ºäºç»å¹¿å¤§çå¼å人åæä¾ä¸ä¸ªè·åèµæºåèªç±äº¤æµçåºæã
VCç¼ç¨ç½
VCç¼ç¨å¦ä¹ çç½ç«ï¼æä¾å 大ä¸é¢å丰å¯çææ¡£èµæ以åå¾å¥½ç论åã
C++ Builderç¼ç¨ä¿±ä¹é¨
æ¶éçç¼ç¨æå·§ãä¾ç¨ãæ§ä»¶çè½ç¶éä¸å¤ï¼ä½é½æ¯ç«é¿ç²¾å¿çéçï¼ç½ç«å®æ¨æ¯ä¸å¹¿å¤§ç¼ç¨ç±å¥½è 们ä¸åè¿æ¥ã
VCCode
æä¾C/C++æºä»£ç ä¸ææ¯æç« ï¼å¤©å¤©æ´æ°ï¼é¾å æä¾ææ¯äº¤æµç¤¾åºã
å¦çCè¯è¨ç¼ç¨å¦ä¹ å¿ å¤çä¸äºç½ç«
Cè¯è¨å¸¸ç¨å¦ä¹ ç½ç«1ãCè¯è¨ç½
Cè¯è¨ç½(www.dotcpp.com)ä¸ä» æä¾Cè¯è¨ï¼è¿å æ¬C++ãjavaãç®æ³ä¸æ°æ®ç»æç课ç¨å¨å çåç§å ¥é¨æç¨ãè§é¢å½åãç¼ç¨ç»éªãç¼è¯å¨æç¨å软件ä¸è½½ãé¢è§£å客ï¼æºç å享çä¼è´¨èµæºï¼æå¡è¾¹å¦è¾¹ç»è¾¹å享ï¼åæ¶æä¾å¯¹å£çITå·¥ä½ï¼æ¯å½å é¢å å®ç¨ç综åæ§ç¼ç¨å¦ä¹ ç½ç«!
2ãCè¯è¨ä¸æç½
Cè¯è¨ä¸æç½æ¯ä¸å½é¢å çCè¯è¨ç¨åºè®¾è®¡ä¸ä¸ç½ç«ï¼æä¾Cè¯è¨å ¥é¨ç»å ¸æç¨ãCè¯è¨ç¼è¯å¨ãCè¯è¨å½æ°æåï¼Cè¯è¨ç¼ç¨æå·§ï¼Cè¯è¨èè¯è¯é¢çæ¯å¦ä¹ ãèªå¦Cè¯è¨ç¨åºè®¾è®¡ç好帮æ
3ãèé¸æç¨
æ¬ç½ç«æä¾äºä¸äºCè¯è¨çæç¨åCçæ ååºï¼éå使ç¨Cè¯è¨ç¼ç¨çç¨åºåã
4ãå¾çµç¤¾åº
æä¾äºä¸äºæå ³Cè¯è¨çå¾ä¹¦ï¼ä¹å¯ä»¥å¨æ¤ç¤¾åºå¯»æ¾å ¶ä»ç¼ç¨ç±»å¾ä¹¦
5ãæçå¼å¸¸ç½
æçå¼å¸¸ç½ä¹Cè¯è¨æ ç®æä¾æå¨çCè¯è¨ç¸å ³çBUGãå¼å¸¸ãé误é®é¢è§£å³æ¹æ¡ï¼ä¹æå ¶ä»ç¼ç¨å¸¸è§çå¼å¸¸ï¼æ¨è解å³ç¨åºä¸å¼å¸¸ä½¿ç¨æ¤ç½ç«
6ãBCCNä¸è½½é¢é
æ¬ç½ç«æä¾äºä¸äºCè¯è¨å¼åå·¥å ·ï¼çµå书ï¼èµæçç¸å ³æç¨ã
7ãç«é¿ä¹å®¶
æä¾äºCè¯è¨çèµè®¯ççç
8 ãfenby
ä¸ä¸é¢ååå¦è çå¨çº¿äºå¨ç¼ç¨å¦ä¹ å¹³å°
有没有行左右的C语言课程设计的源代码
#include <stdio.h>
#include <stdlib.h>
#include "windows.h"
#include "string.h"
#define S_MAX
int user_count=0; //用户信息的总数
int book_count=0;
char ini_path[]={ "\0"}; //数据文件的绝对路径
char user_path[]={ "\0"}; //用户数据文件的绝对路径
char book_path[]={ "\0"};
int book_pos=0; //book数组的计数
int user_pos=0;
struct user_data
{
char name[];
char book_name[];
}user[S_MAX];
struct book_data
{
char no[];
char name[];
char author[];
char money[];
char in_or_out[];
char user_name[];
}book[S_MAX];
void read_file() //从文件读取数据
{
user_pos=0;
int i;
for(i=0;i<S_MAX;i++)
{
memset(user[i].name,'\0',);
memset(user[i].book_name,'\0',);
memset(book[i].no,'\0',);
memset(book[i].name,'\0',);
memset(book[i].author,'\0',);
memset(book[i].money,'\0',);
memset(book[i].in_or_out,'\0',);
memset(book[i].user_name,'\0',);
}
user_count=GetPrivateProfileInt("USER","user_count",0,user_path);
book_count=GetPrivateProfileInt("book","book_count",0,book_path);
for(i=0;i<user_count;i++)
{
char t[5]={ "\0"};
sprintf(t,"%d",i+1);
GetPrivateProfileString(t,"name","",user[i].name,,user_path);
GetPrivateProfileString(t,"book_name","",user[i].book_name,,user_path);
user_pos++;
}
for(i=0;i<book_count;i++)
{
char t[5]={ "\0"};
sprintf(t,"%d",i+1);
GetPrivateProfileString(t,"no","",book[i].no,,book_path);
GetPrivateProfileString(t,"name","",book[i].name,,book_path);
GetPrivateProfileString(t,"author","",book[i].author,,book_path);
GetPrivateProfileString(t,"money","",book[i].money,,book_path);
GetPrivateProfileString(t,"in_or_out","",book[i].in_or_out,,book_path);
GetPrivateProfileString(t,"user_name","",book[i].user_name,,book_path);
book_pos++;
}
}
void write_file()
{
int i;
for(i=0;i<user_count;i++)
{
char t[5]={ "\0"};
sprintf(t,"%d",i+1);
WritePrivateProfileString(t,"name",NULL,user_path);
WritePrivateProfileString(t,"book_name",NULL,user_path);
WritePrivateProfileString(t,"no",NULL,book_path);
WritePrivateProfileString(t,"name",NULL,book_path);
WritePrivateProfileString(t,"author",NULL,book_path);
WritePrivateProfileString(t,"money",NULL,book_path);
WritePrivateProfileString(t,"in_or_out",NULL,book_path);
WritePrivateProfileString(t,"user_name",NULL,book_path);
}
char temp[5]={ "\0"};
int temp_count=0;
for(i=0;i<user_pos;i++)
{
if(strcmp(user[i].name,"")==0)
{
continue;
}
char t[5]={ "\0"};
sprintf(t,"%d",i+1);
WritePrivateProfileString(t,"name",user[i].name,user_path);
WritePrivateProfileString(t,"book_name",user[i].book_name,user_path);
temp_count++;
}
sprintf(temp,"%d",temp_count);
WritePrivateProfileString("USER","user_count",temp,user_path);
temp_count=0;
for(i=0;i<book_pos;i++)
{
if(strcmp(book[i].no,"")==0)
{
continue;
}
char t[5]={ "\0"};
sprintf(t,"%d",i+1);
WritePrivateProfileString(t,"no",book[i].no,book_path);
WritePrivateProfileString(t,"name",book[i].name,book_path);
WritePrivateProfileString(t,"author",book[i].author,book_path);
WritePrivateProfileString(t,"money",book[i].money,book_path);
WritePrivateProfileString(t,"in_or_out",book[i].in_or_out,book_path);
WritePrivateProfileString(t,"user_name",book[i].user_name,book_path);
temp_count++;
}
sprintf(temp,"%d",temp_count);
WritePrivateProfileString("BOOK","book_count",temp,book_path);
}
void search_user_name() //按借书人姓名查询
{
system("cls");
char search_key[]={ "\0"};
printf("请输入要查询图书借书人:");
scanf("%s",search_key);
int i;
int s[]={ -1,-1,-1,-1,-1,-1,-1,-1,-1,-1};
int s_i=0;
int find=0;
for(i=0;i<book_pos;i++)
{
if(strcmp(book[i].user_name,search_key)==0)
{
find=1;
s[s_i]=i;
s_i++;
printf("\n编 号: %s",book[i].no);
printf("\n名 称: %s",book[i].name);
printf("\n作 者: %s",book[i].author);
printf("\n金 额: %s",book[i].money);
printf("\n状 态: %s",book[i].in_or_out);
printf("\n借 书 人: %s\n",book[i].user_name);
}
}
if(find==0)
{
printf("\n\n未找到符合条件的信息!");
}
else
{
for(i=0;i<s_i;i++)
{
printf("\n\n第%d本书: %s",坛系统课降本指标源码i+1,book[i].name);
}
printf("\n\n共%d本",i);
}
fflush(stdin);
getchar();
}
void search_book_author() //按图书作者查询
{
system("cls");
char search_key[]={ "\0"};
printf("请输入要查询图书的作者:");
scanf("%s",search_key);
int i;
int find=0;
for(i=0;i<book_pos;i++)
{
if(strcmp(book[i].author,search_key)==0)
{
find=1;
printf("\n编 号: %s",book[i].no);
printf("\n名 称: %s",book[i].name);
printf("\n作 者: %s",book[i].author);
printf("\n金 额: %s",book[i].money);
printf("\n状 态: %s",book[i].in_or_out);
printf("\n借 书 人: %s\n",book[i].user_name);
break;
}
}
if(find==0)
{
printf("\n\n未找到符合条件的信息!");
}
fflush(stdin);
getchar();
}
void search_book_name() //按图书名称查询
{
system("cls");
char search_key[]={ "\0"};
printf("请输入要查询图书的设源设计django 制作网站源码名称:");
scanf("%s",search_key);
int i;
int find=0;
for(i=0;i<book_pos;i++)
{
if(strcmp(book[i].name,search_key)==0)
{
find=1;
printf("\n编 号: %s",book[i].no);
printf("\n名 称: %s",book[i].name);
printf("\n作 者: %s",book[i].author);
printf("\n金 额: %s",book[i].money);
printf("\n状 态: %s",book[i].in_or_out);
printf("\n借 书 人: %s\n",book[i].user_name);
break;
}
}
if(find==0)
{
printf("\n\n未找到符合条件的信息!");
}
fflush(stdin);
getchar();
}
void search_book_no() //按图书编号查询
{
system("cls");
char search_key[]={ "\0"};
printf("请输入要查询图书的程序网站 图床源码编号:");
scanf("%s",search_key);
int i;
int find=0;
for(i=0;i<book_pos;i++)
{
if(strcmp(book[i].no,search_key)==0)
{
find=1;
printf("\n编 号: %s",book[i].no);
printf("\n名 称: %s",book[i].name);
printf("\n作 者: %s",book[i].author);
printf("\n金 额: %s",book[i].money);
printf("\n状 态: %s",book[i].in_or_out);
printf("\n借 书 人: %s\n",book[i].user_name);
break;
}
}
if(find==0)
{
printf("\n\n未找到符合条件的信息!");
}
fflush(stdin);
getchar();
}
void search_all_book() //查询所有图书
{
system("cls");
if(book_pos==0)
{
printf("真TM穷,论坛账目管理系统源码一本书都没有");
}
else
{
int i;
printf("共有%d本书\n",book_pos);
for(i=0;i<book_pos;i++)
{
printf("\n编号:%s 名称:%s 作者:%s 金额:%s 状态:%s",book[i].no,book[i].name,book[i].author,book[i].money,book[i].in_or_out);
if(strcmp(book[i].in_or_out,"out")==0)
{
printf(" 借书人:%s",book[i].user_name);
}
}
}
fflush(stdin);
getchar();
}
void search_all_user() //查询所有用户
{
system("cls");
if(user_pos==0)
{
printf("要倒闭了?一个人都没有!");
}
else
{
int i;
printf("共有%d个用户\n",user_pos);
for(i=0;i<user_pos;i++)
{
printf("\n用户名称: %s 借书名称: ",user[i].name);
if(strcmp(user[i].book_name,"")!=0)
{
printf("%s",user[i].book_name);
}
else
{
printf("未借书");
}
}
}
fflush(stdin);
getchar();
}
void No7() //查询
{
int f=1;
int sel;
while(f)
{
system("cls");
printf("