Вниз
Скачать: CL | DM;

Помогите со строчкой? пишет ошибку если стринг >255   Найти похожие ветки 

← →
Catalyst   (2005-03-15 11:59) [0]

Пытаюсь отправить запрос HTTP серверу, запрос длинный

GET / HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Accept-Encoding gzip, deflate
Accept-Language ru
Connection Keep-Alive
Cookie lastUpdate=1110875906171; auth2_logged=1;
Host host.ru
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Подскажите какой тип переменной юзать?


← →
Alexander Panov ©   (2005-03-15 12:05) [1]

Из справки (string literals):

A character string, also called a string literal or string constant, consists of a quoted string, a control string, or a combination of quoted and control strings. Separators can occur only within quoted strings.
A quoted string is a sequence of up to 255 characters from the extended ASCII character set, written on one line and enclosed by apostrophes.


Следовательно, используй конкатенацию литералов для получения результирующей строки.

+...+...



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.022 c
4-1107849223
Sir John
2005-02-08 10:53
2005.03.27
Splash Screen


3-1109434120
Mortal
2005-02-26 19:08
2005.03.27
Как создать Indexы для dBase?


1-1110564923
Chroot
2005-03-11 21:15
2005.03.27
Прожиг дисков и печать документов


1-1110951645
Tankist
2005-03-16 08:40
2005.03.27
LISTBOX - Как сортировать элементы не по 1-му столбцу, а по 2-му?


8-1099756690
Аида
2004-11-06 18:58
2005.03.27
Как удалить изображение из TBitmap в Image




   Наверх