代写CSE 325、代做program、代做C/C++、C/C++程序语言调试代写 Statistics统计、回归、迭代|代做

CSE 325 Fall 2019Computer Project #4Assignment OverviewFor this assignment, you are to design and implement a C/C++ program that will serve as a basic command-lineinterpreter (shell). You will design and implement additional functionality in subsequent projects.It is worth 40 points (4% of course grade) and must be completed no later than 11:59 PM on Thursday, 9/26.Assignment DeliverablesThe deliverables for this assignment are the following files:proj04.makefile – the makefile which produces proj04proj04.student.c – the source code file for your solutionBe sure to use the specified file names and to submit your files for grading via the CSE Handin system before theproject deadline.Assignment Specifications1. The program will repeatedly display a prompt containing the sequence number of the current command(starting at 1) and the username of the user executing the program. This information will be enclosed in thecharacters [ and ]. For example:[1 mccullen]The sequence number and username will be separated by a single space.2. After displaying the prompt, the program will repeatedly read one line of input from the user and process it. Aninput line is defined as a sequence of zero or more tokens (character strings), separated by one or more delimiters(blanks and tabs), ending with a newline character. There will be no more than 128 characters in a line.If the first token is the name of a built-in command (listed below), then the program will take the appropriateaction. Otherwise, the program will assume that it is an error.3. The program will recognize the following built-in commands:halt terminate the shell processhelp display built-in commandsdate display current date and timeenv display environment variablespath display current search pathcwd display absolute pathname of current working directorycd manage current working directoryBuilt-in commands will be completely processed by the program (the program will not create a child process toperform the processing).4. The command help will display a list of all valid built-in commands. 5. The command date will display the current date and time in a human-readable format.6. The command env will display the user’s environment variables in a format similar to setenv in the C shell.7. The command path will display the current search path in a readable format.8. The command cwd will display the absolute pathname of the current working directory.9. The command cd will manage the current working directory.a) The command cd without any other tokens will reset the current working directory to be the user’s homedirectory.b) The command cd DIR will reset the current working directory to be DIR, where that token may be arelative or absolute pathname.c) The command cd ~USER will reset the current working directory to be the home directory of the userwith username USER. As a special case, the symbol ~ represents the home directory of the current user.10. The program will perform appropriate error handling. It will display an appropriate message if the userscommand fails in any way.Assignment Notes1. As stated above, your source code file will be named “proj04.student.c”; that source code file may contain C orC++ statements.2. You must use “g++” to translate your source code file in the CSE Linux environment.3. Information about system calls and library functions which might be useful for this project may be viewed usingthe man utility. For example:man 2 timeman 2 chdirman 3 ctimeman 3 getcwdman 3 cuseridman 3 string4. As noted above, you will extend your program in subsequent projects, so you would be wise to properlystructure and comment your source code. 本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp

QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(代写CSE 325、代做program、代做C/C++、C/C++程序语言调试代写 Statistics统计、回归、迭代|代做)