🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #689

Re: fscanff i sekwencja formatujaca

#689
From: Marek Kotowski
Date: Fri, 16 Jan 1998 12:19
14 lines
957 bytes
Tomasz Cichacki wrote:
> 
> Mam taki kawalek programu
> 
> FILE *plik;
>   plik = fopen("dane.dxt","r");
>   rewind(plik);
>   fscanf(plik,"%5c%*c%s[^|]%s[^|]%s[^|]",ind,imie,nazwisko,kierunek);
 Brakuje operatorow brania adresu:
    fscanf(plik,"%5c%*c%s[^|]%s[^|]%s[^|]",
                                   &ind,&imie,&nazwisko,&kierunek);
HTH

Marek Kotowski
Technical Details
Message-ID: <34BF5068.220C@imm.org.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!fu-berlin.de!fci-se!fci!news.nask.pl!not-for-mail
References: <69nhi9$l4j$1@sunsite.icm.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!fu-berlin.de!fci-se!fci!news.nask.pl!not-for-mail
From: Marek Kotowski <mkot@imm.org.pl>
Newsgroups: pl.comp.lang.c
Subject: Re: fscanff i sekwencja formatujaca
Date: Fri, 16 Jan 1998 13:19:52 +0100
Organization: Instytut Maszyn Matematycznych
Lines: 14
Message-ID: <34BF5068.220C@imm.org.pl>
References: <69nhi9$l4j$1@sunsite.icm.edu.pl>
NNTP-Posting-Host: 148.81.238.53
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (Win95; I)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit