内容管理系统源码(求图书馆管理系统C++源代码)

2026-05-22 19:05:01 :2

内容管理系统源码(求图书馆管理系统C++源代码)

大家好,关于内容管理系统源码很多朋友都还不太明白,不过没关系,因为今天小编就来为大家分享关于求图书馆管理系统C++源代码的知识点,相信应该可以解决大家的一些困惑和问题,如果碰巧可以解决您的问题,还望关注下本站哦,希望对各位有所帮助!

本文目录

求图书馆管理系统C++源代码

#include《iostream》
#include《fstream》
#include《windows.h》
#include《stdlib.h》
using namespace std;
void mainmenu();
void Manage_Book();
void input_Book();
void input_Reader();
void New_Book();
void Seek_Book();
void Borrow_Manage();
void Borrow_Book();
void Return_Book();
void Output_Message();
void Exit_System();
int u,v=3,k=0;
struct Book
{
char name;
int booknumber;
int num_present;
int num_all;
}book;
struct Reader
{
char name;
int readernumber;
int card;
}reader;
void mainmenu()
{
int Num_Choice1,flag=1;
system("color E");
for(;k《=0;k++)
{
input_Book();
input_Reader();
}
while(flag==1)
{
system("cls");
cout《《"\t\t\t◆◆◆◆◆主菜单◆◆◆◆◆"《《endl
《《"\t\t\t☆ 1.图书管理 ☆"《《endl
《《"\t\t\t☆ 2.借阅管理 ☆"《《endl
《《"\t\t\t☆ 3.输出信息 ☆"《《endl
《《"\t\t\t☆ 4.退出系统 ☆"《《endl
《《"\t\t\t◆◆◆◆◆◆◆◆◆◆◆◆◆"《《endl;
cout《《"请输入所需要的服务编码"《《endl;
cin》》Num_Choice1;
switch(Num_Choice1)
{
case 1:
Manage_Book();
break;
case 2:
Borrow_Manage();
break;
case 3:
Output_Message();
break;
case 4:
Exit_System();
flag=0;
break;
default:
flag=0;
cout《《"输入有误!!"《《endl;
}
}
}
void Manage_Book()
{
int flag1=1,Num_Choice2;
system("cls"); while(flag1==1)
{
cout《《"\t\t\t◆◆◆◆◆◆◆◆◆◆◆◆◆"《《endl
《《"\t\t\t☆ 1.新书入库 ☆"《《endl
《《"\t\t\t☆ 2.图书查询 ☆"《《endl
《《"\t\t\t☆ 3.返回主菜单 ☆"《《endl
《《"\t\t\t◆◆◆◆◆◆◆◆◆◆◆◆◆"《《endl;
cin》》Num_Choice2;
switch(Num_Choice2)
{
case 1:
flag1=2;
New_Book();
break;
case 2:
flag1=2;
Seek_Book();
break;
case 3:
mainmenu();
default:
flag1=1;
cout《《"输入有误!"《《endl;
system("pause");
system("cls");
}
}}
void input_Book()
{
cout《《"请依照提示输入现有的三本图书的信息:"《《endl;
for(int i=0;i《3;i++)
{
cout《《"书名:"《《endl;
cin》》book.name;
cout《《"书号:"《《endl;
cin》》book.booknumber;
cout《《"库存量:"《《endl;
cin》》book.num_all;
cout《《"现存量:"《《endl;
cin》》book.num_present;
}
}
void New_Book()
{
system("cls");
int j;
char newbook_name;
cout《《"请输入新书书名:"《《endl;
cin》》newbook_name;
for(j=0;j《1000;j++)
{
if(strcmp(newbook_name,book.name)==0)
{
book.num_all++;
book.num_present++;
break;
}
}
if(j==1000)
{
cout《《"请为此新书编号:"《《endl;
v++;
cin》》book.booknumber;
strcpy(book.name,newbook_name);
book.num_all=1;
book.num_present=1;
}
else cout《《"已有此书,库存量加一"《《endl;
system("pause");
}
void Seek_Book()
{
system("cls");
int k,booknumber;
cout《《"请输入所要查询的书号:"《《endl;
cin》》booknumber;
for(k=0;k《1000;k++)
{
if(book.booknumber==booknumber)
{
cout《《"书号:"《《booknumber《《endl;
cout《《"书名:"《《book.name《《endl;
cout《《"库存量:"《《book.num_all《《endl;
cout《《"现存量:"《《book.num_present《《endl;
system("pause");
break;
}
}
if(k==1000)
{
cout《《"未找到此书!!"《《endl;
system("pause");
}
}
void Borrow_Manage()
{
int flag=1;
system("cls");
int Num_Choice3;
while(flag==1)
{
cout《《"\t\t\t◆◆◆◆◆◆◆◆◆◆◆◆◆"《《endl
《《"\t\t\t☆ 1.借书登记 ☆"《《endl
《《"\t\t\t☆ 2.还书管理 ☆"《《endl
《《"\t\t\t☆ 3.返回主菜单 ☆"《《endl
《《"\t\t\t◆◆◆◆◆◆◆◆◆◆◆◆◆"《《endl;
cin》》Num_Choice3;
switch(Num_Choice3)
{
case 1:
flag=2;
Borrow_Book();
break;
case 2:
flag=2;
Return_Book();
break;
case 3:
mainmenu();
default:
flag=1;
cout《《"输入有误!!"《《endl;
system("pause");
}
system("cls");
}
}
void input_Reader()
{
system("cls");
cout《《"请依照提示输入现有的三位读者的信息:"《《endl;
for(int m=0;m《3;m++)
{
cout《《"姓名:"《《endl;
cin》》reader.name;
cout《《"编号:"《《endl;
cin》》reader.readernumber;
reader.card=0;
}
}
void Borrow_Book()
{
system("cls");
char reader_name;
int n,book_number;
cout《《"请输入读者姓名:"《《endl;
cin》》reader_name;
for(n=0;n《3;n++)
{
if(strcmp(reader_name,reader.name)==0)
{
if(reader.card!=0)
{
cout《《"已借书,不能再借,请按任意键返回"《《endl;
system("pause");
mainmenu();
}
else
break;
}
}
if(n==3)
{
cout《《"无此读者!输入有误!!按任意键返回主菜单"《《endl;
system("pause");
mainmenu();
}
cout《《"请输入所借图书书号:"《《endl;
cin》》book_number;
for(n=0;n《v;n++)
{
if(strcmp(reader_name,reader.name)==0)
reader.card=book_number;
}
for(n=0;n《v;n++)
{
if(book.booknumber==book_number)
{
if(book.num_present==0)
{
cout《《"该书已经被借完,请按任意键返回"《《endl;
system("pause");
for(n=0;n《v;n++)
{
if(strcmp(reader_name,reader.name)==0)
reader.card=0;
}
mainmenu();
}
else
{
book.num_present--;
cout《《"借书成功,请按任意键返回"《《endl;
system("pause");
break;
}
}
}
if(n==v)
{
for(n=0;n《v;n++)
{
if(strcmp(reader_name,reader.name)==0)
reader.card=0;
}
cout《《"所输入的书号不存在,请按任意键返回主菜单"《《endl;
system("pause");
mainmenu();
}
}void Return_Book()
{
system("cls");
int j;
char reader_name;
int book_number;
cout《《"请输入读者姓名:"《《endl;
cin》》reader_name;
for(j=0;j《3;j++)
{
if(strcmp(reader_name,reader.name)==0)
break;
}
if(j==3)
{
cout《《"无此读者!输入有误!!按任意键返回主菜单"《《endl;
system("pause");
mainmenu();
}
cout《《"请输入所还图书书号:"《《endl;
cin》》book_number;

for(j=0;j《3;j++)
{
if(strcmp(reader_name,reader.name)==0)
{
if(book_number==reader.card)
{
reader.card=0;
for(j=0;j《v;j++)
{
if(book.booknumber==book_number)
{
book.num_present++;
cout《《"还书成功,请按任意键返回"《《endl;
system("pause");
break;
}
}
}
else
{
cout《《"该读者未借此书"《《endl;
system("pause");
}
}
if(j==v)
cout《《"所输入的书号不存在:"《《endl;
}
}
void Output_Message()
{
system("cls");
int q;
cout《《"以下是图书信息"《《endl《《endl;
for(q=0;q《v;q++)
{
cout《《"书号:"《《book.booknumber《《’\t’;
cout《《"书名:"《《book.name《《’\t’;
cout《《"库存量:"《《book.num_all《《’\t’;
cout《《"现存量:"《《book.num_present《《endl;
}
cout《《"以下是读者信息"《《endl《《endl;
for(q=0;q《3;q++)
{
cout《《"姓名:"《《reader.name《《’\t’
《《"编号:"《《reader.readernumber《《’\t’
《《"所借书号:"《《reader.card《《endl;
}
system("pause");
}
void Exit_System()
{
system("cls");
cout《《"欢迎下次使用,谢谢"《《endl;
system("pause");
}
void main()
{
mainmenu();
}

学生信息管理系统C++源代码

