Changes

Jump to: navigation, search

Project A2 20141 - OOP344

654 bytes added, 23:48, 7 March 2014
setLine: Description of alternate approach
=== Recommendations ===
==== setLine ====
setLine is somewhat awkward in intent implementation. Its purpose is to fill a string that is the width of the frame with a first character, a fill character, and an end character. This however requires a string for output which typically must be dynamically allocated before use and then deallocated after use. However, the same effect can be achieved through a similar function that instead of filling a string simply prints the same characters directly to console utilizing two output statements and a loop. This approach removes the need for an additional string. Obviously a function like this would not need to accept a char*. You may use either of these implementations of setLine or use any third implementationthat you prefer. It may be desirable
== CField ==

Navigation menu