Quote:
Originally Posted by Lee Hey,
I am trying to setup my compiler and am in need of help, I am using Visual C++ 2005 Express Edition
I am trying to set up two things.
1. When i declare a char in my program and its unsigned instead of me typing unsigned char i want it to do this by default, meaning when i declare a char that's unsigned it will change the code to unsigned char for me.
To do this i need to put "/J" somewhere though with this version i am not sure where i need to put it, in earlier versions you go into the properties and in the additional options text box under the tab C/C++ you type "/J", if that tabs there i cant find it?
]2. I want to make it so my application uses multi threaded libraries and i cant seem to find the drop down list to change it, in older versions it comes under the C/C++ tab under a label "Use run-time library:" then you select what you want from the list, Again i cant find this
Please help!
Thanks |
Perhaps my version (.NET 2003) qualifies as an 'older version' -however, I found this option in the Project's properties window. Under the C/C++ 'tree' of settings, there's a property page called
Code Generation, where you can specify single or multi-threaded runtime libraries.
Is this what you're looking for?
As for the option to treat char as unsigned by default, the Property page beneath
Code Generation is called
Language. in VS 2003, I have the
Default char unsigned option there.
If VS2005 is different (Last time I used VS2005 it looked more-or-less identical) then you might need to flick through MSDN's help pages.