#include《iostream》
#include《stdlib.h》
#include《string.h》
#include《malloc.h》
#define INIT_SIZE 10
#define INCRE_SIZE 10
#define SUBJECT_NUM 3
#define LEN 3
void show_Start();
void show_Table();
void addRecord();
void Info_delete();
void deleteRecord();
void delete_Num(int);
void delete_Name(char tarName);
void Info_modify();
void modifyRecord();
void modify_Num(int);
void modify_Name(char);
void Info_query();
void queryRecord();
void query_Num(int);
void query_Name(char);
void display();
void quit();
void menu_CMD();
char *subject = {"高代","数分","C语言"};
struct STUDENT
{
int num;
char name;
char sex;
float score;
};
//struct STUDENT stu;
//STUDENT *record = (STUDENT*)malloc(sizeof(STUDENT)*INIT_SIZE);
int static stuNum = 0;
//先暂时定义三个学生吧...
STUDENT *record = (STUDENT*)malloc(sizeof(STUDENT)*INIT_SIZE);;
int main()
{
//record = (STUDENT*)malloc(sizeof(STUDENT)*INIT_SIZE);
//STUDENT *record = (STUDENT*)malloc(sizeof(STUDENT)*INIT_SIZE);
/*
record.num = 1001;
strcpy(record.name,"Jason");
record.sex = ’M’;
record = 85.0;
record = 90.0;
record = 95.0;
record.num = 1002;
strcpy(record.name,"Jerry");
record.sex = ’M’;
record = 85.0;
record = 90.0;
record = 95.0;
record.num = 1003;
strcpy(record.name,"Jessie");
record.sex = ’F’;
record = 85.0;
record = 90.0;
record = 95.0;
*/
/*
Info_modify();
int key;
cout《《"请输入您的选择 : ";
cin》》key;

if(key == 1)
{
int targetNum;
cout《《"请输入您欲修改的学生的学号 : ";
cin》》targetNum;

modify_Num(targetNum);
cout《《endl;

display();
}

if(key == 2)
{
char targetName;
cout《《"请输入您欲修改学生的姓名 : ";
cin》》targetName;

modify_Name(targetName);
cout《《endl;

display();
}
if(key == 3)
{
exit(0);
}
*/

show_Start();
menu_CMD();
return 0;
}
//修改完后还应该显示
void show_Start()
{
//cout《《endl;
cout《《" **************************************** "《《endl;
cout《《" 这是一个 "《《endl;
cout《《" 学生成绩管理系统 "《《endl;
cout《《" 可以对学生成绩进行管理 "《《endl;
cout《《" 欢迎大家使用 "《《endl;
cout《《" Made by Jason "《《endl;
cout《《" **************************************** "《《endl;
}
// 显示表头信息,即是 : 学号,姓名,性别,高代,数分,C语言.
void show_Table()
{
cout《《"学号"《《"\t"《《"姓名"《《"\t"《《"性别";
cout《《"\t"《《subject;
cout《《endl;
}
void menu_CMD()
{
int key;
while(1)
{
cout《《"1. 增加学生信息"《《endl;
cout《《"2. 删除学生信息"《《endl;
cout《《"3. 修改学生信息"《《endl;
cout《《"4. 查询学生信息"《《endl;
cout《《"5. 显示学生信息"《《endl;
cout《《"6. 退出"《《endl;
cout《《"请输入您的选择 : ";
cin》》key;
while(1)
{
if((key 《 1)||(key 》 6))
{
int key;
cout《《"您的输入有误,请重新输入!"《《endl;
cout《《"请选(1 - 5) : ";
cin》》key;
}
else
{
break;
}
}
switch(key)
{
case 1:
addRecord();
break;
case 2:
deleteRecord();
break;
case 3:
modifyRecord();
break;
case 4:
queryRecord();
break;
case 5:
display();
break;
case 6:
quit();
break;
}
}
}
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//增加学生信息
void addRecord()
{
if(stuNum == 0)
{
cout《《"原来没有记录,现在建立新表!"《《endl;
stuNum++;
}
else
{
cout《《"现在在当前表的末尾添加新的信息!"《《endl;
stuNum++;
}
//如果数组空间不够,重新申请空间
if(stuNum 》 INIT_SIZE)
{
cout《《"内存空间不够,现在重新申请新的内存空间!"《《endl;
record = (STUDENT*)realloc(record,(INIT_SIZE + INCRE_SIZE)*sizeof(STUDENT));
cout《《"空间申请完成!"《《endl;
}
cout《《"您现在要添加一组新的信息,您确定吗?"《《endl;
cout《《"请输入您的选择(Y/N) : ";
char choi;
cin》》choi;
if((choi == ’Y’)||(choi == ’y’))
{
cout《《"请输入学号 : ";
cin》》record.num;
cout《《"请输入姓名 : ";
cin》》record.name;
cout《《"请输入性别(M为男,F为女) : ";
cin》》record.sex;

int i;
for(i = 0;i 《 SUBJECT_NUM;i++)
{
cout《《"请输入"《《subject《《"的成绩 : ";
cin》》record;
}
}
if((choi == ’N’)||(choi == ’n’))
{
cout《《"退出添加新学生信息!"《《endl;
cout《《endl;
}

cout《《"现在已经有"《《stuNum《《"条学生的信息了!"《《endl;
cout《《endl;
}
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//删除信息 晚上完成...
//显示deleteRecord的表头信息
void Info_delete()
{
cout《《"请输入删除方式 : "《《endl;
cout《《"1. 按学号删除"《《endl;
cout《《"2. 按姓名删除"《《endl;
cout《《"3. 退出删除"《《endl;
}
//删除学生的信息,包含两个子函数
void deleteRecord()
{
int key;
cout《《endl;
Info_delete();
cout《《"请输入您的选择 : ";
cin》》key;

if(key == 1)
{
int targetNum;
cout《《"请输入您欲删除学生的学号 : ";
cin》》targetNum;

//按学号删除
delete_Num(targetNum);
cout《《endl;
}
if(key == 2)
{
char targetName;
cout《《"请输入您欲删除学生的姓名 : ";
cin》》targetName;

//按姓名删除
delete_Name(targetName);
cout《《endl;
}
if(key == 3)
{
while(1)
{
menu_CMD();

}
}
}
//按学号删除学生信息
//只用完成删除操作,而不必输出. 输出的操作可以在主菜单中进行

