C++编程 Write a C++ program which will read from a file a 25x25 grid of letters,followed by 10 words.Your program should find each of the words and output to a file the location (the top left corner is (0,0)) and the direction (up,down,right,left,d
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 05:00:01
C++编程 Write a C++ program which will read from a file a 25x25 grid of letters,followed by 10 words.Your program should find each of the words and output to a file the location (the top left corner is (0,0)) and the direction (up,down,right,left,d
C++编程
Write a C++ program which will read from a file a 25x25 grid of letters,followed by 10 words.Your program should find each of the words and output to a file the location (the top left corner is (0,0)) and the direction (up,down,right,left,digonal up-left,diagonal up-right,diagonal down-left,or diagonal down-right).All letters/words are UPPERCASE.
Moodle has a sample input file to use.
C++编程 Write a C++ program which will read from a file a 25x25 grid of letters,followed by 10 words.Your program should find each of the words and output to a file the location (the top left corner is (0,0)) and the direction (up,down,right,left,d
写一个C + +程序将读取一个文件的字母25x25格的10个字,其次.你的程序应该能够找出这些词和输出每到一个文件的位置(左上角为(0,0))和方向(上,下,右,左,digonal注册左,对角线右,对角线下左,或对角下右).所有的字母/字都是大写.
Moodle的一个示例输入文件使用.