- 主题:C语言是完备的,用C语言就能写出任何程序,用C语言+类(带类的C
- 用 brainfuck 语言也行。。然并卵。
 
 别想这么多。干就完事了。
 
 【 在 ooolinux 的大作中提到: 】
 : C语言是完备的,用C语言就能写出任何程序,用C语言+类(带类的C)能够描述更复杂的问题(面向对象),再加上STL能够对付大多数结构化数据。
 : C++包含以上三个层次,任何一个层次都可以(干活完成任务),士兵可以(打战),排长也可以,连长也可以,不需要每个人都是将军。
 : 多数人当不了将军,所以多数人无法完全掌握C++的所有语言特性和库的使用。
 : ...................
 --
 FROM 59.60.24.*
 
- [ This program prints "Hello World!" and a newline to the screen, its
 length is 106 active command characters. [It is not the shortest.]
 
 This loop is an "initial comment loop", a simple way of adding a comment
 to a BF program such that you don't have to worry about any command
 characters. Any ".", ",", "+", "-", "<" and ">" characters are simply
 ignored, the "[" and "]" characters just have to be balanced. This
 loop and the commands it contains are ignored because the current cell
 defaults to a value of 0; the 0 value causes this loop to be skipped.
 ]
 ++++++++               Set Cell #0 to 8
 [
 >++++               Add 4 to Cell #1; this will always set Cell #1 to 4
 [                   as the cell will be cleared by the loop
 >++             Add 2 to Cell #2
 >+++            Add 3 to Cell #3
 >+++            Add 3 to Cell #4
 >+              Add 1 to Cell #5
 <<<<-           Decrement the loop counter in Cell #1
 ]                   Loop until Cell #1 is zero; number of iterations is 4
 >+                  Add 1 to Cell #2
 >+                  Add 1 to Cell #3
 >-                  Subtract 1 from Cell #4
 >>+                 Add 1 to Cell #6
 [<]                 Move back to the first zero cell you find; this will
 be Cell #1 which was cleared by the previous loop
 <-                  Decrement the loop Counter in Cell #0
 ]                       Loop until Cell #0 is zero; number of iterations is 8
 
 
 【 在 ooolinux 的大作中提到: 】
 : brainfuck 语言是什么语言?
 --
 FROM 59.60.24.*
 
- 大家一起来学 QtCore 啊,哈哈~
 
 广告一波,我拿 QtCore 配合我弄的 qtng,写服务器后端真是太爽了。熟练的时候生产效率已经有 python 的五分之一了!代码量和 python 接近,只需要大概 2 倍的代码量就能完成差不多的后端功能。
 
 【 在 toutouqi 的大作中提到: 】
 : c++就是被委员会那一帮学究给搞坏了。带类的c最简单实用,剩下的都应该交给好的标准库而不是在语法上各种发挥扯淡。
 --
 修改:hgoldfish FROM 120.33.8.*
 FROM 120.33.8.*
 
- 这样可以代替 if 不?
 
 while (condition) {   # if
 ...
 break;
 } while (!condition) {  # else
 ...
 break;
 }
 
 还可以这样
 
 condition ? true_func() : false_func();
 
 这样:
 
 condition && true_func();
 !condition && false_func();
 
 上面弄个 || 在后面也行。
 
 【 在 ooolinux 的大作中提到: 】
 : C语言有几十个关键字,比如if、for等等,如果去掉for关键字,C语言还是完备的,因为可以用while循环代替for循环(虽然少一点方便),但是如果去掉if关键字,C语言就不是完备的,你几乎没法写任何程序。说C语言完备并不是“夸”C语言,完备是工具齐全足够使用,好比四则运算系
 : 统有加减乘除四个符号就是完备的,少一个符号就不完备。C++只要一部分就是完备的。
 --
 修改:hgoldfish FROM 120.33.8.*
 FROM 120.33.8.*
 
- pascal 和 ada 表示不服!
 
 【 在 javaboy 的大作中提到: 】
 : 没错
 --
 FROM 120.33.8.*