void delete_Num(int tarNum)
{
int i;
for(i = 1;i 《= stuNum;i++)
{
if(record.num == tarNum)
{
//删除还要分两种情况讨论
//1. 欲删除的学生信息是最后一位
//2. 欲删除的学生信息不是最后一位

//第一种情况,欲删除的学生是最后一位
if(i = stuNum)
{
cout《《"您所要删除的学生信息是 : "《《endl;
show_Table();
cout《《record.sex《《"\t"
《《record;
cout《《endl;

cout《《endl《《"删除后学生信息表为 : "《《endl;
show_Table();
for(int i = 1;i 《= stuNum - 1;i++)
{
cout《《record.sex;
for(int j = 0;j 《 SUBJECT_NUM;j++)
{
cout《《"\t"《《record;
}
cout《《endl;
}
//显示信息应该放在后面
/*
stuNum--;
cout《《"现在还剩下"《《stuNum《《"条学生的信息";
cout《《endl;
*/
}
//2.第二种情况,欲删除的学生不是最后一位
if(i != stuNum)
{

cout《《"您所要删除的学生信信息是 : "《《endl;
show_Table();
cout《《record.sex《《"\t"
《《record;

for(int j = i+1;j 《= stuNum;j++)
{
record;
}

//接着完成输出

cout《《endl;
cout《《"删除后学生信息表为 : "《《endl;
show_Table();
for(int i = 1;i 《= stuNum-1;i++)
{
cout《《record.sex;
for(int j = 0;j 《 SUBJECT_NUM;j++)
{
cout《《"\t"《《record;
}
cout《《endl;
}
/*
stuNum--;
cout《《"现在还剩下"《《stuNum《《"条学生的信息";
cout《《endl;
*/
}

stuNum--;
cout《《"现在还是剩下"《《stuNum《《"条学生的信息";
cout《《endl;
}
}
}
/*
//方法同上
void delete_Name(char tarName)
{
int i;
for(i = 1;i 《= stuNum;i++)
{
if(strcmp(record.name,tarName) == 0)
{
//删除还要分两种情况讨论
//1. 欲删除的学生信息是最后一位
//2. 欲删除的学生信息不是最后一位

//第一种情况 : 欲删除学生是最后一位
if(i = stuNum)
{
cout《《"您所要删除的学生信息是 : "《《endl;
show_Table();
cout《《record.sex《《"\t"
《《record;
cout《《endl;

cout《《endl《《"删除后学生信息表为 : "《《endl;
show_Table();
for(int i = 1;i 《= stuNum - 1;i++)
{
cout《《record.sex;
for(int j = 0;j 《 SUBJECT_NUM;j++)
{
cout《《"\t"《《record;
}
cout《《endl;
}
}
//第二种情况 : 欲删除学生不是最后一位
if(i != stuNum)
{

cout《《"您所要删除的学生信信息是 : "《《endl;
show_Table();
cout《《record.sex《《"\t"
《《record;

//整体往前 前移一位
for(int j = i+1;j 《= stuNum;j++)
{
record;
}
cout《《endl;

//接着完成输出
cout《《"删除后学生信息表为 : "《《endl;
show_Table();
for(int i = 1;i 《= stuNum-1;i++)
{
cout《《record.sex;
for(int j = 0;j 《 SUBJECT_NUM;j++)
{
cout《《"\t"《《record;
}
cout《《endl;
}

cout《《endl;
}
}

}
}
*/
void delete_Name(char tarName)
{
int i;
for(i = 1;i 《= stuNum;i++)
{

//删除还要分两种情况讨论
//1. 欲删除的学生信息是最后一位
//2. 欲删除的学生信息不是最后一位

//当欲删除的学生是最后一位,直接输出前面LEN-1位学生的信息
if(strcmp(record.name,tarName) == 0)
{
if(i == stuNum)
{
cout《《"您所要删除的学生信息是 : "《《endl;
show_Table();
cout《《record.sex《《"\t"
《《record;

cout《《endl;

cout《《"删除后学生信息表为 : "《《endl;
show_Table();
for(int i = 1;i 《= stuNum-1;i++)
{
cout《《record.sex;
for(int j = 0;j 《 SUBJECT_NUM;j++)
{
cout《《"\t"《《record;
}
cout《《endl;
}
/*
stuNum--;
cout《《"现在还剩下"《《stuNum《《"条学生的信息";
cout《《endl;
*/
}
//当欲删的学生不是最后一位,整体往前前移一位
if(i != stuNum)
{
cout《《"您所要删除的学生信息是 : "《《endl;

show_Table();
cout《《record.sex《《"\t";
cout《《record;
cout《《endl;

//整体往前前移一位
for(int j = i+1;j 《= stuNum;j++)
{
record;
}

//然后输出
cout《《endl;
cout《《"删除后学生信息表为 : "《《endl;

show_Table();
for(int i = 1;i 《= stuNum-1;i++)
{
cout《《record.sex;
for(int j = 0;j 《 SUBJECT_NUM;j++)
{
cout《《"\t"《《record;
}
cout《《endl;
}
/*
stuNum--;
cout《《"现在还剩下"《《stuNum《《"条学生的信息";
cout《《endl;
*/
}

stuNum--;
cout《《"现在还剩下"《《stuNum《《"条学生的信息";
cout《《endl;
}
}
}
/*****************************************************************************
******************************************************************************/
//显示modifyRecord的表头信息
void Info_modify()
{
cout《《"请输入修改方式 : "《《endl;
cout《《"1. 按学号修改"《《endl;
cout《《"2. 按姓名修改"《《endl;
cout《《"3. 退出修改"《《endl;
}
//查询学生的成绩,当然里面包括两个子函数
void modifyRecord()
{
int key;
cout《《endl;
Info_modify();
cout《《"请输入您的选择 : ";
cin》》key;
//按学号修改
if(key == 1)
{
int targetNum;
cout《《"请输入您欲修改的学生的学号 : ";
cin》》targetNum;

modify_Num(targetNum);
cout《《endl;

//display();
}

//按姓名修改
if(key == 2)
{
char targetName;
cout《《"请输入您欲修改学生的姓名 : ";
cin》》targetName;

modify_Name(targetName);
cout《《endl;

//display();
}
//退出修改
if(key == 3)
{
while(1)
{
menu_CMD();
}
}
}
//按学号修改
void modify_Num(int tarNum)
{
int i;
for(i = 1;i 《= stuNum;i++)
{
if(record.num == tarNum)
{
cout《《endl《《"请修改该学生的信息"《《endl;
cout《《"请输入该学生的学号 : ";
cin》》record.num;
cout《《"请输入该学生的姓名 : ";
cin》》record.name;
cout《《"请输入该学生的性别 : ";
cin》》record.sex;
cout《《"请输入"《《subject《《"的成绩 : ";
cin》》record;
cout《《"请输入"《《subject《《"的成绩 : ";
cin》》record;
cout《《"请输入"《《subject《《"的成绩 : ";
cin》》record;
}
}
}
//按姓名修改
void modify_Name(char tarName)
{
int i;
for(i = 1;i 《= stuNum;i++)
{
if(strcmp(record.name,tarName) == 0)
{
cout《《endl《《"请修改该学生的信息 : "《《endl;
cout《《"请输入该学生的学号 : ";
cin》》record.num;
cout《《"请输入该学生的姓名 : ";
cin》》record.name;
cout《《"请输入该学生的性别 : ";
cin》》record.sex;
cout《《"请输入"《《subject《《"的成绩 : ";
cin》》record;
cout《《"请输入"《《subject《《"的成绩 : ";
cin》》record;
cout《《"请输入"《《subject《《"的成绩 : ";
cin》》record;
}
}
}
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//显示queryRecord的表头信息
void Info_query()
{
cout《《"请输入查询方式 : "《《endl;
cout《《"1. 按学号查询"《《endl;
cout《《"2. 按姓名查询"《《endl;
cout《《"3. 退出查询"《《endl;
}
//查询学生信息queryRecord
void queryRecord()
{
int key;
cout《《endl;
Info_query();
cout《《"请输入您的选择 : ";
cin》》key;

if(key == 1)
{
int targetNum;
cout《《"请输入您欲查询学生的学号 : ";
cin》》targetNum;

query_Num(targetNum);
cout《《endl;
}

if(key == 2)
{
char targetName;
cout《《"请输入您欲查询学生的学号 : ";
cin》》targetName;

query_Name(targetName);
cout《《endl;
}

//退出查询,退回到主菜单吧...
if(key == 3)
{
while(1)
{
menu_CMD();
}
}
}
//按学号查询
void query_Num(int tarNum)
{
int i;
for(i = 1;i 《= stuNum;i++)
{
if(record.num == tarNum)
{
//如果表中有该学生信息的话,仅用输出该学生的信息即可.
//输出该学生的信息
cout《《"该学生的信息如下 : "《《endl;

//显示表头信息
show_Table();

//显示该学生具体的信息
cout《《record.sex;
cout《《"\t"《《record;
cout《《endl;
}
}
}
//按姓名查询
void query_Name(char tarName)
{
int i;
for(i = 1;i 《= stuNum;i++)
{
if(strcmp(record.name,tarName) == 0)
{
cout《《"该学生的信息如下 : "《《endl;

show_Table();

cout《《record.sex;
cout《《"\t"《《record;
cout《《endl;
}
}
}
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//先显示所有学生的信息吧
//显示record里所有学生的成绩
void display()
{
show_Table();
int i,j;
for(i = 1;i 《= stuNum;i++)
{
//cout《《"学号"《《"\t"《《"姓名"《《"\t"《《"性别";
cout《《record.sex;
for(j = 0;j 《 SUBJECT_NUM;j++)
{
cout《《"\t"《《record;
}
cout《《endl;
}
cout《《endl;
}
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//退出
void quit()
{
char choi;
cout《《"您确定要退出吗?"《《endl;
cout《《"请输入您的选择(Y/N) : ";
cin》》choi;
if((choi == ’Y’)||(choi == ’y’))
{
cout《《"现在退出学生信息管理系统"《《endl;
exit(0);
}
//如果不是退出,则接着退回到主界面
else
{
cout《《endl;
menu_CMD();
}
}

这个是原创的... 在C-Free 4.0里跑过,可以正常运行
你可以试着跑一下,如果有什么问题可以和我联系

用C作学生通讯录信息管理系统,怎么实现还有源代码

