Ask a questionAsk a question
 

General DiscussionChange base numbering in Visual Studio

  • Wednesday, October 28, 2009 9:06 PMdducharme Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello everyone and thanks for the help ahead of time. I am a professor teaching C++ at a University. Many of the students are using Visual Studio and we have just come across a problem that I cannot figure out how to fix. I have searched the help documentation and I can't find any mention of this. Somehow the student changed the default numbering scheme of Visual Studio to base 8 numbering and has no idea how this happened. I need to know where I can change that back to base 10 as all of the ints are currently considering numbers to be base 8. If he attempts to set a value such as 80 into an int he gets a compiler error stating that 8 is undefined in base 8 numbering. If anyone has any idea how to fix this it would be much appreciated. If you need any further information please let me know.

All Replies

  • Friday, October 30, 2009 9:28 AMYiChun ChenMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Dducharme,

    Welcome to MSDN forums. And thank you for your post.

    Some clarification with you:
    What's the exact error message when you compile your C++ project?
    Could you please post the related source code when this error occurs?

    Best regards,
    Yichun Chen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Wednesday, November 04, 2009 9:54 AMYiChun ChenMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Dducharme,

    We are changing the issue type to “Comment” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

    Thank you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.