Dialecticus

Belgrade, Serbia

Age: 41

Mihajlo Cvetanović, Belgrade, Serbia

2d
comment How do I check If brackets are of same
I upvoted, but you should put a return after the WriteLine. I see no problems other than that. Well, OP has one more bug that would be revealed with more than one pair of brackets, because the equality check should be outside the loop.
Jan
31
comment C++ if/else grid system
What exactly does it mean to "move an X on a 4x4 grid and display each move"? I need more details from which I can understand what exactly should the program do.
Jan
27
comment Error in define class above Windows form
Fixed the tags.
Jan
27
revised Error in define class above Windows form
edited tags
Jan
27
comment Error in define class above Windows form
@JoshStribling what you say is true, but on the other hand what OP is describing is from WinForms C#. I have seen it. Seeing as OP didn't come back I guess he got the answer one way or the other.
Jan
24
comment Aligning data which contains strings
I tested this code on ideone, and I see the output that you expect. I guess that the code you posted is different from the code you actually run.
Jan
20
comment How to write 512x512 pixel array to a bmp file (256 colors and 8 bpp) in c++ using ofstream?
Could it be that you are reading DIBH structure directly, but writing it one element at a time, AND the structure members are not aligned to single byte (#pragma pack)?
Jan
13
comment Trouble with counters
To increment by x write += x, instead of =+ x. The latter is equivalent to = +x, or just = x.
Jan
6
awarded Tumbleweed
Jan
1
revised How can I avoid from getting exception? Cannot access a disposed object when closing my project
added 61 characters in body
Jan
1
answered How can I avoid from getting exception? Cannot access a disposed object when closing my project
Jan
1
comment How can I avoid from getting exception? Cannot access a disposed object when closing my project
What should backgroundWorker do when user tries to close the window?
Dec
30
asked Editable union of two shapes
Dec
30
awarded Nice Answer
Dec
30
awarded Teacher
Dec
30
awarded Autobiographer
Dec
28
comment Improving C++'s reading file line by line?
cout is out of the loop. Should not make a difference.
Dec
27
comment How to link with static MFC libraries with the Microsoft Linker tool
@edition sorry, totally missed it was done in nmake. Edited the answer.
Dec
27
revised How to link with static MFC libraries with the Microsoft Linker tool
added 733 characters in body
Dec
27
answered How to link with static MFC libraries with the Microsoft Linker tool
1 2 3 4 5