详细情况请到"编程中国"的论坛看看
用C简单编写通讯录源代码(经典)申请加精通讯录源代码
/*10.3.2源程序*/
/******头文件(.h)***********/
#include "stdio.h" /*I/O函数*/
#include "stdlib.h" /*标准库函数*/
#include "string.h"/*字符串函数*/
#include "ctype.h" /*字符操作函数*/
#define M 50 /*定义常数表示记录数*/
typedef struct /*定义数据结构*/
{
char name; /*姓名*/
char units; /*单位*/
char tele; /*电话*/
}ADDRESS;
/******以下是函数原型*******/
int enter(ADDRESS t); /*输入记录*/
void list(ADDRESS t,int n); /*显示记录*/
void search(ADDRESS t,int n); /*按姓名查找显示记录*/
int delete(ADDRESS t,int n); /*删除记录*/
int add(ADDRESS t,int n); /*插入记录*/
void save(ADDRESS t,int n); /*记录保存为文件*/
int load(ADDRESS t); /*从文件中读记录*/
void display(ADDRESS t); /*按序号查找显示记录*/
void sort(ADDRESS t,int n); /*按姓名排序*/
void qseek(ADDRESS t,int n); /*快速查找记录*/
void copy(); /*文件复制*/
void print(ADDRESS temp); /*显示单条记录*/
int find(ADDRESS t,int n,char *s) ; /*查找函数*/
int menu_select(); /*主菜单函数*/
/******主函数开始*******/
main()
{
int i;
ADDRESS adr; /*定义结构体数组*/
int length; /*保存记录长度*/
clrscr(); /*清屏*/
for(;;)/*无限循环*/
{
switch(menu_select()) /*调用主菜单函数,返回值整数作开关语句的条件*/
{
case 0:length=enter(adr);break;/*输入记录*/
case 1:list(adr,length);break; /*显示全部记录*/
case 2:search(adr,length);break; /*查找记录*/
case 3:length=delete(adr,length);break; /*删除记录*/
case 4:length=add(adr,length); break; /*插入记录*/
case 5:save(adr,length);break; /*保存文件*/
case 6:length=load(adr); break; /*读文件*/
case 7:display(adr);break; /*按序号显示记录*/
case 8:sort(adr,length);break; /*按姓名排序*/
case 9:qseek(adr,length);break; /*快速查找记录*/
case 10:copy();break; /*复制文件*/
case 11:exit(0); /*如返回值为11则程序结束*/
}
}
}
/*菜单函数,函数返回值为整数,代表所选的菜单项*/
menu_select()
{
char s;
int c;
gotoxy(1,25);/*将光标定为在第25行,第1列*/
printf("press any key enter menu......\n");/*提示压任意键继续*/
getch(); /*读入任意字符*/
clrscr(); /*清屏*/
gotoxy(1,1);
printf("********************MENU*********************\n\n");
printf(" 0. Enter record\n");
printf(" 1. List the file\n");
printf(" 2. Search record on name\n");
printf(" 3. Delete a record\n");
printf(" 4. add record \n");
printf(" 5. Save the file\n");
printf(" 6. Load the file\n");
printf(" 7. display record on order\n");
printf(" 8. sort to make new file\n");
printf(" 9. Quick seek record\n");
printf(" 10. copy the file to new file\n");
printf(" 11. Quit\n");
printf("***********************************************\n");
do{
printf("\n Enter you choice(0~11):"); /*提示输入选项*/
scanf("%s",s); /*输入选择项*/
c=atoi(s); /*将输入的字符串转化为整型数*/
}while(c《0||c》11); /*选择项不在0~11之间重输*/
return c; /*返回选择项,主程序根据该数调用相应的函数*/
}
/***输入记录,形参为结构体数组,函数值返回类型为整型表示记录长度*/
int enter(ADDRESS t)
{
int i,n;
char *s;
clrscr(); /*清屏*/
printf("\nplease input num \n"); /*提示信息*/
scanf("%d",&n); /*输入记录数*/
printf("please input record \n"); /*提示输入记录*/
printf("name unit telephone\n");
printf("------------------------------------------------\n");
for(i=0;i《n;i++)
{
scanf("%s%s%s",t.tele); /*输入记录*/
printf("----------------------------------------------\n");
}
return n; /*返回记录条数*/
}
/*显示记录,参数为记录数组和记录条数*/
void list(ADDRESS t,int n)
{
int i;
clrscr();
printf("\n\n*******************ADDRESS******************\n");
printf("name unit telephone\n");
printf("------------------------------------------------\n");
for(i=0;i《n;i++)
printf("%-20s%-30s%-10s\n",t.tele);
if((i+1)%10==0) /*判断输出是否达到10条记录*/
{
printf("Press any key continue...\n"); /*提示信息*/
getch(); /*压任意键继续*/
}
printf("************************end*******************\n");
}
/*查找记录*/
void search(ADDRESS t,int n)
{
char s; /*保存待查找姓名字符串*/
int i; /*保存查找到结点的序号*/
clrscr(); /*清屏*/
printf("please search name\n");
scanf("%s",s); /*输入待查找姓名*/
i=find(t,n,s); /*调用find函数,得到一个整数*/
if(i》n-1) /*如果整数i值大于n-1,说明没找到*/
printf("not found\n");
else
print(t); /*找到,调用显示函数显示记录*/
}
/*显示指定的一条记录*/
void print(ADDRESS temp)
{
clrscr();
printf("\n\n********************************************\n");
printf("name unit telephone\n");
printf("------------------------------------------------\n");
printf("%-20s%-30s%-10s\n",temp.name,temp.units,temp.tele);
printf("**********************end***********************\n");
}
/*查找函数,参数为记录数组和记录条数以及姓名s */
int find(ADDRESS t,int n,char *s)
{
int i;
for(i=0;i《n;i++)/*从第一条记录开始,直到最后一条*/
{
if(strcmp(s,t.name)==0) /*记录中的姓名和待比较的姓名是否相等*/
return i; /*相等,则返回该记录的下标号,程序提前结结束*/
}
return i; /*返回i值*/
}
/*删除函数,参数为记录数组和记录条数*/
int delete(ADDRESS t,int n)
{
char s; /*要删除记录的姓名*/
int ch=0;
int i,j;
printf("please deleted name\n"); /*提示信息*/
scanf("%s",s);/*输入姓名*/
i=find(t,n,s); /*调用find函数*/
if(i》n-1) /*如果i》n-1超过了数组的长度*/
printf("no found not deleted\n"); /*显示没找到要删除的记录*/
else
{
print(t); /*调用输出函数显示该条记录信息*/
printf("Are you sure delete it(1/0)\n"); /*确认是否要删除*/
scanf("%d",&ch); /*输入一个整数0或1*/
if(ch==1) /*如果确认删除整数为1*/
{
for(j=i+1;j《n;j++) /*删除该记录,实际后续记录前移*/
{
strcpy(t.name); /*将后一条记录的姓名拷贝到前一条*/
strcpy(t.units); /*将后一条记录的单位拷贝到前一条*/
strcpy(t.tele); /*将后一条记录的电话拷贝到前一条*/
}
n--; /*记录数减1*/
}
}
return n; /*返回记录数*/
}
/*插入记录函数,参数为结构体数组和记录数*/
int add(ADDRESS t,int n)/*插入函数,参数为结构体数组和记录数*/
{
ADDRESS temp; /*新插入记录信息*/
int i,j;
char s; /*确定插入在哪个记录之前*/
printf("please input record\n");
printf("************************************************\n");
printf("name unit telephone\n");
printf("--------------------------------------------------\n");
scanf("%s%s%s",temp.name,temp.units,temp.tele); /*输入插入信息*/
printf("------------------------------------------------\n");
printf("please input locate name \n");
scanf("%s",s); /*输入插入位置的姓名*/
i=find(t,n,s); /*调用find,确定插入位置*/
for(j=n-1;j》=i;j--) /*从最后一个结点开始向后移动一条*/
{
strcpy(t.name); /*当前记录的姓名拷贝到后一条*/
strcpy(t.units); /*当前记录的单位拷贝到后一条*/
strcpy(t.tele); /*当前记录的电话拷贝到后一条*/
}
strcpy(t.name,temp.name); /*将新插入记录的姓名拷贝到第i个位置*/
strcpy(t.units,temp.units); /*将新插入记录的单位拷贝到第i个位置*/
strcpy(t.tele,temp.tele); /*将新插入记录的电话拷贝到第i个位置*/
n++; /*记录数加1*/
return n; /*返回记录数*/
}
/*保存函数,参数为结构体数组和记录数*/
void save(ADDRESS t,int n)
{
int i;
FILE *fp; /*指向文件的指针*/
if((fp=fopen("record.txt","wb"))==NULL) /*打开文件,并判断打开是否正常*/
{
printf("can not open file\n");/*没打开*/
exit(1); /*退出*/
}
printf("\nSaving file\n"); /*输出提示信息*/
fprintf(fp,"%d",n); /*将记录数写入文件*/
fprintf(fp,"\r\n"); /*将换行符号写入文件*/
for(i=0;i《n;i++)
{
fprintf(fp,"%-20s%-30s%-10s",t.tele);/*格式写入记录*/
fprintf(fp,"\r\n"); /*将换行符号写入文件*/
}
fclose(fp);/*关闭文件*/
printf("****save success***\n"); /*显示保存成功*/
}
/*读入函数,参数为结构体数组*/
int load(ADDRESS t)
{
int i,n;
FILE *fp; /*指向文件的指针*/
if((fp=fopen("record.txt","rb"))==NULL)/*打开文件*/
{
printf("can not open file\n"); /*不能打开*/
exit(1); /*退出*/
}
fscanf(fp,"%d",&n); /*读入记录数*/
for(i=0;i《n;i++)
fscanf(fp,"%20s%30s%10s",t.tele); /*按格式读入记录*/
fclose(fp); /*关闭文件*/
printf("You have success read data from file!!!\n"); /*显示保存成功*/
return n; /*返回记录数*/
}
/*按序号显示记录函数*/
void display(ADDRESS t)
{
int id,n;
FILE *fp; /*指向文件的指针*/
if((fp=fopen("record.txt","rb"))==NULL) /*打开文件*/
{
printf("can not open file\n"); /*不能打开文件*/
exit(1); /*退出*/
}
printf("Enter order number...\n"); /*显示信息*/
scanf("%d",&id); /*输入序号*/
fscanf(fp,"%d",&n); /*从文件读入记录数*/
if(id》=0&&id《n) /*判断序号是否在记录范围内*/
{
fseek(fp,(id-1)*sizeof(ADDRESS),1); /*移动文件指针到该记录位置*/
print(t); /*调用输出函数显示该记录*/
printf("\r\n");
}
else
printf("no %d number record!!!\n ",id); /*如果序号不合理显示信息*/
fclose(fp); /*关闭文件*/
}
/*排序函数,参数为结构体数组和记录数*/
void sort(ADDRESS t,int n)
{
int i,j,flag;
ADDRESS temp; /*临时变量做交换数据用*/
for(i=0;i《n;i++)
{
flag=0; /*设标志判断是否发生过交换*/
for(j=0;j《n-1;j++)
if((strcmp(t.name))》0) /*比较大小*/
{
flag=1;
strcpy(temp.name,t.name); /*交换记录*/
strcpy(temp.units,t.units);
strcpy(temp.tele,t.tele);
strcpy(t.name);
strcpy(t.units);
strcpy(t.tele);
strcpy(t.name,temp.name);
strcpy(t.units,temp.units);
strcpy(t.tele,temp.tele);
}
if(flag==0)break; /*如果标志为0,说明没有发生过交换循环结束*/
}
printf("sort sucess!!!\n"); /*显示排序成功*/
}
/*快速查找,参数为结构体数组和记录数*/
void qseek(ADDRESS t,int n)
{
char s;
int l,r,m;
printf("\nPlease sort before qseek!\n"); /*提示确认在查找之前,记录是否已排序*/
printf("please enter name for qseek\n"); /*提示输入*/
scanf("%s",s); /*输入待查找的姓名*/
l=0;r=n-1; /*设置左边界与右边界的初值*/
while(l《=r) /*当左边界《=右边界时*/
{
m=(l+r)/2; /*计算中间位置*/
if(strcmp(t.name,s)==0) /*与中间结点姓名字段做比较判是否相等*/
{
print(t); /*如果相等,则调用print函数显示记录信息*/
return ; /*返回*/
}
if(strcmp(t.name,s)《0) /*如果中间结点小*/
l=m+1; /*修改左边界*/
else
r=m-1; /*否则,中间结点大,修改右边界*/
}
if(l》r) /*如果左边界大于右边界时*/
printf("not found\n"); /*显示没找到*/
}
/*复制文件*/
void copy()
{
char outfile; /*目标文件名*/
int i,n;
ADDRESS temp; /*定义临时变量*/
FILE *sfp,*tfp; /*定义指向文件的指针*/
clrscr();/*清屏*/
if((sfp=fopen("record.txt","rb"))==NULL) /*打开记录文件*/
{
printf("can not open file\n"); /*显示不能打开文件信息*/
exit(1); /*退出*/
}
printf("Enter outfile name,for example c:\\f1\\te.txt:\n"); /*提示信息*/
scanf("%s",outfile); /*输入目标文件名*/
if((tfp=fopen(outfile,"wb"))==NULL) /*打开目标文件*/
{
printf("can not open file\n"); /*显示不能打开文件信息*/
exit(1); /*退出*/
}
fscanf(sfp,"%d",&n); /*读出文件记录数*/
fprintf(tfp,"%d",n);/*写入目标文件数*/
fprintf(tfp,"\r\n"); /*写入换行符*/
for(i=0;i《n;i++)
{
fscanf(sfp,"%20s%30s%10s\n",temp.units,
temp.tele); /*读入记录*/
fprintf(tfp,"%-20s%-30s%-10s\n",temp.name,
temp.tele); /*写入记录*/
fprintf(tfp,"\r\n"); /*写入换行符*/
}
fclose(sfp); /*关闭源文件*/
fclose(tfp); /*关闭目标文件*/
printf("you have success copy file!!!\n"); /*显示复制成功*/
}

