my save function does not proply work i have been told that i have to have a white space between the numebr of rows and the number of cols and the rest of the data but i dont know how 2 do this?
sorry again haha i tryed 2 do this with my code void bitmap::invert()
{
for (int r = 0; r < numrows; r++)
{
for (int c = 0; c < numcols; c++)
{
if (grid[r][c] == 0)
cout << "*" ;
else cout << " ";
}
cout << endl;
}
}
but i realized when pressing it 2wice it wouldnt go back 2 original image
You have been asked on many occasions to read the guidance articles on asking questions and inserting code into your post. You do not seem to give us the common courtesy to attempt to follow these guidelines, so I (for one) regret that I will no long be able to offer you help.
r u serious....man i tryd 2 do the code writing bit but it dont work 4 me..didnt realize u hadta b a c++ professional programer 2 ask questions on this site...mad help grey wolf
Just take a look at this thread; to start with the title is meaningless. You then intimate that you have a problem with your code not compiling properly but fail to say what the errors are. When asked you say that save function doesn’t have spaces in it! Well how the hell is anyone meant to figure out that that was your problem? And so on…
I’m in no way asking you to be a professional programmer, all I am saying is don’t make it hard work for people to help you. If you carry on asking extremely vague questions, using txt speak, not putting your code in simple code tags etc. people will start to ignore you. If you don’t find this advise helpful then I’m sorry, but for me, that is how it is.
"r u serious....man i tryd 2 do the code writing bit but it dont work 4 me..didnt realize u hadta b a c++ professional programer 2 ask questions on this site...mad help grey wolf"
Err... You'd expect a "Profesional C++ Programmer" to be the lowest level of expertise before you can use a custom [code ] printf("hello world"; [/code ] tag in HTML. =\ Not very re-assuring