Already done. Didn't think of it before for whatever reason. Still, I never saw anything that said a goto needed a statement, even though it makes sense. Requiring it seems Javaish, like initializing variables.
Not to mention.
I think the use of goto is a bit exaggerated. Bad style, perhaps, but not punishable by death. It is useful for example, with deep structures.
Also, it is *Pawn. I don't want anything to do with your discussion of such odd things.
@sehe Well, Java is more restrictive than C, C++, etc. This is to promote good practice. One such event is initializing variables - if you don't before using (locals), compile error.
@sehe They are, but I don't know what else works in this situation, besides wrapping a whilein a gameloop function or something, which works I guess.
I wouldn't recommend using gotos willy-nilly, but I prefer it to getting out of, for example, a five-deep logical structure rather than four different variables.
room topic changed to (Not the) <Real> C++ Room: ISO<14882:2011>. For those who want to chat C++. No wait, go to the lounge. They have a helpdesk service if YOU ARE (you're JAB) not asking about C++. [c++11] [helpdesk]
I use differing types of streams, in streams, and out streams. It's more like java, which is my favorite language. If u need a refrence to fstream -> cplusplus.com/reference/fstream/fstream
@BartekBanachewicz hey i'm try get pixel color but result is wrong color what it can be? `HDC hDC = ::GetDC(tempHWND); COLORREF rgb = ::GetPixel(hDC,50,60); int redValue = GetRValue(rgb); int greenValue = GetGValue(rgb); int blueValue = GetBValue(rgb);` the color is #B38300 but it returns me #074092 I'm trying get pixel color of 3D Application.
I cant remembr, I actually might be wrong, its been a while since Ive done any color stuff in c++, mainly been working in java. You are using windows lib right?
I believe that GetBValue returns a byte, not an int.
@CCInc GetBValue has rgb parameters, and returns a byte, not an int. that could be your issue.