急求VB+ACCESS学生信息管理系统源码(一定要可以运行的哦)

学生档案管理系统 vb
——————————————附录程序清单及注释
程序清单6.1
Option Explicit
Dim Fi
leName As String ’文件名,用于打开、保存文件
Dim UndoString As String ’用于 Undo 操作
Dim UndoNew As String ’用于 Undo 操作
Private Sub ImgUndoDisable()
’禁用“Undo”按钮
UndoString = ""
UndoNew = ""
ImgUndo.Enabled = False
ImgUndo.Picture = ImageDisable.ListImages("Undo").Picture
End Sub
Private Sub ImgUndoEnable()
’有效“Undo”按钮
ImgUndo.Enabled = True
ImgUndo.Picture = ImageUp.ListImages("Undo").Picture
End Sub
Private Sub Check_ImgPaste()
’设置粘贴按钮
If Len(Clipboard.GetText) 》 0 Then
ImgPaste.Enabled = True
ImgPaste.Picture = ImageUp.ListImages("Paste").Picture
Else
ImgPaste.Enabled = False
ImgPaste.Picture = ImageDisable.ListImages("Paste").Picture
End If
End Sub
Private Sub Check_ImgCutCopy()
’设置剪切、复制按钮
If Text1.SelLength 》 0 Then
ImgCut.Enabled = True
ImgCut.Picture = ImageUp.ListImages("Cut").Picture
ImgCopy.Enabled = True
ImgCopy.Picture = ImageUp.ListImages("Copy").Picture
Else
ImgCut.Enabled = False
ImgCut.Picture = ImageDisable.ListImages("Cut").Picture
ImgCopy.Enabled = False
ImgCopy.Picture = ImageDisable.ListImages("Copy").Picture
End If
End Sub
Private Sub BackColor_Click()
CommonDialog1.ShowColor
Text1.BackColor = CommonDialog1.Color
End Sub
Private Sub Box_Click()
’显停工具栏
If Box.Checked Then
’将停显工具栏
Box.Checked = False
CoolBar1.Visible = False
Else
Box.Checked = True
CoolBar1.Visible = True
End If
Form_Resize ’重新调整控件位置
End Sub
Private Sub Close_Click()
Dim FileNum As Integer
If Len(FileName) 》 0 Then
’有输入文件名
FileNum = FreeFile() ’获得可用文件号
Open FileName For Output As FileNum ’打开输出文件
’如果无指定文件,则创建新文件
Print #FileNum, Text1.Text ’输出文本
Close FileNum ’关闭文件
End If
Text1.Text = ""
FileName = ""
End Sub
Private Sub ComboSize_Click()
Text1.FontSize = Val(ComboSize.Text)
End Sub
Private Sub ComboFont_Click()
Text1.FontName = ComboFont.Text
End Sub
Private Sub Copy_Click()
Clipboard.SetText Text1.SelText ’复制文本到剪裁板
End Sub
Private Sub Cut_Click()
Clipboard.SetText Text1.SelText ’复制文本到剪裁板
Text1.SelText = "" ’清选择的文本
End Sub
Private Sub DataTime_Click()
Text1.SelText = Now
End Sub
Private Sub Delete_Click()
Text1.SelText = "" ’清选择的文本
End Sub
Private Sub Edit_Click()
’当程序显示“”子菜单前,触发该程序
If Text1.SelLength 》 0 Then
’文本框中有选中的文本
Cut.Enabled = True
Copy.Enabled = True
Delete.Enabled = True
Else
Cut.Enabled = False
Copy.Enabled = False
Delete.Enabled = False
End If
If Len(Clipboard.GetText()) 》 0 Then
’剪裁板中有文本数据
Paste.Enabled = True
Else
’没有可粘贴的文本
Paste.Enabled = False
End If
End Sub
Private Sub Exit_Click()
Unload Me
End Sub
Private Sub FindText_KeyPress(KeyAscii As Integer)
Dim BeginPos As Long
If KeyAscii = 13 Then
BeginPos = InStr(1, Text1.Text, FindText.Text, vbTextCompare)
If BeginPos 》 0 Then
Text1.SelStart = BeginPos - 1
Text1.SelLength = Len(FindText.Text)
End If
End If
End Sub
Private Sub Fontcolor_Click()
CommonDialog1.ShowColor
Text1.ForeColor = CommonDialog1.Color
End Sub
Private Sub Form_Load()
Dim i As Integer
’加载图像
ImgNew.Picture = ImageUp.ListImages("New").Picture
ImgOpen.Picture = ImageUp.ListImages("Open").Picture
ImgSave.Picture = ImageUp.ListImages("Save").Picture
ImgUndo.Picture = ImageDisable.ListImages("Undo").Picture
Check_ImgPaste
Check_ImgCutCopy
’加载系统字体
For i = 0 To Screen.FontCount - 1
ComboFont.AddItem Screen.Fonts(i)
Next i
End Sub
Private Sub Form_Resize()
Dim TextTop As Long
’修改工具条大小
CoolBar1.Top = Me.ScaleTop
Me.ScaleLeft
Text1.Width = Me.ScaleWidth
If Me.ScaleHeight 》 CoolBar1.Height Then
Text1.Height = Me.ScaleHeight - TextTop
Else
Text1.Height = 0
End If
End Sub
Private Sub ImgCopy_Click()
Copy_Click ’复制
Check_ImgPaste
Check_ImgCutCopy
End Sub
Private Sub ImgCopy_MouseDown(Button As Integer, Shift As Integer,
X As Single, Y As Single)
’“按下”按钮
If Button = 1 Then
ImgCopy.Picture = ImageDown.ListImages("Copy").Picture
End If
End Sub
Private Sub ImgCopy_MouseMove(Button As Integer, Shift As Integer,
X As Single, Y As Single)
Label1 = "将选择的文本复制到剪裁板"
’判断鼠标位置,显示不同图像
If Button = 1 And (X 》 0 And X 《 ImgNew.Width And Y 》 0 And Y 《
ImgNew.Height) Then
ImgCopy.Picture = ImageDown.ListImages("Copy").Picture
ElseIf Button = 1 Then
ImgCopy.Picture = ImageUp.ListImages("Copy").Picture
End If
End Sub
Private Sub ImgCopy_MouseUp(Button As Integer, Shift As Integer, X
As Single, Y As Single)
If Button = 1 Then
’“抬起”按钮
ImgCopy.Picture = ImageUp.ListImages("Copy").Picture
End If
End Sub
Private Sub ImgCut_Click()
’If Text1.SelLength 》 0 Then
Cut_Click ’剪切
Check_ImgPaste
Check_ImgCutCopy
’End If
End Sub
Private Sub ImgCut_MouseDown(Button As Integer, Shift As Integer,
X As Single, Y As Single)
If Button = 1 Then
’“按下”按钮
ImgCut.Picture = ImageDown.ListImages("Cut").Picture
End If
End Sub
Private Sub ImgCut_MouseMove(Button As Integer, Shift As Integer,
X As Single, Y As Single)
Label1 = "剪切选择的文字到剪裁板"
’判断鼠标位置,显示不同图像
If Button = 1 And (X 》 0 And X 《 ImgNew.Width And Y 》 0 And Y 《
ImgNew.Height) Then
ImgCut.Picture = ImageDown.ListImages("Cut").Picture
ElseIf Button = 1 Then
ImgCut.Picture = ImageUp.ListImages("Cut").Picture
End If
End Sub
Private Sub ImgCut_MouseUp(Button As Integer, Shift As Integer, X
As Single, Y As Single)
If Button = 1 Then
’“抬起”按钮
ImgCut.Picture = ImageUp.ListImages("Cut").Picture
End If
End Sub
Private Sub ImgNew_Click()
New_Click
End Sub
Private Sub ImgNew_MouseDown(Button As Integer, Shift As Integer,
X As Single, Y As Single)
If Button = 1 Then
’“按下”按钮
ImgNew.Picture = ImageDown.ListImages("New").Picture
End If
End Sub
Private Sub ImgNew_MouseMove(Button As Integer, Shift As Integer,
X As Single, Y As Single)
Label1 = "创建新文件" ’修改提示信息
’判断鼠标位置,显示不同图像
If Button = 1 And (X 》 0 And X 《 ImgNew.Width And Y 》 0 And Y 《
ImgNew.Height) Then
ImgNew.Picture = ImageDown.ListImages("New").Picture
ElseIf Button = 1 Then
ImgNew.Picture = ImageUp.ListImages("New").Picture
End If
End Sub
Private Sub ImgNew_MouseUp(Button As Integer, Shift As Int
eger, X As Single, Y As Single)
If Button = 1 Then
’“抬起”按钮
ImgNew.Picture = ImageUp.ListImages("New").Picture
End If
End Sub
Private Sub ImgOpen_Click()
Open_Click
End Sub
Private Sub ImgOpen_MouseDown(Button As Integer, Shift As Integer,
X As Single, Y As Single)
’“按下”按钮
If Button = 1 Then
ImgOpen.Picture = ImageDown.ListImages("Open").Picture
End If
End Sub
Private Sub ImgOpen_MouseMove(Button As Integer, Shift As Integer,
X As Single, Y As Single)
Label1 = "选择文件名并打开文件"
’判断鼠标位置,显示不同图像
If Button = 1 And (X 》 0 And X 《 ImgNew.Width And Y 》 0 And Y 《
ImgNew.Height) Then
ImgOpen.Picture = ImageDown.ListImages("Open").Picture
ElseIf Button = 1 Then
ImgOpen.Picture = ImageUp.ListImages("Open").Picture
End If
End Sub
Private Sub ImgOpen_MouseUp(Button As Integer, Shift As Integer, X
As Single, Y As Single)
If Button = 1 Then
’“抬起”按钮
ImgOpen.Picture = ImageUp.ListImages("Open").Picture
End If
End Sub
Private Sub ImgPaste_Click()
Paste_Click ’粘贴
End Sub
Private Sub ImgPaste_MouseDown(Button As Integer, Shift As
Integer, X As Single, Y As Single)
If Button = 1 Then
’“按下”按钮
ImgPaste.Picture = ImageDown.ListImages("Paste").Picture
End If
End Sub
Private Sub ImgPaste_MouseMove(Button As Integer, Shift As
Integer, X As Single, Y As Single)
Label1 = "粘贴文本到当前光标位置"
’判断鼠标位置,显示不同图像
If Button = 1 And (X 》 0 And X 《 ImgNew.Width And Y 》 0 And Y 《
ImgNew.Height) Then
ImgPaste.Picture = ImageDown.ListImages("Paste").Picture
ElseIf Button = 1 Then
ImgPaste.Picture = ImageUp.ListImages("Paste").Picture
End If
End Sub
Private Sub ImgPaste_MouseUp(Button As Integer, Shift As Integer,
X As Single, Y As Single)
If Button = 1 Then
eName For Output As FileNum ’打开输出文件
’如果无指定文件,则创建新文件
Print #FileNum, Text1.Text ’输出文本
Close FileNum ’关闭文件
ImgUndoDisable
Else
MsgBox "不能保存无名文件" + Chr(13) + Chr(10) + "请选择“文件”菜单
的“保存”项", , "警告"
End If
End Sub
Private Sub ImgSave_MouseDown(Button As Integer, Shift As Integer,
X As Single, Y As Single)
If Button = 1 Then
ImgSave.Picture = ImageDown.ListImages("Save").Picture
End If
End Sub
Private Sub ImgSave_MouseMove(Button As Integer, Shift As Integer,
X As Single, Y As Single)
Label1 = "保存当前文件"
’判断鼠标位置,显示不同图像
If Button = 1 And (X 》 0 And X 《 ImgNew.Width And Y 》 0 And Y 《
ImgNew.Height) Then
ImgSave.Picture = ImageDown.ListImages("Save").Picture
ElseIf Button = 1 Then
ImgSave.Picture = ImageUp.ListImages("Save").Picture
End If
Private Sub ImgUndo_MouseMove(Button As Integer, Shift As Integer,
X As Single, Y As Single)
Label1 = "取消当前操作"
’判断鼠标位置,显示不同图像
If Button = 1 And (X 》 0 And X 《 ImgNew.Width And Y 》 0 And Y 《
ImgNew.Height) Then
ImgUndo.Picture = ImageDown.ListImages("Undo").Picture
ElseIf Button = 1 Then
ImgUndo.Picture = ImageUp.ListImages("Undo").Picture
End If
End Sub
Private Sub ImgUndo_MouseUp(Button As Integer, Shift As Integer, X
As Single, Y As Single)
If Button = 1 Then
’“抬起”按钮
ImgUndo.Picture = ImageUp.ListImages("Undo").Picture
End If
End Sub
Private Sub New_Click()
FileName = ""
Text1 = ""
ImgUndoDisable
End Sub
Private Sub Open_Click()
Dim FileNum As Integer
Dim buffer As String
Dim buffer1 As String
Dim FileSize As Long
Dim MaxLen As Long
MaxLen = 32768 ’文件最大长度
CommonDialog1.ShowOpen ’显示"打开文件"对话框
If Len(CommonDialog1.FileName) 》 0 Then
’有输入文件名
FileName = CommonDialog1.FileName ’保存文件名
FileSize = FileLen(FileName) ’获得文件长度
If FileSize 》 MaxLen Then
’文件超长
MsgBox "该文件过大,只能显示部分文本", , "警告"
Exit Sub
End If
Screen.MousePointer = 11 ’设置鼠标为沙漏
FileNum = FreeFile() ’获得可用文件号
Open FileName For Input As FileNum ’以顺序输入方式打开文件
Do While Not EOF(FileNum) And Len(buffer) 《 MaxLen ’读必须文本小于
32K
Line Input #FileNum, buffer1 ’读一行文字
buffer = buffer + buffer1 + Chr(13) + Chr(10) ’加入回车换行符
Loop ’循环体
Close FileNum ’关闭文件
ImgUndoDisable ’取消 Undo 功能
Text1.Text = buffer ’显示文本
UndoNew = buffer ’保存文本
buffer = "" ’释放内存
buffer1 = ""
Screen.MousePointer = 0 ’恢复鼠标指针
Me.Caption = "记事本 - " + FileName ’修改标题显示
End If
End Sub
Private Sub Paste_Click()
Text1.SelText = Clipboard.GetText
End Sub
Private Sub Picture1_MouseMove(Button As Integer, Shift As
Integer, X As Single, Y As Single)
Label1 = "工具栏"
End Sub
Private Sub Picture1_Resize()
If Picture1.Width 》 Label1.Left Then
Label1.Width = Picture1.ScaleWidth - Label1.Left
End If
End Sub
Private Sub Save_Click()
Dim FileNum As Integer ’文件句柄号
CommonDialog1.ShowSave ’显示保存对话框
If Len(CommonDialog1.FileName) 》 0 Then
’有输入文件名
FileName = CommonDialog1.FileName ’保存文件名
FileNum = FreeFile() ’获得可用文件号
Open FileName For Output As FileNum ’打开输出文件
’如果无指定文件,则创建新文件
Print #FileNum, Text1.Text ’输出文本
Close FileNum ’关闭文件
Me.Caption = "记事本 - " + FileName ’修改标题显示
ImgUndoDisable
End If
End Sub
Private Sub Text1_Change()
If Not ImgUndo.Enabled Then
’使“Undo”按钮可用
ImgUndoEnable
End If
UndoString = UndoNew
UndoNew = Text1
End Sub
Private Sub Text1_Click()
Check_ImgCutCopy
End Sub
Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer)
Check_ImgCutCopy
End sub
End Sub
Private Sub ImgSave_MouseUp(Button As Integer, Shift As Integer, X
As Single, Y As Single)
If Button = 1 Then
’“抬起”按钮
ImgSave.Picture = ImageUp.ListImages("Save").Picture
End If
End Sub
Private Sub ImgUndo_Click()
Text1.Text = UndoString
End Sub
Private Sub ImgUndo_MouseDown(Button As Integer, Shift As Integer,
X As Single, Y As Single)
If Button = 1 Then
’“按下”按钮
ImgUndo.Picture = ImageDown.ListImages("Undo").Picture
End If
End Sub

