I have tried to build your code... first, Transpose.vcxproj launched VS Community, which took OVER THREE MINUTES to open. CRAP. Then it asked me to login to my M$ account (which I refuse to have) because the trial period is over. Redmond, this CRAPWARE was supposed to be FREE, right?
So I tried my commandline setup for MSVC: "c:\program files (x86)\microsoft visual studio 10.0\vc\include\codeanalysis\sourceannotations.h(194): error C2059: syntax error: '['"
[RANT]
Great. And it seems that all my previously working sources show the same error. Thank you, VS Community, for introducing new "features".
Sorry, I give up on C/C++. Almost every time I put hand on C code, it ends up with endless searches on the web for somebody who solved the mystery of missing header files, or (in this case) header files that have "syntax errors" although I definitely never touched them. Not to mention the numerous attempts to load M$ "projects" which fail miserably because the current MSVC is not able to read the old obsolete crap that was saved in the previous version two years ago. Visual Crap just
stinks. Kudos to Hutch - Masm32
works. Same to Pelle Orinius, btw - his C compiler
works, too.
This afternoon I wasted over one hour trying to connect a phone to my PC with Bluetooth. Incredibly complicated, Windows help completely useless, it just sends you in circles, I gave up in the end. How could this "OS" survive so many years???
A helicopter was flying around above Seattle when an electrical malfunction disabled all of the aircraft's electronic navigation and communications equipment. Due to the clouds and haze, the pilot could not determine the helicopter's position and course to fly to the airport. The pilot saw a tall building, flew toward it, circled, drew a handwritten sign, and held it in the helicopter's window. The pilot's sign said "WHERE AM I?" in large letters. People in the tall building quickly responded to the aircraft, drew a large sign, and held it in a building window. Their sign read "YOU ARE IN A HELICOPTER." The pilot smiled, waved, looked at his map, determined the course to steer to SEATAC airport, and landed safely. After they were on the ground, the co-pilot asked the pilot how the "YOU ARE IN A HELICOPTER" sign helped determine their position. The pilot responded "I knew that had to be the Microsoft building because they gave me a technically correct, but completely useless answer."
[/RANT]