Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJosh Keenan
20,315 PointsHelp with C
So I'm trying to learn C and the next thing on my list of projects is to build a Star Naming game.
The idea being I have to print a 30x60 grid and randomly populate it with stars, within the stdout (console) and not in any format.
I need to use a 2d array but it hasn't been covered and I'm not entirely sure how to do this part of the game, can anyone help me out a bit?
1 Answer
Steve Hunter
57,712 PointsJosh Keenan
20,315 PointsSteve you are a star <3
Steve Hunter
57,712 Points
Josh Keenan
20,315 PointsJosh Keenan
20,315 PointsSo the grid would output(after I do the rest of it)
all the way down until there are 60 rows