Quick question [2D Array]
#8

Ok let me make this really simple

I have this line of code
Код:
bWorkerName[MAX_BUSINESS_WORKERS]
It's completely possible because Integers are fine with the method I'm using. I'd just like to know how in this format I need to define this as a string. I don't get why you're saying "Store both the worker and their name" - I'm simply trying to store JUST a string here and not entirely sure on how to write the line.

EDIT:

Can I simply do this?
Код:
bWorkerName[MAX_BUSINESS_WORKERS][MAX_PLAYER_NAME]
Remember it's inside an enum.

EDIT 2: Don't worry I'll just debug this.
Reply


Messages In This Thread
Quick question [2D Array] - by FarTooBaked - 08.06.2015, 21:24
Re: Quick question [2D Array] - by Konstantinos - 08.06.2015, 21:26
Re: Quick question [2D Array] - by FarTooBaked - 08.06.2015, 22:54
Re: Quick question [2D Array] - by Konstantinos - 08.06.2015, 23:15
Re: Quick question [2D Array] - by FarTooBaked - 09.06.2015, 00:11
Re: Quick question [2D Array] - by FarTooBaked - 09.06.2015, 12:31
Re: Quick question [2D Array] - by Konstantinos - 09.06.2015, 12:45
Re: Quick question [2D Array] - by FarTooBaked - 09.06.2015, 13:02
Re: Quick question [2D Array] - by Konstantinos - 09.06.2015, 13:14
Re: Quick question [2D Array] - by FarTooBaked - 09.06.2015, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)