Форум программистов
 

Восстановите пароль или Зарегистрируйтесь на форуме, о проблемах и с заказом рекламы пишите сюда - alarforum@yandex.ru, проверяйте папку спам!

Вернуться   Форум программистов > IT форум > Помощь студентам
Регистрация

Восстановить пароль

Купить рекламу на форуме - 42 тыс руб за месяц

Ответ
 
Опции темы Поиск в этой теме
Старый 17.05.2010, 18:05   #1
p4serhiy
Пользователь
 
Регистрация: 02.04.2010
Сообщений: 19
По умолчанию Файлы паскаль

Дан текстовый файл, нужно вывести тест на экран и выделить вводимое слово, посчитать какое оно по счету в каждой строке.
Строки разделаются . ! ?

Пример:

Вот смотрите есть текст:
If the problem statement is formulated goal for solving the problem and describes in detail its contents. Discusses the nature and essence of the values used in the problem, and identifies the conditions under which it is solved. In the mathematical description of the problem of relations between the values expressed by means of mathematical formulas. It is formed by a mathematical model of the phenomenon.

Вводим: is

Должно вывести:

If the problem statement is formulated goal for solving the problem and describes in detail its contents. 5
Discusses the nature and essence of the values used in the problem, and identifies the conditions under which it is solved. 20
In the mathematical description of the problem of relations between the values expressed by means of mathematical formulas.
It is formed by a mathematical model of the phenomenon. 2
p4serhiy вне форума Ответить с цитированием
Старый 17.05.2010, 20:10   #2
p4serhiy
Пользователь
 
Регистрация: 02.04.2010
Сообщений: 19
По умолчанию

Помогите пожалуйста наработки могу показать..
p4serhiy вне форума Ответить с цитированием
Ответ


Купить рекламу на форуме - 42 тыс руб за месяц



Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
файлы. Паскаль. Defa4ka Помощь студентам 2 14.05.2009 11:59
Файлы!Паскаль ТРОЯН=) Помощь студентам 1 23.03.2009 10:08