敢不敢和我一起从小白逆袭到大神?互相帮助,互相监督,互相加油!!!
今天是注册的第一天,但已经在B站上了好几节课了。好的,没错,聪明的你已经发现,我没有做作业!哈哈哈,好冷就说敢不敢加入我,成为我一起乘风破浪的小伙伴?
给自己半年的时间,从小白到大神?(当然啦,不管半年后如何,Flag咱还是先立它一个,态度和气势都得拿出来不是?)
❤️咱就是说,每周来这个帖子里打卡3次记录一下自己的学习进度。如果气馁了,也来留留言,给你安慰。
来吧,开始,战起来!!!
先给自己打个call 加油{:10_265:} 我还是溜娃去 作业什么的,我也基本上不做
半年的时间肯定是不够的
给你9年的时间,先把C语言精通了再说
^_^
我也是,昨天刚开始学,任重而道远啊{:10_254:}{:10_254:} 好的,我加入你!一起打卡吧! package OOPtest4.java文件;
/**
* 返回PlainText格式的队伍信息的类
*
* @author "HuangFan"
* @version 1.0
*
*/
public class PlainTextTeamFormatter implements TeamFormatter{
private final static String NEW_LINE = System.getProperty("line.separator");
static private PlainTextTeamFormatter singletonInstance = null;
/**
* 获取类PlainTextTeamFormatter的单一实例
*
* @return 类PlainTextTeamFormatter的单一实例
*
*/
static public PlainTextTeamFormatter getSingletonInstance() {
if(singletonInstance == null) {
singletonInstance = new PlainTextTeamFormatter();
}
return singletonInstance;
}
/**
* 构造函数声明为私有,使其他类不能创建该类的实例
*
*/
private PlainTextTeamFormatter() {
}
@Override
/**
* 该方法返回队伍信息的一个PlainText格式的表示
*
* @param team
* @return 队伍信息的PlainText表示
*
*/
public String formatTeam(Team team) {
// TODO Auto-generated method stub
String out = "Team {"+NEW_LINE+" teamId : "+team.getTeamId()+NEW_LINE;
out += " teamName : "+team.getTeamName()+NEW_LINE;
out += " department : "+team.getDepartment()+NEW_LINE;
out += " creator {"+NEW_LINE;
out += " id : "+team.getCreator().getId()+NEW_LINE;
out += " name : "+team.getCreator().getName()+NEW_LINE;
out += " phoneNo : "+team.getCreator().getPhoneNo()+NEW_LINE;
out += " email : "+team.getCreator().getEmail()+NEW_LINE;
out += " studentNo : "+team.getCreator().getStudentNo()+NEW_LINE;
if(team.getCreator().getGender() == true) {
out += " gender : "+"女"+NEW_LINE;
}
else {
out += " gender : "+"男"+NEW_LINE;
}
out += " grade : "+team.getCreator().getGrade()+NEW_LINE;
out += " department : "+team.getCreator().getDepartment()+NEW_LINE;
out += " }"+NEW_LINE;
out += " studentList {"+NEW_LINE;
for(Student student : team.students) {
out += " student {"+NEW_LINE;
out += " id : "+student.getId()+NEW_LINE;
out += " name : "+student.getName()+NEW_LINE;
out += " phoneNo : "+student.getPhoneNo()+NEW_LINE;
out += " email : "+student.getEmail()+NEW_LINE;
out += " studentNo : "+student.getStudentNo()+NEW_LINE;
if(student.getGender() == true) {
out += " gender : "+"女"+NEW_LINE;
}
else {
out += " gender : "+"男"+NEW_LINE;
}
out += " grade : "+student.getGrade()+NEW_LINE;
out += " department : "+student.getDepartment()+NEW_LINE;
out += " }"+NEW_LINE;
}
out += " }"+NEW_LINE;
out += " teacherList {"+NEW_LINE;
for(Teacher teacher : team.teachers) {
out += " teacher {"+NEW_LINE;
out += " id : "+teacher.getId()+NEW_LINE;
out += " name : "+teacher.getName()+NEW_LINE;
out += " phoneNo : "+teacher.getPhoneNo()+NEW_LINE;
out += " email : "+teacher.getEmail()+NEW_LINE;
out += " teacherNo : "+teacher.getTeacherNo()+NEW_LINE;
out += " department : "+teacher.getDepartment()+NEW_LINE;
out += " }"+NEW_LINE;
}
out += " }"+NEW_LINE;
out += "}"+NEW_LINE;
return out;
}
}
这是我今天写的一部分代码,作为本周第一次打卡 我是大学生,要学的不只是编程,打卡可以用别的吗,比如物理? tommyyu 发表于 2022-11-16 08:08
加油
加油{:5_108:} 1molHF 发表于 2022-11-16 21:38
我是大学生,要学的不只是编程,打卡可以用别的吗,比如物理?
Why not?你是物理系学生呀? 1molHF 发表于 2022-11-16 21:36
这是我今天写的一部分代码,作为本周第一次打卡
原来是大神{:5_92:} python天下第er 发表于 2022-11-16 09:42
我也是,昨天刚开始学,任重而道远啊
咱就是说,往前冲 python天下第er 发表于 2022-11-16 09:42
我也是,昨天刚开始学,任重而道远啊
咱就是说,往前冲 人造人 发表于 2022-11-16 09:32
作业什么的,我也基本上不做
半年的时间肯定是不够的
给你9年的时间,先把C语言精通了再说
我不管,先冲一波 zhiwen 发表于 2022-11-16 08:39
我还是溜娃去
边溜边学,两不误 Dada1 发表于 2022-11-17 00:01
Why not?你是物理系学生呀?
不是,软件工程专业的学生,但不可避免的要学物理{:10_266:} Dada1 发表于 2022-11-17 00:02
原来是大神
我的天,这就叫大神了?我的编程能力是远低于我所在的专业的平均水平的。 1molHF 发表于 2022-11-16 21:38
我是大学生,要学的不只是编程,打卡可以用别的吗,比如物理?
我的意思是有时候因为要学别的东西,所以有一些天打不了代码,这些天的打卡我就想用我学的别的东西代替。 本周第二次打卡
package OOPtest4.java文件;
/**
* 返回HTML格式的队伍信息的类
*
* @author "HuangFan"
* @version 1.0
*
*/
public class HTMLTeamFormatter implements TeamFormatter{
private final static String NEW_LINE = System.getProperty("line.separator");
static private HTMLTeamFormatter singletonInstance = null;
/**
* 获取类HTMLTeamFormatter的单一实例
*
* @return 类HTMLTeamFormatter的单一实例
*
*/
static public HTMLTeamFormatter getSingletonInstance() {
if(singletonInstance == null) {
singletonInstance = new HTMLTeamFormatter();
}
return singletonInstance;
}
/**
* 构造函数声明为私有,使其他类不能创建该类的实例
*
*/
private HTMLTeamFormatter() {
}
@Override
/**
* 该方法返回队伍信息的一个HTML格式的表示
*
* @param team
* @return 队伍信息的HTML表示
*
*/
public String formatTeam(Team team) {
// TODO Auto-generated method stub
String out = "<html>"+NEW_LINE+" <body>"+NEW_LINE;
out += " <center><h2>Team Information</h2></center>"+NEW_LINE;
out += " "+team.getTeamId()+" "+team.getTeamName()+" "+team.getDepartment()+"<br>"+NEW_LINE;
out += " creator["+team.getCreator().getId()+" "+team.getCreator().getName()+" "+team.getCreator().getPhoneNo()+" "+team.getCreator().getEmail()+" "+team.getCreator().getStudentNo();
if(team.getCreator().getGender() == true) {
out += " "+"女"+" ";
}
else {
out += " "+"男"+" ";
}
out += team.getCreator().getGrade()+" "+team.getCreator().getDepartment()+"]<br>"+NEW_LINE;
out += " <h3>StudentList</h3>"+NEW_LINE+" <blockquote>"+NEW_LINE;
for(Student student : team.students) {
out += " "+student.getId();
out += " "+student.getName();
out += " "+student.getPhoneNo();
out += " "+student.getEmail();
out += " "+student.getStudentNo();
if(student.getGender() == true) {
out += " "+"女";
}
else {
out += " "+"男";
}
out += " "+student.getGrade();
out += " "+student.getDepartment();
out += "<br>"+NEW_LINE;
}
out += " </blockquote>"+NEW_LINE+" <h3>TeacherList</h3>"+NEW_LINE;
out += " <blockquote>"+NEW_LINE;
for(Teacher teacher : team.teachers) {
out += " "+teacher.getId();
out += " "+teacher.getName();
out += " "+teacher.getPhoneNo();
out += " "+teacher.getEmail();
out += " "+teacher.getTeacherNo();
out += " "+teacher.getDepartment();
out += "<br>"+NEW_LINE;
}
out += " </blockquote>"+NEW_LINE+" </body>"+NEW_LINE;
out += "</html>"+NEW_LINE;
return out;
}
}
页:
[1]
2