使用C或cpp的以下信息制作班级日历 [英] Make a class calender using following information by C or cpp

查看:94
本文介绍了使用C或cpp的以下信息制作班级日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用户类型:
1.Faculty / Admin
a。 UID
b.password
2.Student
a.UID-regestration number
b.password
Admin的功能:
1.创建任务
2.分配任务日期
a.To个人
b.To所有
3.更新任务
a.To个人
b.To所有
4.删除任务
a.To个人
b.To all
5.显示提交详情
a。前五名学生
b 。最后五名学生
6.Declare或宣布topper

学生功能
1.他/她可以查看他/她的任务
2.He / She可以提交指定的任务
3.提交日期检查
-如果日期过度提交则不允许
4.学生可以查看他/她的任务日期
5.He /她还可以查看最终结果





我尝试了什么:



实际上我是cpp的新手所以我还在尝试它。任何人都可以帮我

解决方案

引用:

其实我是cpp的新手所以我还在尝试它。



要么你是绝对的初学者,学习个人项目是错误的学习方式。建议:找一些教程并做每一个练习。

要么你不是那么初学者,你应该能够通过检查你的课程做这个功课。

引用:

任何人都可以帮助我



在这里,我们将帮助您修复代码,但是您需要显示你的代码并表达问题。

我们不做你的功课。因为它无助于你学习。


当你需要做这项工作时,你需要学习C ++。这不是一个入门项目,所以你应该在该领域有一些教学。



在互联网上搜索一些教程,如在youtube上,或深入研究 C ++教程。 C ++在开始时需要大量的学习,但它变得更容易。



注意:需要实现该分配的每一点。示例

  class 学生
{
std :: string uid; // 注册号(2.a)
std :: string password; // (2.b)
任务任务; // 你也需要实现这个Task类!!!

void viewTask(); // (F1.4)
}


Types of user:
1.Faculty /Admin
  a. UID
  b.password
2.Student
  a.UID-regestration number
  b.password
Functionalities for Admin:
  1.Create a task
  2.Assigned a task with date
    a.To individual
    b.To all
  3.Update the task
    a.To individual
    b.To all
  4.Delete the task
    a.To individual
    b.To all
  5.Display the submission details
    a.First five students
    b.Last five students
  6.Declare or announced the topper
  
Functionalities for student
  1.He/She can view his/her task
	2.He/She can submit an assigned task
	3.Submission date checking
	  -if date is over submission is not allowed
	4.Student can view his/her task with date
	5.He/She can also view the final result 



What I have tried:

Actually i am new to cpp so i am still trying it.Can any one help me

解决方案

Quote:

Actually i am new to cpp so i am still trying it.


Either you are absolute beginner, and learning with personal projects is the wrong way to learn. Advice: find some tutorial and do every exercises.
Either you are not so beginner, and you should be able to do this homework by checking your course.

Quote:

Can any one help me


Here, we will help you to fix your code, but you need to show your code and express the problem.
We don't do your homework. Because it will not help you to learn.


You need to learn C++ when you need do to that work. It isnt a primer project and so YOU should have some teaching in that area.

Search for some tutorial in the internet like on youtube, or dig into this C++ tutorial. C++ needs a lot of learning at start but than its becomes easier.

Watch out: every point of the assigment needs to be implemented. Example

class Student
{
  std::string uid;//registration number (2.a)
  std::string password;//(2.b)
  Task task;//you need to implement this Task class too !!!

  void viewTask();// (F1.4)
}


这篇关于使用C或cpp的以下信息制作班级日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