Hey guys i have a header file and now i am writing the implementation file and defining the constructors..i am having trouble with 1 but..

void bitmap:save (string filename)


//The bitmap representation is written to filename. The bitmap file will consist of two positive integers R and C representing the number of rows and columns followed by R rows of C columns of zeroes and ones. For example :

3 5
//i have to save it into string file name
can anyone plz help me

The parameter filename is going to contain all the bitmap data? :icon_eek: Then where is the name of the file that function is supposed to write it to ? I'd say you need to redesign the parameter(s) to that function because that is just screwy.