name=教务管理系统_log,
filename='D:sql server教务管理系统_data.mdf',
改成
name=教务管理系统_log,
filename='D:sql server教务管理系统_data.ldf',
试试
说明:数据库文件和日志文件要不同名
#include <iostream>
//#include <String>
using namespace std
struct Date
{
int year
int month
int day
}
class Person
{
protected:
Date birthday
char* name
int personID
public:
Person(char* name,int personID,Date birthday)
{
this->birthday=birthday
this->name=name
this->personID=personID
}
void say()
{
cout<<name<<"说话"<<endl
}
virtual void ShangKe()=0
}class Teacher:public Person
{
private:
int teacherID
public:
Teacher(char * name,int personID,int teacherID, Date birthday):Person(name,personID,birthday)
{
this->teacherID=teacherID
}
void ShangKe()
{
cout<<name<<"老师上课"<<endl
}
}class Student:public Person
{
private:
int studentID
public:
Student(char * name,int personID,int teacherID,Date birthday):Person(name,personID,birthday)
{
this->studentID=studentID
}
void ShangKe()
{
cout<<name<<"学生听课"<<endl
}
}
void main()
{
Person *p
Date birthday
birthday.year=2000
birthday.month=1
birthday.day=1
Teacher tea("zhangsan",123,001,birthday)
Student stu("lisi",456,007,birthday)
p=&tea
p->ShangKe()
p=&stu
p->ShangKe()
}
大家来投我一票···嘿嘿··
教务管理系统需求基本上围绕三方面展开:
1、提高招生转化率也就是CRM系统,目前市面上做的很多可以参考一下,但是与之后教务和财务系统无法打通;
2、教务管理系统:有了(意向)学员就需要对学生信息,课程,学费等进行管理,除此之外还有销售提成,教师课时提成是财务头疼的事,排课和签到管理是老师工作量巨大;
3、营销系统:主要是将教学过程和成果沟通和分享出去,再结合社会化媒体,从口碑方面促进招生工作。
你要是想做一个简单的学生信息增删查改还是很容易的,但要做成教务系统就很繁琐,不光是jsp知识, 你还要会建数据库表,表的关联关系要理清楚。数据交互的方式,是json还是直接用el表达式。写代码要采用何种后台框架,原生的jdbc还是hibernate?struts2还是springmvc ....最好还是先把这些零散的知识都了解一遍再开始做。否则做下去发现很困难,及易打消自己的学习积极性。
以上就是关于为什么提示数据库创建失败?全部的内容,如果了解更多相关内容,可以关注醉学网,你们的支持是我们更新的动力!