Jump to content
3 hours ago, KNG_HOLDY said:

you already figured it out but if anyone else want to know just create a struct that holds both datatypes and create an array of the struct

I would never suggest a struct to a beginner. I would make them use a basic class. Struct are immutable and that's one more thing he have to learn that is not necessary.

Link to comment
https://linustechtips.com/topic/1154644-c-code/#findComment-13290452
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×