Search Results

Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: deadswitch
Forum: C Dec 11th, 2007
Replies: 1
Views: 585
Posted By deadswitch
Halsell 228. That's a nice room.

You may find it useful to make your map and item file less complicated, i.e. each piece of data on its own line. Then you can read line by line, using fgets() for...
Forum: C Nov 9th, 2007
Replies: 15
Views: 1,356
Posted By deadswitch
Thanks so much for the help, everyone. Unfortunately, I'm still not understanding things.

I'm completely baffled as to how to read in each room from the map file and stick each room into its own...
Forum: C Nov 9th, 2007
Replies: 15
Views: 1,356
Posted By deadswitch
Okay, thanks.

This code is working 3/4 of the way:


void readRoom (roomStruct rooms[]) {

FILE *fin;
int i = 0;
Forum: C Nov 9th, 2007
Replies: 15
Views: 1,356
Posted By deadswitch
Sorry; I'm a bit of a coding forum noobie. I'll be more specific.

// maps.c //

0
Logan and Eliseo's Room
You are in Logan and Eliseo's room. It's full of people and it's really really loud....
Forum: C Nov 8th, 2007
Replies: 15
Views: 1,356
Posted By deadswitch
Thanks for the re-organization...I should probably learn to comment a little more.

I tried the code you gave me, and it compiled wonderfully! Yay.

Then I ran it. It read in the number correctly...
Forum: C Nov 8th, 2007
Replies: 15
Views: 1,356
Posted By deadswitch
Hey folks --

DaniWeb has helped me a lot with various other programming projects, but I've run into a snag that I just can't get myself to understand. Hooray for vague compiler errors. Hopefully...
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC