Results 1 to 4 of 4

Thread: VC++ Questions......

  1. #1

    Thread Starter
    Addicted Member Smie's Avatar
    Join Date
    Jun 1999
    Location
    Columbus, OH
    Posts
    249

    Question VC++ Questions......

    I have 2 questions,

    1: when creating a new project in VC++, there is a box in the lower right hand corner of the dialog box that lets you select a platform, but Win32 is the only one. Is there a way to be able to program for different os?

    2:I know its C++, but is there just a way to code in straight C?



    Im new, please dont mind my ignorance. Thanks for any help.

  2. #2
    jim mcnamara
    Guest
    1. No, the compiler works only for Windows platforms.
    There are free linux c++ compilers from www.gnu.org

    2. VC++ accepts standard C. In fact, it's common to have a windows MFC front end with a lot of ansi C from old apps.
    At least where I am.

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    To use C, just use a file with a .c extension rather than .cpp. The compiler will automatically choose the language based on the extension

    Jim - MFC over C? Ouch...why not just program the interface in C and keep it all simple?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4
    jim mcnamara
    Guest
    Because we ported a bunch of C code to windows from DOS.
    Specialty spreadhseet applications mostly, that access data from remote disks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width