Re: [dev] newbie question

2020-10-28 Thread Adam Kandur
thank you for the answer Oct 28, 2020, 11:15 by jona@gmail.com: > Hello Adam, > >> hi everyone, i'm new in c programming. i tried to read sources but stuck >> with enum. >> as i know, enum is mainly used to assign names to integral constants. but i >> don't understand, for example, this c

Re: [dev] newbie question

2020-10-28 Thread Adam Kandur
thank you for the answer Oct 28, 2020, 10:54 by hil...@codemadness.org: > On Wed, Oct 28, 2020 at 11:44:35AM +0100, Adam Kandur wrote: > >> >> hi everyone, i'm new in c programming. i tried to read sources but stuck >> with enum. >> as i know, enum is mainly used to assign names to integral co

Re: [dev] newbie question

2020-10-28 Thread Jona Ackerschott
Hello Adam, > hi everyone, i'm new in c programming. i tried to read sources but stuck with > enum. > as i know, enum is mainly used to assign names to integral constants. but i > don't understand, for example, this code > -- > enum term_mode { >     M

Re: [dev] newbie question

2020-10-28 Thread Hiltjo Posthuma
On Wed, Oct 28, 2020 at 11:44:35AM +0100, Adam Kandur wrote: > > hi everyone, i'm new in c programming. i tried to read sources but stuck with > enum. > as i know, enum is mainly used to assign names to integral constants. but i > don't understand, for example, this code > --