Strlen

Strlen

strlen

strlen — функция стандартной библиотеки, для возврата длины нуль-терминированной строки без символа окончания строки (нуля).

Функция

Прототип функции, описанный в заголовочном файле string.h

size_t strlen(const char* String);

Пример использования

#include <string.h>
 
void main()
{
	char *string="Hello world!";
	int LengthString;
	LengthString = strlen(string);  //LengthString = 12
}

Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Смотреть что такое "Strlen" в других словарях:

  • strlen — функция стандартной библиотеки, для возврата длины нуль терминированной строки без символа окончания строки (нуля). Функция Прототип функции, описанный в заголовочном файле string.h size t strlen(const char* String); Пример использования #include …   Википедия

  • Strlen — In the C standard library, strlen is a string function that determines the length of a character string.Example usage #include #include int main(void){ char *string = Hello World ; printf( %lu , (unsigned long)strlen(string)); return 0;}This… …   Wikipedia

  • Cyclone (programming language) — Cyclone Appeared in 2006 (2006) Designed by AT T Labs Stable release 1.0 (May 8, 2006; 5 years ago (2006 05 08)) Influenced by …   Wikipedia

  • Código cuenta cliente — El Código Cuenta Cliente (CCC) es un código utilizado en España por las entidades financieras (bancos y cajas) para la identificación de las cuentas de sus clientes. Consta de veinte dígitos. Contenido 1 Estructura del CCC 1.1 Dígitos de control… …   Wikipedia Español

  • TI-990 — The TI 990 was a series of 16 bit minicomputers sold by Texas Instruments (TI) in the 1970s and 1980s. The TI 990 was a replacement for TI s earlier minicomputer systems, the TI 960 and the TI 980. It had several uniquely innovative features, and …   Wikipedia

  • Pro*C — [pɹoʊˈsiː]/Pro*C++ [ ˈplʌs ˈplʌs] ist ein Precompiler des Unternehmens Oracle für die Programmiersprache C und C++. Mittels des Precompilers ist es möglich, SQL Ausdrücke und normale C oder C++ Quellcode Elemente miteinander zu vermischen. Dies… …   Deutsch Wikipedia

  • Кодирование длин серий — (англ. Run length encoding, RLE) или Кодирование повторов  простой алгоритм сжатия данных, который оперирует сериями данных, то есть последовательностями, в которых один и тот же символ встречается несколько раз подряд. При кодировании… …   Википедия

  • Approximations of π — Timeline of approximations for pi …   Wikipedia

  • String interning — In computer science, string interning is a method of storing only one copy of each distinct string value, which must be immutable. Interning strings makes some string processing tasks more time or space efficient at the cost of requiring more… …   Wikipedia

  • Copy-Konstruktor — Ein Kopierkonstruktor (auch Copy Konstruktor) ist in der Informatik ein spezieller Konstruktor, der eine Referenz auf ein Objekt desselben Typs als Parameter entgegennimmt und die Aufgabe hat, eine Kopie des Objektes zu erstellen.… …   Deutsch Wikipedia


Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»