c学生信息管理系统源代码

void alter_link(Student * head);
int welcome();
Student * creat_link(Student * head,int *count);
Student * delete_link(Student * head,int *count);
void find_link(Student * head);
Student * insert_link(Student * head,int *count);
void print_link(Student * head);
void comput_link(Student *head,int *count);
这些函数只声明,没有定义,就是没有 实现。

c++图书馆藏书管理系统源代码

#include"stdio.h"
#include"string.h"
struct book /*定义结构体*/
{ char number;
char name;
char press;
char writer;
int n; /*现有量*/
int m; /*总量*/
}a;
int b; /*输入书的数量*/
void input() /*输入图书信息函数*/
{
FILE *fp;
char str2={" "};
int i;
if((fp=fopen("d:\\wen","w"))==NULL)
{ printf("Open failed\n");
return; }
printf("\nHow many books do you want to input?\n");
scanf("%d",&b);
for(i=0;i《b;i++)
{
printf("Enter the %d book’s number name press writer now all\n",i+1);
scanf("%s%s%s%s%d%d",&a.m);
fwrite(&a,sizeof(struct book),1,fp);
}
fclose(fp);
}
void Search() /*查询书籍*/
{
FILE *fp;
int w,i; /*w查询方式使用的数据*/
char str; /*查询书籍的编码书名出版社作者*/
if((fp=fopen("d:\\wen","r"))==NULL)
{ printf("Open failed\n");
return; }
for(i=0;i《b;i++)
if(fread(&a,sizeof(struct book),1,fp)!=1)
printf("file read error\n");
printf("search by number--6\n");
printf("search by name--7\n");
printf("search by writer--8\n");
printf("search by press--9\n");
scanf("%d",&w);
printf("Enter the word you want to search:\n");
scanf("%s",str);
switch(w)
{
case 6:
{for(i=0;i《b;i++)
if(strcmp(a.number,str)==0)
{printf("number: %s name: %s press: %s writer: %s now: %d all:%d\n",a.m);
break;
}
}
break;
case 7:
{for(i=0;i《b;i++)
if(strcmp(a.name,str)==0)
{printf("number: %s name: %s press: %s writer: %s now: %d all:%d\n",a.m);
break;}
}
break;
case 8:
{for(i=0;i《b;i++)
if(strcmp(a.press,str)==0)
{printf("number: %s name: %s press: %s writer: %s now: %d all:%d\n",a.m);
break;}
}
break;
case 9:
{for(i=0;i《b;i++)
if(strcmp(a.writer,str)==0)
{ printf("number: %s name: %s press: %s writer: %s now: %d all:%d\n",a.m);
break; }
}
}
fclose(fp);
}
void borrow() /*借阅图书函数*/
{ FILE *fp;
int i;
char xuehao;
char jieyue={"borrow:"};
if((fp=fopen("d:\\wen00.txt","w"))==NULL)
{ printf("Open failed\n");
return; }
printf("Enter your number:\n");
scanf("%s",xuehao);
printf("Enter the book’s number which you want to borrow\n");
scanf("%s",number2);
for(i=0;i《10;i++)
if(strcmp(a.number,number2)==0)
if(a.n》0)
{a.n--;
printf("borrow sucess!\n");
if(fwrite(&xuehao),1,fp)!=1)
printf("file write error\n");
if(fwrite(&jieyue,sizeof(jieyue),1,fp)!=1)
printf("file write error\n");
if(fwrite(&a,sizeof(struct book),1,fp)!=1)
printf("file write error\n");
break;
}
else
printf("borrow failed!");
fclose(fp);
}
void giveback() /*归还图书函数*/
{FILE *fp;
int i;
char xuehao;
char guihuan2={"give back"};
if((fp=fopen("d:\\wen00.txt","w"))==NULL)
{printf("cannot open file\n");
return;
}
printf("Enter your number:\n");
scanf("%s",xuehao);
printf("Enter the book’s number which you want to give back\n");
scanf("%s",number2);
for(i=0;i《1000;i++)
if(strcmp(a.number,number2)==0)
{ if(fwrite(&xuehao,sizeof(xuehao),1,fp)!=1)
printf("file write error\n");
if(fwrite(&guihuan2,sizeof(guihuan2),1,fp)!=1)
printf("file write error\n");
if(fwrite(&a),1,fp)!=1)
printf("file write error\n");
break;
}
printf("give back sucess!\n");
fclose(fp);
}
void adddelet() /*增加删除功能*/
{ FILE *fp;
char number3;
int s,i,j,t; /*t为增加或删除 s增加书的数量*/
if((fp=fopen("d:\\wen00.txt","w"))==NULL)
{printf("cannot open file\n");
return ;
}
printf("Chose what you want to do:");
printf("add books--11\n");
printf("delet books--12\n");
scanf("%d",&t);
switch(t)
{
case 11:
{printf("Enter the book’number which you want to add:");
scanf("%s",number3);
printf("How many books do you want to add?:");
scanf("%d",&s);
for(i=0;i《10;i++)
if(strcmp(a.number,number3)==0)
a.m+s;
} break;
default :
{printf("Enter the book’number which you want to delet:");
scanf("%s",number3);
for(i=0;i《10;i++)
if(strcmp(a.number,number3)==0)
for(;i《10;i++)
{ for(j=0;j《20;j++)
a;
for(j=0;j《20;j++)
a;
for(j=0;j《20;j++)
a;
for(j=0;j《20;j++)
a;
a.n;
a.m;
}
}

}
fclose(fp);
}
void main() /*主函数*/
{
printf("Welcome to labrary!\nChose what you want to do:\n");
printf("Input book’s information--1;\n");
printf("serach books--2;\n");
printf("borrow books--3;\n");
printf("add or delet books--4;\n");
printf("give back books--5;\n");
printf("quit--6;\n");
printf("Please chose zhe number:");
while(1)
{
switch(getchar())
{
case ’1’: input();break;
case ’2’: Search();break;
case ’3’: borrow() ;break;
case ’4’: adddelet();break;
case ’5’: giveback();break;

}
}
}

