C++代写:Review Programming in C++代做C/C++实验、C/C++编程代做

Introduction写一个统计城市欢迎度的管理系统,涉及到指针操作,从文件读取信息。增删改查求平均值等等基本功能,还要自己创建makefile,在linux平台下运行,最后完成测试RequirementGrading: EVERY assignment in this course is graded by demoing your work for10 minutes with a TA. You are required to meet with a TA within one week afterthe due date to demo. You are penalized for failure to see a TA within the week ormissing a scheduled appointment. In either case, if you are within 1 day (24hours) of the deadline, you lose 10 points. If you are within 7 days (1 week) of thedeadline, then you lose 25 points, anything outside of a week from the deadlineto demo is an automatic 50 point deduction. Your job is to convince the TA that yourprogram works correctly, i.e. show your TA how to use/break your program☺During your time in programming, you will undoubtedly run into a situation where youwill need to go through information more than once or need to perform. the same taskover and over. The way we as programmers accomplish this is through the use ofloops and functions.(90 pts) Implementation: Problem StatementYou will write a program to compare state and county information. You musthave the following structs in your program.struct county {string name; //name of countystring city; //name of cities in countyint cities; //number of cities in countyint population; //total population of countyfloat avg_income; //avg household incomefloat avg_house; //avg household price};struct state {string name; //name of statestruct county c; //name of countiesint counties; //number of counties in stateint population; //total population of state};You will receive the number of states and filename from the user as command-linearguments. The number supplied with the –s option is the number of states to becreated and the text following the –f option is the filename with the state/countyinformation: a.out –s 2 –f states1.txtThis would create a dynamic array of 2 states on the heap, and you would read the restof the information about the state and counties from a file. Each line in the file willcontain the information for each state and county in the following order:State_name state_pop #_countycounty_name county_pop county_income county_house #_cities city_nameExample:Oregon 1000000 2Benton 53000 100000 250000 1 CorvallisLane 80000 50000 150000 2 Eugene SpringfieldSouth_Carolina 1000000 2Anderson 80000 100000 80000 2 Anderson PendletonPickens 50000 50000 20000 2 Clemson PickensYour program must define the following functions, with the exact prototypes:bool is_valid_arguments(char info[]);state create_states(int);void get_state_data(state );county create_counties(int);void get_county_data(county );void delete_info(state );In addition to these functions above, you need to determine the other functions you willneed to print information answering the following information: the state with the largest population, the county with the largest population, the counties with an income above a specific amount, (You must get input fromthe user for this!!!) the average household cost for all counties in each state, the states in sorted order by name, the states in sorted order by population, the counties within states sorted by population, the counties within states sorted by name.You need to separate your files into interface and implementation and create a Makefileto handle the compilation. Create a state_facts.h, which has the struct type for statesand counties, as well as the function declarations for your program. Now, separate yourfunction definitions into a state_facts.cpp file and your main function into arun_facts.cpp file. Now, create a makefile that will create a state_facts executablegame and clean your files.Your program must be able to: Print a usage message to the user when too few arguments are supplied orwhen the options are not –s or -f. You do not need to recover from this, justhandle by printing a message. Print an error message and recover, when the user doesn’t supply positive,non-zero integer for the states value. Print an error message and recover, when the player doesn’t supply a validfilename to open. Provide the stats for the states. Continue to ask for new states and new filename. Make sure you do not havea memory leak!!!!!(10 pts) Program Style/CommentsIn your implementation, make sure that you include a program header in your program,in addition to proper indentation/spacing and other comments! Below is an exampleheader to include. Make sure you review the style. guidelines for this class, and begintrying to follow them, i.e. don’t align everything on the left or put everything on one line!/**Program: run_stats.cppAuthor: Your NameDate: 04/08/2016Description:Input:Output:**/Electronically submit your C++ program (.h, .cpp, and Makefile files, not yourexecutable!!!) and your test files as a tarred archive by the assignment due date, usingTEACH.You must tar these files together using the following command:tar –cvf assign1.tar facts.h facts.cpp run_facts.cpp Makefile test.txt**NOTE: The easiest way to upload your program from ENGR to TEACH is to map anetwork drive to your home directory on ENGR. Mac or Windows, See:本团队核心人员组成主要包括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

你可能感兴趣的:(C++代写:Review Programming in C++代做C/C++实验、C/C++编程代做)