一个简单的汽车租赁管理系统(C++控制台程序):利用C++实现对汽车和客户信息的增、删、改等操作,并保存。
部分代码://CarRent.cpp:定义控制台使用程序的入口点。
//#include"stdafx.h"#include"CarData.h"#include"Menu.h"#include"CustomerData.h"intmain(){ Menu::welcome(); Menu::login();//登录界面 charchoice; intcarid,customerid; //汽车编号,客户编号 CustomerDataCustomerDB; //客户库 Customer*r; //客户 CarDataCarDB; //汽车库 Car*b; //汽车 Menu::showMenu();//显示菜单 coutcustomerid; try { if(customeridcarid; try { if(caridgetNo()); coutcustomerid; try { if(customeridcarid; try { if(carid<=0) throw1; } catch(...) { cout<<"输入有误,请重新输入"; break; } r=CustomerDB.search(customerid);//按编号查找 if(r==NULL) { cout<<"不存在该客户!"<<endl; break; } b=CarDB.search(carid); if(b==NULL) { cout<<"不存在该汽车!"<getOnshelf()==1) { cout<<"该汽车已经归还!"<<endl; break; } cout<<"您成功归还一辆"
2022/9/4 11:34:28 10KB 汽车管理 出租 C++ 控制台程序
1
packagecom.frog.vote.servlet.front;importjava.io.IOException;importjava.sql.Timestamp;importjava.util.ArrayList;importjava.util.List;importjavax.servlet.ServletContext;importjavax.servlet.ServletException;importjavax.servlet.http.HttpServlet;importjavax.servlet.http.HttpServletRequest;importjavax.servlet.http.HttpServletResponse;importcom.frog.vote.bean.UserBean;importcom.frog.vote.cons.Const;importcom.frog.vote.dao.entity.Vote;importcom.frog.vote.factory.ServiceFactory;publicclassVoteServletextendsHttpServlet{ @Override protectedvoiddoGet(HttpServletRequestreq,HttpServletResponseresp) throwsServletException,IOException { doPost(req,resp); } @Override protectedvoiddoPost(HttpServletRequestreq,HttpServletResponseresp) throwsServletException,IOException { req.setCharacterEncoding("gbk"); resp.setContentType("text/html;charset=gbk"); //先取出操作参数 Stringaction=req.getParameter("action"); ServletContextapplication=getServletContext(); //显示的列表 if("show".equals(action)) { //调用service层方法得到所有的 Stringtemp=req.getParameter("page"); intpage=1; if(temp!=null) { try { page=Integer.parseInt(temp); } catch(NumberFormatExceptione) { e.printStackTrace(); } } UserBeanub=(UserBean)req.getSession().getAttribute(Const.USER); intuid=ub.getId(); req.setAttribute("page",ServiceFactory .getVoteService().listUserPage(page,uid)); application.getRequestDispatcher("/WEB-INF/front/list.jsp") .forward(req,resp); return; } elseif("save".equals(action)||"update".equals(action)) { Stringsid=req.getParameter("id"); String[]answers=req.getParameterValues("choice"); Listlist=newArrayList(); inttemp; for(Stringanswer:answers){temp=Integer.parseInt(answer);list.add(temp);} inttid=Integer.parse
2022/9/3 9:36:43 577KB jsp+servlet+mysql
1
用于全景图像拼接的程序源代码/cdib.cpp#include"stdafx.h"#include"math.h"//#include"process.h"#include"cdib.h"#include"GlobalApi.h"#ifdef_DEBUG#definenewDEBUG_NEW#undefTHIS_FILEstaticcharTHIS_FILE[]=__FILE__;#endif//声明串行化过程IMPLEMENT_SERIAL(CDib,CObject,0);/***************************************************************************\函数名称:*CDib()**\输入参数:*无**\前往值:*无**\说明:*构造函数**************************************************************************/CDib::CDib(){m_hFile=NULL;m_hBitmap=NULL;m_hPalette=NULL;m_nBmihAlloc=m_nImageAlloc=noAlloc;Empty();}/***************************************************************************\函数名称:*CDib()**\输入参数:*CSizesize-位图尺寸*intnBitCount-象素位数**\前往值:*无**\说明:*构造函数*根据给定的位图尺寸和象素位数构造CDib对象,并对信息头和调色板分配内存*但并没有给位图数据分配内存*
2022/9/3 6:59:10 33KB 图像拼接
1
NULL博文链接:https://yuhuiblog695685688425687986842568269.iteye.com/blog/2336132
2015/2/3 7:37:53 32KB 源码 工具
1
NULL博文链接:https://justcoding.iteye.com/blog/1103121
2017/8/27 6:24:25 526KB 源码 工具
1
NULL博文链接:https://exceptioneye.iteye.com/blog/1405495
2019/10/3 15:01:36 93KB 源码 工具
1
用ajax获取后台数据,前往json数据,怎么在前台使用呢?后台if(dataType=="SearchCustomer"){intID;if(Int32.TryParse(CustomerID,outID)){strings=GridComputer.GridCustomer.getCustomer(1,1,ID);if(s==null){context.Respon
2016/11/20 3:54:43 30KB ajax js json
1
NULL博文链接:https://chun521521.iteye.com/blog/1935516
2016/5/20 18:10:11 2KB 源码 工具
1
NULL博文链接:https://canlynet.iteye.com/blog/826639
2021/6/27 8:33:20 645KB 源码 工具
1
NULL博文链接:https://onestopweb.iteye.com/blog/2333290
2020/7/27 22:22:04 33KB 源码 工具
1
共 253 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