如何将值加载到二维数组中并翻转图像 180 度?

问题描述 投票:0回答:0

 o            o 
  '          '  
   '        '   
    :-'""'-:    
 .-'  ____  '-. 
( (  (_()_)  ) )
 '-.   ^^  .-'  
    '._==_.'    
    ___)(___    

此图像位于 txt 文件中。我在理解如何扫描此图像、将其加载到二维数组并将其翻转 180 度时遇到问题?目标是使用二维数组将其翻转 180 度。

不确定如何将它加载到二维数组中并翻转它。

arrays c multidimensional-array ascii
© www.soinside.com 2019 - 2024. All rights reserved.