working with C files

This is a discussion on working with C files within the C Programming forums, part of the General Programming Boards category; I am trying to learn the C programming language and since now i have always tried to compile my programs ...

  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    8

    working with C files

    I am trying to learn the C programming language and since now i have always tried to compile my programs with DevC++ (i am running win xp sp2). All is well and good, however, i on my pc i have also installed Microsoft Visual Studio .Net 2002, which i use for my VB.Net.

    What I would like to ask you is if it is possible to use the visual studio for C programming, as i am unable so far to create/compile/execute a simple C program.

    Thanks for letting me know if this is possible in the first place ?

    Any guidelines is greatly appreciated.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Posts
    7
    Are you tried with visual c++ .net?

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >possible to use the visual studio for C programming
    I sure hope so, otherwise there's been something wrong with my C programs for quite a few years now. Visual C++ is one of my primary compilers.

    >i am unable so far to create/compile/execute a simple C program.
    That's nice. Can you provide some details?
    My best code is written with the delete key.

  4. #4
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >The project type has to be a console application
    So you can't write Windows applications in C with Visual Studio? That seems to be what you're saying.

    >or else just write your program in notepad and use the command line to compile
    That completely defeats the purpose of advanced text editor features that make programming vastly simpler.

    >which most developers at Microsoft do
    Proof?
    My best code is written with the delete key.

  5. #5
    Registered User
    Join Date
    Mar 2005
    Posts
    135
    just save every source file you create with the .c extension and everything will work fine.

  6. #6
    I am me, who else?
    Join Date
    Oct 2002
    Posts
    250
    Quote Originally Posted by MDofRockyView
    The project type has to be a console application, or else just write your program in notepad and use the command line to compile, which most developers at Microsoft do.

    Hmmm I'm gonna have to go out on a wee limb and say no...

    The only thing you might have to do to get programs to run and compile would be to create a project in Visual Studio, make sure its C/C++ and you will be fine. If you wish to not have a windows type window floating around, use console. If you want a full blown window, use win32, visual studio will create the basic code for it. Though technically you always have the option of making an empty project.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Deployment and DLL/OCX Files?
    By dfghjk in forum C++ Programming
    Replies: 5
    Last Post: 06-16-2008, 03:47 AM
  2. Ressources files
    By mikahell in forum Windows Programming
    Replies: 4
    Last Post: 06-19-2006, 07:50 AM
  3. Working with DLL files...
    By Devil Panther in forum Windows Programming
    Replies: 8
    Last Post: 11-15-2004, 12:42 AM
  4. working with resource files
    By the Wookie in forum Windows Programming
    Replies: 4
    Last Post: 02-01-2003, 10:26 AM
  5. Dos commands hehe
    By Carp in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-17-2003, 02:51 PM

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