小编use*_*180的帖子

Android:setContentView和LayoutInflater

setContentView和之间有什么区别LayoutInflater?那么我们inflater在定制toastsetContentView定制中使用的原因是什么alertbox

android android-layout

6
推荐指数
2
解决办法
4324
查看次数

LISP:在从文件中读取游戏板时格式化读取线的输出

我正在尝试从文本文件中读取该板,但在打印时它还打印换行符和引号为:

(with-open-file (stream "brd1.txt")
  (do ((line (read-line stream nil)
             (read-line stream nil)))
      ((null line))
    (print line)))

"+ + +^M"
" 3 3 ^M"
"+ + +^M"
"     ^M"
"+ + +"
NIL
Run Code Online (Sandbox Code Playgroud)

我是LISP的新手.有人可以帮我格式化这些线来打印确切的板:

+ + +
 3 3
+ + +

+ + +
Run Code Online (Sandbox Code Playgroud)

lisp common-lisp

1
推荐指数
1
解决办法
437
查看次数

标签 统计

android ×1

android-layout ×1

common-lisp ×1

lisp ×1