Can vc++2005eebe set up to be ansi C compliant

This is a discussion on Can vc++2005eebe set up to be ansi C compliant within the C Programming forums, part of the General Programming Boards category; Hi All, As this is a new free dev tool, I was wondering if it could be set up to ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    10

    Can vc++2005eebe set up to be ansi C compliant

    Hi All,
    As this is a new free dev tool, I was wondering if it could be set up to be ansi C compliant or at least to the point where code would compile on both UNIX and windows systems with little if any modification. I know there are other ide's out there but the vs ide's are very user friendly, especially while learning standard lib functions and parameters etc.
    Thanks for any hints or tips.
    Mick.

  2. #2
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,075
    There was a thread exactly like this within the past few days, a little search before your post would have been a good idea.

    You can change what compiler Visual Studios uses to suit your standardized needs and keep the IDE you desire. Don't ask me how to do this, because I don't know. The person that replied in the other post, did, however.
    Sent from my iPadŽ

  3. #3
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    If you program using only standard library functions, your code should be portable. You should be able to set up the -ansi flag some place in your code. Now then, you will have to code with c89 in mind, because c99 isn't supported by Visual Studios.

    [edit]
    Curses, foiled again.
    [/edit]


    Quzah.
    Hope is the first step on the road to disappointment.

  4. #4
    Registered User
    Join Date
    May 2004
    Posts
    10
    Quote Originally Posted by SlyMaelstrom
    There was a thread exactly like this within the past few days, a little search before your post would have been a good idea.
    It was but it didn't turn up what I was after, do you have a link?

    Thank you both for your replies.

  5. #5
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,075
    Honestly I can't be bothered to do the search for you... however if I recall correctly, it didn't give much detail on how to do it anyway, merely the navigation to the appropriate option. You'll get better answers by googling something like "Visual Studios change compiler".
    Sent from my iPadŽ

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. The new FAQ
    By Hammer in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 08-30-2006, 11:05 AM
  2. Set Classes
    By Nicknameguy in forum C++ Programming
    Replies: 13
    Last Post: 10-31-2002, 02:56 PM
  3. Set Classes
    By Nicknameguy in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2002, 08:40 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 11:14 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21