User: alciro    User
 Original    Translate to:  Deutsch  English  Français  中文  
 

Programación en C++ Builder

 数组 (数组)
 指针
3. 例如在C + +类
8. AnsiString类型类的方法
 C + +项目
 包,分发的应用程序,无需安装
 交换或冒泡排序
 String.h 字符串函数

2. 语言元素

语言元素组成,运算符,变量,常量,注释和标点保留字。这些形式的组合方案的语法。

2.1. 字符

的字符,可用于该语言的语法。

  • abcdefghijklmnopqrstu vwxyz
  • ABCDEFGHIJKLMNOPQRSTU VWXYZ
  • 0 1 2 3 4 5 6 7 8 9
  • + - * / = ( ) { } [ ] < > ' ” ! @ - / ^ & % _ : . , ; ? |
  • 空间和制表符

以字符的组合可以是标识符代表等名称的变量,常量 。这些必须以小写字母,大写字母或低的重点。长度可以从一个到几个字符,不允许空格或特殊字符。要删除处理由两个词,你可以使用低杠。

N, i, con
K456, var45
Dato_entrada, precio_producto

C + +是如此敏感的两个大写字母小写大写或相等的名字是不同的。

Consigna是不同的consigna

2.2. 保留字

asm       and      and_eq
auto      bitand   bitor
bool      break    case
catch     char     class
compl     const    const_cast    
continue  default  delete
do        double   dynamic_cast
else      enum     explicit
export    extern   false
float     for      friend
goto      if       inline
int       long     mutable    
namespace new      not
not_eq    operator or
or_eq     private  protected    
public    register reinterpret_cast
return    short    signed
sizeof    static   static_cast
struct    switch   template
this      throw    true
try       typedef  typeid
typename  union    unsigned
using     virtual  void
volatile  wchar_t  while
xor       xor_eq

Loading
copyright © 2007-2024  www.alciro.org  All rights reserved.         
Share |