美文网首页
CS 100留学生作业代做、代写program留学生作业、c/c

CS 100留学生作业代做、代写program留学生作业、c/c

作者: kediezhi | 来源:发表于2019-03-27 15:44 被阅读0次

    CS 100 Project Five – Spring 2019Project Overview: In this project, you will write a program to solve a simple word search puzzle. The puzzle willbe saved in a file, and the filename will be provided as a command-line argument to the program. The program willfirst read in a puzzle, and then it will repeatedly ask for a word to be searched until the user enters CTRL-D. Foreach word, the program will search for its existence in all eight directions as shown below and report the searchresults. Northward, bottom-to-top Southward, top-to-bottom Eastward, left-to-right Westward, right-to-left Northeastward Southeastward Southwestward NorthwestwardAs an example, consider a 5x5 puzzle saved in a file named data1, as shown below.The following shows the result of executing ./a.out data1, when the user is searching for the word cat.The word puzzle is:�Enter a word to search in the puzzle (or CRTL-D to exit): catcat was found as below.1 times in the northward direction0 times in the southward direction0 times in the eastward direction1 times in the westward direction0 times in the northeastward direction0 times in the southeastward direction1 times in the southwestward direction1 times in the northwestward direction�-tacEntera word to search in the puzzle (or CRTL-D to exit):�e t a c tYou can assume the file specified by the user can always be opened for reading and follows the following format. The puzzle saved in a file will be of a square shape. Each line of the file corresponds to a row of the puzzle. There are no blank lines between two rows. Each line starts with a letter and ends with a newline. There are no space or tabs between two letters. The puzzle size can be determined by counting the number of letters before the first newline.You can further assume a word entered by the user will have a length from 2 through 100. Please see an actual wordsearch puzzle and its related words at the end of this document.What You Need To Do Create a directory named project5 on your machine. In that directory, create file named puzzle.c In puzzle.c, write the code needed to solve the problem stated above. Make sure that your program hasa header block of comments that includes your name and a brief overview of the program. When you are ready to submit your project, compress your project5 directory into a single (compressed)zip file, project5.zip. See the Basics document on Blackboard if you don’t remember how to do it. Once you have a compressed zip file named project5.zip, submit that file to Blackboard.Project 5 is due at 5:00pm on Wednesday, April 3. Late projects are not accepted.This document including its associated files is for your own personal use only.You may not post this document or a portion of this document to a sitesuch as chegg.com without prior written authorization.A project shall be completed individually, with no sharing of code or solutions.All submissions will go through MOSS (Measure Of Software Similarity)for similarity check.The University of Alabama’s Code of Academic Conduct will be rigorously enforced.Sample execution of the program./a animal.datThe word puzzle is:GEZDQQTIKIOPOSSUMCGRREDBVFENXRANLHNDGOATEXRGHJLEUINGIIAYLXPDTALBHWDPYRIWAFEMWXNHSLGGIJNDEDHRUWVCSRLVBLJOILKMKICMQEPWTTUAOIFDLWHPNARCATKTFYEVLHFNBDTFODURTQGIHUURDCRDDNFSMKAZMIFKUWOTDNNDOEYIAQEWYEDNDSISRIIJQKCVSLSOQSDWIEMUNHSPSCWJSHACEOWEGQYSFCEFEITMPNQMWOODCHUCKPRWAHRATIAAAGRYXLHUTJBOUCPHBFGKWNHTAGSHEEPBANIRISAEEADMFFBAJLPSBMBGTPGNOEZEORRZBVIAKGVIOEFGBNDKRUOBWOIMWOPHLKOPLVVBZSSGMCWHTDTURTLENIYQVMDENMZRRNLIZARDOWEGZQWTARMADILLOJMGXGABDCJFMEnter a word to search in the puzzle (or CRTL-D to exit): RABBITRABBIT was found as below.0 times in the northward direction0 times in the southward direction0 times in the eastward direction0 times in the westward direction0 times in the northeastward direction1 times in the southeastward direction0 times in the southwestward direction0 times in the northwestward direction�Enter a word to search in the puzzle (or CRTL-D to exit):Please search the words below.ARMADILLO BABOON CAT CHICKEN CHINCHILLACOW DOG FERRET FROG GERBIL GOAT GOLDFISHGOOSE HAMSTER HORSE LIZARD LOBSTER MONKEYMOUSE OPOSSUM PIG PIGEON QUAIL RABBIT RATSALAMANDER SHEEP SNAKE TURTLE WOODCHUCK本团队核心人员组成主要包括硅谷工程师、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 或邮箱:99515681@qq.com 微信:codehelp

    相关文章

      网友评论

          本文标题:CS 100留学生作业代做、代写program留学生作业、c/c

          本文链接:https://www.haomeiwen.com/subject/zcgzvqtx.html