学生信息管理系统,C++实现的源代码

#include 《iostream》
#include《fstream》
#include《string》
using namespace std;
class student
{
public:
void setdate();//录入
void chazhao();//查找
void showdate();//输出
//void change();//修改
void del();//删除
private:
student *next,*head;
string name;
int age;
};
void student::setdate()
{
int n;
cout《《"请输入所要录入的学生人数:"《《endl;
cin》》n;
student *p,*s;
int i;
for(i=0;i《n;i++)
{
p=new student;
cout《《"分别输入学生的年龄和姓名:";
cin》》p-》age》》p-》name;
if(i==0)
head=s=p;
else s-》next=p;
p-》next=NULL;
s=p;
}
ofstream fout("d://program//test.txt",ios::out);
if(!fout){cout《《"cannot open file.";}
for(i=0;i《n;i++)
{
fout《《head-》age《《" "《《head-》name《《endl;
head=head-》next;
}
fout.close();
}
void student::showdate()
{
student *p;
ifstream fout1("d://program//test.txt",ios::in);
if(!fout1){cout《《"cannot open file.\n";exit(1);}
p=new student;
while(fout1.good())
{
fout1》》p-》age》》p-》name;
if(fout1.good())
cout《《p-》age《《" "《《p-》name《《endl;
}
fout1.close();
}
void student::chazhao()
{
string a;
int k=0;
cout《《"输入你要查找的学生的姓名:\n";
cin》》a;
student *p;
ifstream fout1("d://program//test.txt",ios::in);
if(!fout1){cout《《"cannot open file.\n";exit(1);}
while(fout1.good())
{
p=new student;
fout1》》p-》age》》p-》name;
if(p-》name==a)
{
cout《《p-》age《《" "《《p-》name《《endl;
k=1;
break;
}
}
if(k==0) cout《《"你所查找的学生不存在!!!\n";
fout1.close();
}
void student::del()
{
student *p,*op;
string namea;
cout《《"输入你所要删除的学生的姓名:\n";
cin》》namea;
ifstream fout("d://program//test.txt",ios::in);
if(!fout){cout《《"cannot open file.";}
while(fout.good())
{
p=new student;
int i=0;
fout》》p-》age》》p-》name;
if(p-》name==namea&&i==0)
{
delete p;
break;
}
else if(p-》name==namea&&i!=0)
{
op-》next=p-》next;
delete p;
break;
}
else
{
op=p;
p=p-》next;
}
i++;
}
cout《《"删除成功!!!\n";
fout.close();
}
int main()
{
student duixiang;
int m;
cout《《"-------------欢迎使用我的成绩管理系统!\n";
cout《《"--------------------1.录入学生信息\n";
cout《《"--------------------2.输出学生信息\n";
cout《《"--------------------3.查找学生信息\n";
cout《《"--------------------4.删除学生信息\n";
cout《《"--------------------5.退出系统\n";
cout《《"请选择所要执行的操作(1~4):\n";
cin》》m;
switch(m)
{
case 1:duixiang.setdate();
case 3:duixiang.chazhao();
//case 3:duixiang.change();break;
case 4:duixiang.del();break;
case 2:duixiang.showdate();
case 5:break;
}
return 0;
}
/*void menu::shanchu() {
system("cls") ;
char ch ;
cout《《"\n *** 删除信息 ***\n"《《endl ;
cout《《"\n 请输入要删除人的姓名 : " ;
cin》》ch ;
addbook *p , *p1 ;
p1 = head ;

while( p1 )
{
// cout《《ch《《" "《《p1-》name《《endl ; // 查找结点
if(strcmp( p1-》name , ch ) == 0 )
break ;
else {
p = p1 ; // 标记相连结点位置,删除后可连接
p1 = p1-》next ;
}
}
if( p1!= NULL )
{ // 判断结点是否为空
cout《《"所要删除的名片的信息如下,请确认!:\n"《《endl ;
output(p1) ; // 函数输出名片信息
cout《《"请再次确认是否删除该信息!!!(Y/N) :" ;
char c ;
while(1)
{
cin》》c ;
if( toupper(c==’\0’ )
{
if( p1 == head )
{ // 判断是否是第一个结点
head = p1-》next ;
delete p1 ;
}
else
{
p-》next = p1-》next ; // 已标记结点的连接
delete p1 ;
}
cout《《"\t\t *** 删除成功 *** \t\t\n" ;
system("cls") ;
cout《《"\n\n\n\n\n" ;
cout《《"\t\t *** 是否继续删除 *** \t\t\n" ;
cout《《"*** 请确认(Y/N) :" ;
while(1)
{
cin》》c;
if( toupper(c==’\0’ )
shanchu() ;
else if( toupper(c==’\0’ )
return ;
else cout《《"输入错误 , 请重新输入(Y/N) :" ;
}
}
else if( toupper(c==’\0’ ) return ;
else cout《《"输入错误 , 请重新输入(Y/N) :" ;
}
}
else {
cout《《"\n\n\n未找到该信息!!!"《《endl ;
system("pause") ;
return ;
}
}
*/

OK,关于内容管理系统源码和求图书馆管理系统C++源代码的内容到此结束了,希望对大家有所帮助。

内容管理系统源码(求图书馆管理系统C++源代码)

本文编辑:admin

更多文章:


软文推广怎么写才能吸引客户点击?

软文推广怎么写才能吸引客户点击?

