## Search found 4 matches

Thu Oct 25, 2007 11:59 pm UTC
Forum: Logic Puzzles
Topic: The length of a river [solved]
Replies: 8
Views: 2464

### Re: The length of a river [unsolved]

1040 yards Suppose that the two boats are A and B, travelling at velocities Va and Vb respectively ( in yards per minute ) and that the width of the river is x. At time t1 they both reach 720 yards from A's starting point (we'll reference that as 0). (1) t1 = 720/Va ...
Tue Apr 10, 2007 11:33 pm UTC
Forum: Logic Puzzles
Topic: Comment blocks
Replies: 26
Views: 8259
It'll throw an error for any comment-like embeds, kind of annoying and GCC is really picky (you need a new line at the end of all your files too...) /*********************************** /* * My Function documentation * ***********************************/ will throw an error :/ Had to fix like 23408...
Tue Apr 10, 2007 11:07 pm UTC
Forum: Logic Puzzles
Topic: Comment blocks
Replies: 26
Views: 8259
GCC will actually throw a warning if you have a /* inside of a comment block, like (/* /* */ */)

and warnings as errors is your friend.
Tue Apr 10, 2007 8:50 pm UTC
Forum: Coding
Topic: C coding question
Replies: 20
Views: 6522
char name[11] is an array and you're trying to set it to a pointer. think of your struct like this struct item { char name0; char name1; char name2; char name3; char name4; char name5; char name6; char name7; char name8; char name9; char name10; float grade; struct item* next; }; If you want to have...