[問題] Codeblocks的Source formatter

看板C_and_CPP作者 (達)時間11年前 (2014/01/20 12:48), 編輯推噓2(202)
留言4則, 3人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) Codeblocks C/C++ 問題(Question): Settings->Editor->Source formatter 裡面哪些要勾呢? http://ppt.cc/FG0A 我試了一些組合,好像都不對勁 多了想要的格式,也會多了不想要的 最理想的應該是要像下面這樣 (x = x + 1); 只有等號和加號的左右才要空格 而大中小括號、分號這種的的左右不需空格 thank -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.163.106.192

01/20 20:51, , 1F
我都直接用 K&R 這邊完全沒勾
01/20 20:51, 1F

01/20 22:35, , 2F
好奇也想知道
01/20 22:35, 2F
※ 編輯: dharma 來自: 118.163.106.192 (01/20 22:47)

01/23 00:28, , 3F
operator->運算子 parenthesies->括弧
01/23 00:28, 3F

01/23 00:28, , 4F
insert->插入但不刪除 remove->刪除多餘的
01/23 00:28, 4F
文章代碼(AID): #1ItHitxT (C_and_CPP)