『软文推广怎么写才能吸引客户点击?』 【文章开始】 软文推广怎么写才能吸引客户点击?这可是个让不少新手头疼的问题。说实话,写软文就像做菜,得知道食材(产品)的特点,还得懂火候(写作技巧)。今天咱们就来聊聊,怎么写软文才能让客户愿意看,甚至主

2026年9月13日 22:24

安康百度推广新站如何快速提升排名?

安康百度推广新站如何快速提升排名?

你有没有想过,新站怎么才能在百度推广里快速出排名?说实话,这事儿得慢慢来,但有几个关键点能帮你加速。今天咱们就来聊聊这个话题。 新站排名的几个核心要点 新站想快速排名,得知道百度看重啥。我常用的几个方法,你试试看: 关键词选择要精准 选长尾

2026年8月19日 09:18

昆明如何设计企业官网

昆明如何设计企业官网

昆明如何设计企业官网? 你懂的,一个好的官网是公司门面,得靠谱!今天就来聊聊昆明企业官网设计那些事儿。 一、明确网站目标 先问自己:建网站是为了啥?是招客户、卖产品,还是展示公司实力?目标不同,设计方向就差远了。 常见目标分类: 品牌宣传型

2026年9月29日 15:01

又名峨眉山站长网适合新手做网站吗?

又名峨眉山站长网适合新手做网站吗?

『又名峨眉山站长网适合新手做网站吗?』 【文章开始】 最近不少朋友问我,刚入行做网站的新手,到底适不适合去又名峨眉山站长网学习?说实话,这个问题问得挺实在,毕竟选对平台很重要。下面我就结合自己的经验,给大家好好聊聊。 新手为何会关注又名峨眉

2026年8月23日 10:57

优化网站速度慢怎么办?新站提升排名的实用方法

优化网站速度慢怎么办?新站提升排名的实用方法

你是不是也遇到过网站加载超慢,尤其是新站,访问速度慢得像在翻老照片?说实话,这问题太常见了,但别担心,今天就来聊聊怎么优化网站速度慢,特别是新站怎么提升排名。 网站速度慢的常见原因 网站速度慢分多种情况,可能是服务器问题、代码冗余、图片没优

2026年7月24日 12:03

收录优美:如何通过优化让网站内容更受欢迎

收录优美:如何通过优化让网站内容更受欢迎

你是否也觉得,辛辛苦苦做的内容,却总是被百度忽略?收录不理想,让网站内容就像藏宝图,明明宝藏就在那里,却找不到入口。别担心,今天咱们就来聊聊,新站如何快速收录,让内容呈现更优美的状态。 一、为什么新站收录慢? 新站刚上线,百度可能觉得你不够

2026年8月21日 11:30

小程序开发平台怎么选择(如何找到靠谱的小程序开发平台)

小程序开发平台怎么选择(如何找到靠谱的小程序开发平台)

各位老铁们好,相信很多人对小程序开发平台怎么选择都不是特别的了解,因此呢,今天就来为大家分享下关于小程序开发平台怎么选择以及如何找到靠谱的小程序开发平台的问题知识,还望可以帮助大家,解决大家的一些困惑,下面一起来看看吧!本文目录如何找到靠谱

2026年5月24日 08:08

新站百度seo引流坑人,如何正确操作?

新站百度seo引流坑人,如何正确操作?

新站百度seo引流坑人,如何正确操作? 你是不是也觉得新站做百度seo引流特别难?别慌,今天就来跟你唠唠这个话题。说实话,新站想要在百度里混出点名堂,确实得费点心思。但只要找对方法,避免那些常见的坑,其实也没那么难。 新站seo引流,常见哪

2026年10月4日 00:40

百度上网无法访问解决步骤:百度上网遇到连接问题怎么办

百度上网无法访问解决步骤:百度上网遇到连接问题怎么办

『百度上网遇到连接问题怎么办』 【文章开始】 你有没有过这样的经历?明明网络好好的,一打开百度就打不开,心里是不是挺着急的?别担心,这事儿我碰到过,后来摸索出点门道,今天就跟大家聊聊。 为啥百度上网会突然不行? 首先,咱们得知道,百度上网不

2026年9月19日 21:37

软件开发工具有哪些?初学者如何快速上手

软件开发工具有哪些?初学者如何快速上手

你有没有想过,面对市面上五花八门的软件开发工具,到底该从哪儿下手?说实话,这确实是个让人头疼的问题,尤其是对于刚入行的新手来说。别担心,我今天就来跟你唠唠,手把手教你如何挑选适合自己的开发工具,让你快速入门。 一、新手入门:开发工具的选择标

2026年8月6日 21:48

台州seo优化排名:小型企业如何快速提升网站排名

台州seo优化排名:小型企业如何快速提升网站排名

『台州seo优化排名:小型企业如何快速提升网站排名』 开头就问你,为啥我们这些小本生意,做网站总感觉排名上不去?说实话,这事儿吧,急不来,但也不是完全没辙。今天咱们就来聊聊,特别是针对台州的小型企业,怎么才能让网站在百度上露个脸。 一、为啥

2026年6月3日 14:30

郑州百度seo优化技术概念:如何通过关键词布局提升排名

郑州百度seo优化技术概念:如何通过关键词布局提升排名

你有没有想过,为什么有些网站在百度上排名那么高,而你的网站却总是淹没在搜索结果里? 其实,这背后离不开关键词布局的技巧。今天,我就来跟大家聊聊郑州百度seo优化技术概念中,如何通过关键词布局提升排名。 关键词布局的重要性 关键词布局是seo

2026年10月2日 21:42

如何优化网站建设中的图片加载速度:网站建设图片如何加载优化技巧

如何优化网站建设中的图片加载速度:网站建设图片如何加载优化技巧

如何优化网站建设中的图片加载速度?这可是个让不少新手头疼的问题。说实话,图片加载慢不仅影响用户体验,还可能让搜索引擎给你贴上“慢网站”的标签。今天咱们就来聊聊这个话题,希望能帮到你。 为什么图片加载速度很重要? 你懂的,现在的用户都追求快节

2026年7月8日 04:06

seo域名是什么意思?新站如何选好域名提升权重?

seo域名是什么意思?新站如何选好域名提升权重?

seo域名是什么意思?新站如何选好域名提升权重? 你有没有想过,为什么有些网站一上线就能排名靠前,而有些却一直默默无闻?除了内容质量外,域名也是一个关键因素。今天就来聊聊seo域名是什么意思,以及新站如何选好域名提升权重。 什么是SEO域名

2026年5月31日 18:48

搜索排名怎么优化?新站长尾关键词选择策略

搜索排名怎么优化?新站长尾关键词选择策略

你有没有想过,新站怎么才能在搜索排名里站稳脚跟?说实话,我刚开始做网站的时候也头疼这个问题。不过后来发现,选择合适的长尾关键词真的能起到事半功倍的效果。今天就来跟你聊聊,新站如何通过长尾关键词优化搜索排名。 为什么长尾关键词对新站这么重要?

2026年8月19日 23:36

泰安个人网站设计多少钱?

泰安个人网站设计多少钱?

『泰安个人网站设计多少钱?』 【文章开始】 你有没有想过,在泰安做个人网站设计,到底需要花多少钱?说实话,这问题挺复杂的,因为价格跟很多因素有关。下面我就跟你好好聊聊,希望能帮到你。 影响价格的主要因素 做网站费用不是一刀切的,得看你的具体

2026年8月11日 13:30

98堂论坛seo新手建站推荐什么平台:98堂论坛seo新手如何快速搭建网站

98堂论坛seo新手建站推荐什么平台:98堂论坛seo新手如何快速搭建网站

你是否也想通过98堂论坛seo学习,快速搭建一个自己的网站呢?其实这并不难,关键是要找对方法。今天我们就来聊聊,作为新手,应该如何入手。 一、选择合适的建站平台 首先,选平台是关键。市面上的建站平台五花八门,各有优劣。我常用的几个平台有Wo

2026年10月1日 17:19

如何进行有效的seo优化天津新站排名?

如何进行有效的seo优化天津新站排名?

嘿,最近有朋友问起,新站怎么才能快速在天津地区排名起来?说实话,这事儿得慢慢来,但方法对了,速度还是能提一提的。今天咱们就来聊聊,新站做seo优化天津排名,有哪些门道。 1. 新站做seo优化天津排名,先从啥开始? 很多人一上来就急着刷外链

2026年9月26日 13:07

南京本地企业网站推广怎么做?新手也能快速上手

南京本地企业网站推广怎么做?新手也能快速上手

『南京本地企业网站推广怎么做?新手也能快速上手』 【文章开始】 你有没有想过,为啥有些南京本地的企业网站在网上很容易搜到,而自己的网站却像隐形人一样?说实话,这事儿挺让人抓狂的。今天咱们就来聊聊,南京本地企业网站推广到底该怎么玩。 1. 了

2026年9月22日 11:45

北京百度优化新站如何快速排名:北京百度优化新站如何快速提升排名

北京百度优化新站如何快速排名:北京百度优化新站如何快速提升排名

『北京百度优化新站如何快速提升排名』 【文章开始】 你想知道新开的网站怎么才能在北京百度上快速排名吗?其实这事儿说难也不难,关键是要找对方法。我常用的几个策略,希望能帮到你。 一、网站基础建设要扎实 新站想要快排名,基础建设是第一步。你懂的

2026年9月11日 11:36

近期文章

本站热文

弩怎么读拼音(聂绀弩怎么读拼音)
2025-04-07 17:31:11 浏览:1379
灏怎么读(灏怎么读,什么意思)
2025-04-17 20:20:29 浏览:1351
南山网红餐厅(南山区有哪些酒楼)
2026-05-08 21:34:01 浏览:1257
标签列表

热门搜索