二维数组存入字符

char r[9][9] = {{' ','+','-','*','/','(',')','#'},

                         {'+','>','>','<','<','<','>','>'},

                         {'-','>','>','<','<','<','>','>'},

                         {'*','>','>','>','>','<','>','>'},

                         {'/','>','>','>','>','<','>','>'},

                         {'(','<','<','<','<','<','=',' '},

                         {')','>','>','>','>',' ','>','>'},

                         {'#','<','<','<','<','<',' ','='}};

请问需要存入这些字符的时候,正确的写法是怎么样的呢?谢谢!

蒙麵女俠
浏览 1421回答 2
2回答

慕瓜9220888

STRDOHSZZMUPONQZMCUONCOHKTNVCBTREYRKZQPAPSFOQQXQYYIVMMFUJJYGNUVZJVAIVYSOJHZXZWISIFWOIQNMZJJQMKQANXGESHJRHUGAALDPKXQAGRPHSOADTAZVKMKKTQJYVXMWGZSFCUHZBUDQGUVUWJMCJFNRVKMTGGCHSDISCVYILWXOGJJWPRVCODGJPLVDVNFXQAQYZRPLGPPMWDVCUDWJZLCLTIROQAATCEJPSMVEFHZYUKRKTXWUTMZSMTEMONZWMFEVKFUNQNNQHMOWDZCMWHATBKKNTBSUCROEQQQHZUGJWMIAXPHGZJFPJKMHTTPFMHZHJXAKHGKRTIJTTJNQXMBJRAHNVDZUARUDGQWLCVICWNKBHDTQDDUKPOXGYICMVQCEUREBBQFRBTMJJQGENPYHELSSQZYHHYLVAHABKKHSIECVONHHDJHJYJBSZPAWHCLZQGAAAUFXTPILQXHWOGQDPXRVAZKKTQBHBKCEFSCPIAWLOVVEELCOWOOEXDFNYXPIBUBBIAJBGGSCRPCLDWMVMLZVAFOLXUIGSXZCILEHMBCBOOKUUUABTAMWZCTSNCPOEOUMOGUHXUMRPUJHEXQSAFYGZWFZZARTEATJJDANFONJEBKVGHCKTNQTABJLQDGCFVUCRTDFFSTXWYQGTWPVMRAIVOYETBCFQWGMJBZHZBYKUZJKPLQTGBAQUQVIBIEOYWFEDOEBVEXFYEOLSSSPUFUBRNNFNCLKVVXOEYHJHNKNNYQSQPSCYYZWYXIYYLUPAVAWFBUBBCEWVERUAPXPAWFIVVEJVTVYEBBMDSUCFOYLQUBZILUHQKFXLEXWGTOJRQSLOOUBNMKMFPIIIALHSMVVRYSJVTGGTCEIQZADKQAKEDVUQADWIJFXFFOIBHLNPOHGRRQIHTPSPWGPNODFIBBOBGYNLIENUWQIATMMIIGOGHNZMMPVJOQIYOKIMNFDMVOIVJAYAMSBYOCJFUCJSIVVZLNSFGHAMDSACFRNDZKMBDLUNKUHVEVCJDYXITUFFSSIWUFXEXXUDFWGLKBEUXDBLTFYOBHWOJOKNDWAMMUWVYRUXJOWBNNJWWYMXGORKTTITJLQDGCZKVEJOZFSBEBQPHUCIIGHJRDGUKQWRTIATQJCZAIUZSPMCBVKWIORXHCMBTIVVHRZAIXISBUHLCXMERONXEJRJYREOKHJVGLSILXASAVKHXTDDLAWEUQJTLWBJFEHEOMNPHDWZLVDENFNTCJSJKTYGLUHRGLJLKPILEEFYEFPSIYWXHNFBXUESJODNDQAWUKCHJCSFYALAYKTJMJYJRWEHAQXPABAMSOOBOZHWORUAHFMOXIYOVLKYRFHAUXQMNWGBROXKHIEWLEBENBSEJUGZVFIDXXMSLIIXOGIXAZCMZJCXCCFRBWXJRQLRNNGWFAZFFBRQACHZZCFLYJIDNGZPFEFKSOHXDXLQIHNKNGMJUIHPILNAQRQIQDMMZKLQYUTJMWTIQOAAXQJCXMRTZCNQJBQSTTADDWZYWOIUHRJZFKMFPMMPKGMRXCZGUEKTJTXAUMGKQVMCNEQLKZYISIYNJUQBEOUACNSOMPRNQIJOXPSBREISUTIREEQ

东方既白233

所有字符前面加\   例如+  则是\+

ruibin

加转义字符\
打开App,查看更多内容
随时随地看视频慕课网APP