Entry: Headers and programming, oh my! Tuesday, April 13, 2004



Well, I thought maybe someone might be interested in the programming that I do, so here is my latest and greatest ( okay... not greatest ) work. It only took me about four hours, but it will be very useful.

Note that this was programmed in C++, and does not include a driver for the class ( unless you make a driver, which is very easy, or ask for the one that I made, you can't compile it if you have a compiler )

Anyways... here they are ( if you don't know C++, I'd recommend that you only look at charArray.h, as it is basically a 'summary' of charArray.cpp )

charArray.cpp
charArray.h

so... the class is called charArray, and is used just like a normal, run-of-the-mill arrary of characters ( i.e. you can declare it like charArray = n; cin >> charArray; where n is the size you want the charArray object )

I know how to make the conversion constructor for conversions between type const char *, I just haven't gotten around to making it yet...

I feel as if less than half of you will understand what I said here, but post any comments/questions you may have in the comment box plz! Thanks bunches.

 

   1 comments

Megiddo
April 14, 2004   07:01 AM PDT
 
Anyone have anything at all to say?

Leave a Comment:

Name


Homepage (optional)


Comments