Awareness
4th August 2011, 18:54
Yesterday,I was trying a basic program which was in exercises section of a book.I was using pure C++,Qt Creator as programming environment and it uses mingw as compiler.
I got very tired after about 5 hours of my programming work,and I was working for 2-3 hours on the same program.I was changing the program and it was sometimes giving me compiler errors,sometimes no compiler error but the program was not working like I intended.At last I decided to give up and try to solve the problem next day.
Interestingly,today I opened the same program with Qt Creator again,I directly built the .exe file with Qt Creator without changing any code,and when I tried to run the program,it worked flawlessly.
I couldn't understand why this happened...Why could it be?
I got very tired after about 5 hours of my programming work,and I was working for 2-3 hours on the same program.I was changing the program and it was sometimes giving me compiler errors,sometimes no compiler error but the program was not working like I intended.At last I decided to give up and try to solve the problem next day.
Interestingly,today I opened the same program with Qt Creator again,I directly built the .exe file with Qt Creator without changing any code,and when I tried to run the program,it worked flawlessly.
I couldn't understand why this happened...Why could it be?