ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: php-coder <php-coder@ngs.ru>
To: Yakov Bezrukov <community@altlinux.ru>
Subject: Re[2]: [Comm] warnings
Date: Tue, 29 Jun 2004 11:00:18 +0700
Message-ID: <1352256787.20040629110018@ngs.ru> (raw)
In-Reply-To: <200406281805.20773.subst@gorodok.net>

0000100101011110100100101::28.06.2004::0110001001001000100111100100010

    Здравствуйте, Yakov!
    Отвечаю на Ваше письмо:
  
> Я бы сделал следующим образом:

    Вы забыли добавить, что это на С++, а я пишу на Сях.

    Ответ я опять-таки нашел сам. Дело в том, что я писал функции по
    отдельности, а теперь настало время их объединить ибо по замыслу
    они зависят друг от друга. Так вот по отдельности все работало, а
    вместе ошибочки эти вылетели... Я вчера посмотрел как было у меня
    написано в исходной функции и подправил, в итоге ошибок нет...

    В functions.inc.h:
    void get_tracks_names(int tracks, char *tracks_names_array[])

    В main.c:

    char *tracks_names_array[LENGTH_TRACKS_ON_CD]
    ...
    get_tracks_names(tracks, tracks_names_array)
  
    Компилируется все ок... а вот работает ооочччень странно...
    getline считывает строки в цикле, так вот на самой первой итерации
    она всегда считывает символ новой строки, причем не спрашивая у
    пользователя берет этот символ откуда-то с потолка... Прошелся по
    бинарнику с помощью kdbg, но ответа не нашел... Ооочччень
    странно... 8-|
  
-- 
  С уважением, php-coder (mailto:php-coder[at]ngs[dot]ru)
  Registered Linux User #327594
  ALT Linux Master 2.2

010010010010010001010101100::Linux RuleZz!::100010010001000100010001110



  reply	other threads:[~2004-06-29  4:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-28  9:10 php-coder
2004-06-28  9:27 ` Yakov Bezrukov
2004-06-28  9:36   ` Re[2]: " php-coder
2004-06-28  9:45     ` Yakov Bezrukov
2004-06-28 10:25       ` Re[2]: " php-coder
2004-06-28 11:05         ` Yakov Bezrukov
2004-06-29  4:00           ` php-coder [this message]
2004-06-28  9:30 ` php-coder
2004-06-28 10:51   ` Andrey Rahmatullin
2004-06-29  3:50     ` Re[2]: " php-coder
2004-06-28  9:40 ` Andrey Rahmatullin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1352256787.20040629110018@ngs.ru \
    --to=php-coder@ngs.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git