Yahoo Search Búsqueda en la Web

Resultado de búsqueda

  1. Hace 4 días · The StringSwitch class is a simple form of a switch() statement that determines whether the given string matches one of the given string literals. The template type parameter T is the type of the value that will be returned from the string-switch expression.

  2. Hace 4 días · The substring function takes two values pos and len as an argument and returns a newly constructed string object with its value initialized to a copy of a sub-string of this object. Copying of string starts from pos and is done till pos+len means [pos, pos+len). Syntax: string substr (size_t pos, size_t len) const; Parameters:

  3. Hace 4 días · Create an empty switch statement optionally with storage for an init expression and a condition variable. Definition at line 1092 of file Stmt.cpp. References clang::ASTContext::Allocate().

  4. Hace 4 días · Reverse an array or string in Perl. Iterative Way: Iterate over the array from 0 to mid of array. Swap the arr[i] element with arr[size-i] element. #Perl code to reverse an array iteratively #declaring an array of integers @arr = (2, 3, 4, 5, 6, 7); # Store length on array in $n variable $n = $#arr; #Print the original array print ...

  5. Hace 5 días · Stringizing operator (#) The stringizing operator (#) is a preprocessor operator that causes the corresponding actual argument to be enclosed in double quotation marks. The # operator, which is generally called the stringize operator, turns the argument it precedes into a quoted string.

  6. Hace 3 días · If the instruction has "branch_weights" MD_prof metadata and the MDNode has three operands (including name string), swap the order of the metadata. void addAnnotationMetadata ( StringRef Annotation)

  7. Hace 4 días · do . { y = f( x ); x--; } while ( x > 0 ); En esta instrucción do-while, se ejecutan las dos instrucciones y = f( x ); y x--;, independientemente del valor inicial de x. A continuación x > 0 se evalúa. Si x es mayor que 0, el cuerpo de instrucción se ejecuta de nuevo y x > 0 se evalúa de nuevo.