Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

4
Do Structs do this
Post Flair (click to view more posts with a particular flair)
Post Body

What I would like to do / need to do somehow...

something like this

driftwood.inventory[item,plank]=1;

ben.inventory[item,chain]=2;

ash.inventory[item,pokeball]=24;

but better yet

char[0].inventory[item,plank]=1;

char[1].inventory[item,chain]=2;

char[2].inventory[item,pokeball]=24;

from what I see though I don't think you can use an array[0] as a struct name. Maybe I'm wrong, but I'm almost positive this is where I need to look for this type of data.

I'm messing around with constructors and I'm really getting nowhere. Any advice?

Author
Account Strength
80%
Account Age
3 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,403
Link Karma
159
Comment Karma
1,203
Profile updated: 5 days ago
Posts updated: 2 weeks ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago