Слово
«cout»впервые сказано пользователем
GrD 31.05.2005 в 11:50,
и с тех пор употреблялось
91 раз.
Сообщения со словом
«cout»
Запрос выполнился за
0.0030 сек.
- 31.07.2013, 03:41. winch в теме
«исправим бардак в мифи»
... связываться с консолью и для них это заканчивается на cin cout да и многие не притрагиваются к ней т к большую...
- 10.02.2012, 21:55. WRX в теме
«От программирования к физике»
... пространство имен using namespace std и дальше не писать std cout с а писать просто cout или указать префикс with имя переменной delphi...
- 21.01.2010, 10:15. Tim06ka в теме
«Численные методы (метод дифф. прогонки)»
... -2 0 h r x bcr b 3 i-1 -1 h b 3 i 4 0 1 h j i bcr cout a 3 i-1 n a 3 i n cout a 3 i-1 n a 3 i n a 3 i 1 n n cout g i n n x h for i 1 i n i x a 3 i-1 a 3 i-1 a 3 i x a 3 i-1 1 g i x g i-1 x b 3 i-1 b 3 i-1 b 3 i x b 3 i-1 1 j i x j i-1 g n g n a 3 n j n j n b 3 n cout g n n cos 3 0 n n for i n-1 i 0 i-- g i g i -a 3 i 1 g i 1 a 3 i j i j i -b 3 i 1 j i 1 b 3 i for i 0 i n i x i h cout x x n cout calc n 1 y j i n cout calc n 2 y g i n cout exact y exact x n cout delta n 1 j i -exact x n cout delta n 2 g i -exact x n n system pause return...
- 14.03.2009, 14:57. Sulverus в теме
«Очные тренировки»
... t buf i 0 o tt t o 7 tt 10 tt tt 7 printf llu n o cout flush return 0 мой фариант задачи с тут и iostream и stdio потому что сначала написал для cout было медленно и вывод делал printf ом
- 13.03.2009, 22:45. Antolflash в теме
«Очные тренировки»
... i 0 buf 0 while i strlen in buf buf 10 in i 0 d i cout buf
- 20.04.2008, 19:16. m0zg в теме
«Вопрос по C++ (лаба у Шустовой)»
... input int p m int mn int nn int m n const char msg do cout msg endl cout enter quantity of a rows not more then mn cin m checking input if cin fail cin clear cin ignore msg input error while m 1 m mn for int i 0 i m i msg do cout msg endl cout enter quantity of elements for a rows i 1 from 1 to nn 1 cin n checking input if cin fail cin clear cin ignore msg input error while n 1 n nn 1 p i 0 n saving quantity of elements in the first element of a row cout enter values of a row endl for int j 1 j n 1 j cin p i j return m print source matrix void source int m int p m cout endl source matrix endl for int i 0 i m i for int j 1 j p i 0 1 j cout j 1 p i j cout endl void work int src n int m int res n for int i 0 i m i create src i res i create new matrix void create int s int r int n s 0 int j 0 for int i 1 i n i int m amount s i s 1 n if m 2 if isin s i r 1 j r j s i r 0 j int amount int elem int s int n int cnt 0 for int i 0 i n i if s i elem cnt return cnt int isin int elem int r int n for int i 0 i n i if r i elem return true return false result matrix void result int m int p m cout endl result matrix endl for int i 0 i m i for int j 1 j p i 0 1 j cout j 1 p i j cout endl
- 11.04.2008, 04:22. m0zg в теме
«Вопрос по C++ (лаба у Шустовой)»
... которое там уже есть код void result int m int p m cout endl result matrix endl for int i 0 i m i for int j 1 j p i 0 1 j if isin p i j p i j 1 create i p i j отправляем номер строки и сам элемент хотя может и ещё что-то надо cout endl create new matrix int create int line int...
- 11.04.2008, 01:26. m0zg в теме
«Вопрос по C++ (лаба у Шустовой)»
... код void result int m int p m int tmp r m n count cout endl result matrix endl for int i 0 i m i cout row i 1 for int j 1 j p i 0 1 j if isin p i j p i j 1 вызов isin cout element p i j вывод если элементы равны работает через раз почему-то т е обрабатывает не все строки матрицы cout endl int isin int tmp int next if tmp next return...
- 11.04.2008, 01:13. m0zg в теме
«Вопрос по C++ (лаба у Шустовой)»
... input int p m int mn int nn int m n const char msg do cout msg endl cout enter quantity of a rows not more then mn cin m checking input if cin fail cin clear cin ignore msg input error while m 1 m mn for int i 0 i m i msg do cout msg endl cout enter quantity of elements for a rows i 1 from 1 to nn 1 cin n checking input if cin fail cin clear cin ignore msg input error while n 1 n nn 1 p i 0 n saving quantity of elements in the first element of a row cout enter values of a row endl for int j 1 j n 1 j cin p i j output source m p result m p source matrix void source int m int p m cout endl source matrix endl for int i 0 i m i for int j 1 j p i 0 1 j cout j 1 p i j cout endl reslut matrix void result int m int p m int tmp r m n count cout endl result matrix endl for int i 0 i m i cout row i 1 for int j 1 j p i 0 1 j вот тут отправляю значения в функцию и пытаюсь вываести повторяющиеся значения в каждой строке if isin p i j p i j 1 cout element p i j cout endl int isin int tmp int next if tmp next return...
- 29.03.2008, 21:11. ramzai в теме
«Задачи 9-й московской олимпиады»
... return cost rect size еще там не проходило double x cout x wrong answer test 2 зато проходило cout setprecision 10 x ok мораль помните о точности...