Hello.
I have a file merg.txt:
1 3 11 14
1 5 8 13
1 1 9 10
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2 1 12 13
3
3
3
3
3
3
3
3
3
3
catalin4
0
Newbie Poster
Recommended Answers
Jump to Poststruct tip_garaj{ int etaj; int timp; int orastart; int orastop; }; struct tip_garaj masini;
you can refer to each element of the struct tip_garaj:
masini.etaj
masini.timp
masini.orastart
masini.orastopfor an example, you can assign values to the above elements treating them as normal variables as follows:
…
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.