摘要: CS61A python 字符串 str(1) = '1' 把数字等转化为字符串 + : 连接字符串 print(f"Debuting at #{place}: '{song}' by {artist}") artist = "Lil Nas X" song = "Industry Baby" pl 阅读全文
posted @ 2022-02-26 15:31 liankewei123456 阅读(42) 评论(0) 推荐(0) 编辑
摘要: C++/oop 指针 按理说指针不是c++特有的东西,只是我恰好发现自己不太会,赶紧补一下 int *p 定义指针 p 指向 int 型变量 以下写法均可 int* p / int * p p = &a (& 取地址) 指针本身的类型是 unsigned long int *p 取内容 指针保存着变 阅读全文
posted @ 2022-02-26 09:35 liankewei123456 阅读(64) 评论(0) 推荐(0) 编辑