Encyclopedia > Curly brace family

  Article Content

Curly brace family

The curly brace family of programming languages is said to include C, C++, Java and C# among others. The name derives from the common syntax of the languages, where blocks of statements are enclosed in curly braces. For example:

 for (int i = 0; i < 10; i++) {
   printf("%d", i);
   doTask(i);
 }



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Quadratic formula

... the square[?]. <math>ax^2+bx+c=0</math> Dividing our quadratic equation by a, we have <math> x^2 + \left( \frac{b}{a} \right) x + ...

 
 
 
This page was created in 33.3 ms