Today most of the time was spent on implementing new features, such as text showing the ID of the laser, and also some bug fix to the existing application( previously it recognize the new laser's ID as one more than its actual ID when 2 laser beams are shown.
It was due to the fact that my existing vector had actually stored lasers that are alive and not alive, and the coordinates vector only stored lasers that are alive. It was resolved by declaring another vector to store only the ID of lasers that are alive
Another thing I learned would be string concatenation in C++. While in C# and Java we could just use string s = "id : " + idNum; In C++ this will not work. We have to use an Osstring to store the entire concatenated string, and then convert it to a char array(char string) type.
Reflection of the week :
Time flies and its the end of my 2nd week at IHPC. I have learned deeper into svn, open cv, and programming with cameras and lasers, which I had never done before in my polytechnic education.
This week was interesting as we touch on programming, and learned more on C++. All along I have heard C++ is a powerful language used to program games, applications, and even Operating Systems, and only when programming using it, I realise it is indeed true.
This week also had me learning more about time management as I have to rush over to Microsoft and discuss events at 6.30pm, while managing my work in IHPC. Time was indeed a bit tight for me, but nevertheless, I struggled a bit, managed to made it.
Indeed in the working world, time will be tight, and the temptation to procrastinate would be great. Adam Khoo once said," Procrastination is the ultimate killer of success", yet in some aspects of my life, I am still procrastinating on.
Indeed next week time will be tight as I will need to take care of 2 events next week, and also quite alot of work at IHPC
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment