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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.