I'm using Microsoft Visual Studio 2003 to write this stuff. It's the program we got to download for free for our class.
I'm using Microsoft Visual Studio 2003 to write this stuff. It's the program we got to download for free for our class.
It's allowed in C99, right? I declared variables after statements in my C99 class and the instructor passed my program. I haven't read the standard though.Originally Posted by Salem
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
Yes it is in C99.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.