[so] [Tema0][Win]typedef

sabina batranu sabina_btrn at yahoo.com
Sun Feb 24 04:04:17 EET 2013


Nu stiam ca foloseste o versiune atat de veche. Multumesc mult, s-a rezolvat.




________________________________
 From: Mihnea Dobrescu-Balaur <mihneadb at gmail.com>
To: sabina batranu <sabina_btrn at yahoo.com> 
Cc: "so at cursuri.cs.pub.ro" <so at cursuri.cs.pub.ro> 
Sent: Sunday, February 24, 2013 3:34 AM
Subject: Re: [so] [Tema0][Win]typedef
 
2013/2/24 sabina batranu <sabina_btrn at yahoo.com>:
> Salut,
> Scuze, e ora tarzie, si nu prea inteleg la ce te referi. Adica daca as face
> typedef pentru structura mea de date direct in fisierul.c , deasupra
> fuctiilor, in loc de fisierul.h, ar trebui sa am un unic fisier daca vreau
> ca acea structura sa fie vizibila global. Poate am interpretat gresit ce ai
> zis . Scuze.
>

Uite un exemplu [1]. Declarația + typedef-ul pot rămâne așa cum sunt :).

[1] http://pastebin.com/5bN4W80p

-- 
Mihnea Dobrescu-Balaur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20130223/48997d3a/attachment.html>


More information about the so mailing list