在C/C++ 中,由于早期一般计算机没有中括号和大括号,所以:
{ = <% } = %> [ = <: ] = <:
所以C/C++继承了这个特性,现在我们也可以这么写程序
#include <bits/stdc++.h> using namespace std; int main() <% int c<:3:> = <%2, 3, 4%>; printf("%d\n", c<:3:>); %>
编译成功!!!