I need to write a library similar to the header file. I need help writing the following functions. They are included in my own class called "string".
void resize(unsigned int, char);
//resizes character array "Buffer" to number specified by
//first parameter
//fills extra space by the second parameter character
void insert(unsigned int, string &);
//Inserts a string into "Buffer" a character array.
//First parameter: Place to insert
//Second parameter: string to insert.
void remove(unsigned int, unsigned int);
//removes characters from "Buffer", a character array.
//First parameter : Starting position,
//Second parameter : number of characters to remove.
2007-05-23
02:59:14
·
3 answers
·
asked by
Karel d
1
in
Computers & Internet
➔ Programming & Design