Jump to content

C code

Derrk

anyone want to hop on discord and help with a small C project i'm stuck on?

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, straight_stewie said:

Why don't you just post your question(s) here?

A good starting point i'm struggling with is how to declare a 2D array with a char and an int

Link to comment
Share on other sites

Link to post
Share on other sites

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

Link to comment
Share on other sites

Link to post
Share on other sites

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
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

×