Re: file organization


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]

Posted by hussein on August 04, 1999 at 21:46:18:

In Reply to: file organization posted by Brad Phillips on August 04, 1999 at 19:32:43:

: Does it matter how we organize our files for this
: project? Can we split functions up into several
: header files and just include those instead of
: having both .h and .cpp files?

having executable code (besides inline member functions)
in a "header" file is poor programming practice - dont do it.

if you want to split up your code, put the functions into a ".cpp"
file and the prototypes in a ".h" file. if u dont know how to di this, ask a TA.

---

hussein


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]