• Advertisement
Sign in to follow this  

Incrementing c structures while inputing

This topic is 3228 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey I am a couple of months old as far as coding goes. I am currently using the c language. I have started structures. I am trying to use structures for record holding. My question is, is there a way to increment c structures when you are reading into them? For example my Structure is Called Car .. my individual structure Records are called Car1, Car2 etc .. So say I am using a scanf statement in a For loop .. how do I increment the names from Car1 to Car2 etc????

Share this post


Link to post
Share on other sites
Advertisement
(see here)

Quote:
Original post by phresnel
Quote:
Original post by phresnel
Dreifach-Post: Eins. Zwei. Drei.


@B G: Could you please stop spamming the forums with triple posts and even more redundant posts like this one?


Share this post


Link to post
Share on other sites

This topic is 3228 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement