vvikramreddy 0 Newbie Poster

Hi :) ,

I have a question. How to create a ramp(ramp means randam) image and store it as file.

int main( ) {
// Input a file name
string fileName;
cout << "Specify file name: ";
cin >> fileName;
if (cin.fail()) {
cerr << "Input error" << endl;
return -1;
}


Bye
vikram