Results 1 to 7 of 7

Thread: C & Visual Express 2008?

  1. #1
    Registered+
    Join Date
    Nov 2008
    Posts
    26
    Thanks
    3
    Thanked
    0 times in 0 posts
    • -Observer-'s system
      • Motherboard:
      • eVGA 680i SLI
      • CPU:
      • 3.0 Ghz Q6600 G0
      • Memory:
      • OCz 8GB DDR2 SLI RAM C5
      • Storage:
      • RaptorX (300GB RAID 0)
      • Graphics card(s):
      • 2 X 8800GTS 512MB IN SLI
      • PSU:
      • CoolerMaster M700 700W
      • Case:
      • Antec SOLO
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • HP 24" w2408

    C & Visual Express 2008?

    Can someone please explain to me in basic steps how to I get started with programming with C in Visual Express 2008. Do I use the C++ program to program with C, and if so what are the steps to get me started?

    What other IDE's for Vista 64 do you recommend for C?

  2. #2
    Fried Chip Extremist alsenior's Avatar
    Join Date
    Nov 2005
    Location
    Stafford
    Posts
    2,949
    Thanks
    103
    Thanked
    191 times in 145 posts
    • alsenior's system
      • Motherboard:
      • DFI Lanparty Jr x58-T3H6
      • CPU:
      • Core i7 920
      • Memory:
      • 6 x 2GB ocz Gold
      • Storage:
      • 1 TB Samsung F3
      • Graphics card(s):
      • 1gb 4890 vapor-x xfire
      • PSU:
      • xfx 850W
      • Case:
      • Lian-li Pc7
      • Operating System:
      • Windows 7 X64
      • Monitor(s):
      • Dell 2208WFP
      • Internet:
      • 30mb Virgin media

    Re: C & Visual Express 2008?

    the c++ version should be okay for learning c. thought the syntax may be slightly different.
    Quote Originally Posted by Jay View Post
    What kind of emergency would need Windows 95? I think you are already in a bad state of emergency when your backup plan is Windows 95.
    Beginners guide to raid Beginners guide to raid post edition Hexus.Social - FAQ

  3. #3
    Registered+
    Join Date
    Nov 2008
    Posts
    26
    Thanks
    3
    Thanked
    0 times in 0 posts
    • -Observer-'s system
      • Motherboard:
      • eVGA 680i SLI
      • CPU:
      • 3.0 Ghz Q6600 G0
      • Memory:
      • OCz 8GB DDR2 SLI RAM C5
      • Storage:
      • RaptorX (300GB RAID 0)
      • Graphics card(s):
      • 2 X 8800GTS 512MB IN SLI
      • PSU:
      • CoolerMaster M700 700W
      • Case:
      • Antec SOLO
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • HP 24" w2408

    Re: C & Visual Express 2008?

    But when I type code in C using C++ Visual Express I get compilation errors...

    Does that mean I can't use C syntax in C++? If so where can I use C syntax?

  4. #4
    Fried Chip Extremist alsenior's Avatar
    Join Date
    Nov 2005
    Location
    Stafford
    Posts
    2,949
    Thanks
    103
    Thanked
    191 times in 145 posts
    • alsenior's system
      • Motherboard:
      • DFI Lanparty Jr x58-T3H6
      • CPU:
      • Core i7 920
      • Memory:
      • 6 x 2GB ocz Gold
      • Storage:
      • 1 TB Samsung F3
      • Graphics card(s):
      • 1gb 4890 vapor-x xfire
      • PSU:
      • xfx 850W
      • Case:
      • Lian-li Pc7
      • Operating System:
      • Windows 7 X64
      • Monitor(s):
      • Dell 2208WFP
      • Internet:
      • 30mb Virgin media

    Re: C & Visual Express 2008?

    you could try using notepad++ to write it.

    http://notepad-plus.sourceforge.net/uk/site.htm

    i don't know where you could get a complier from though.
    Quote Originally Posted by Jay View Post
    What kind of emergency would need Windows 95? I think you are already in a bad state of emergency when your backup plan is Windows 95.
    Beginners guide to raid Beginners guide to raid post edition Hexus.Social - FAQ

  5. Received thanks from:

    -Observer- (03-12-2008)

  6. #5
    Senior Member
    Join Date
    Sep 2004
    Posts
    371
    Thanks
    44
    Thanked
    10 times in 9 posts

    Re: C & Visual Express 2008?

    I had this problem! Start an empty c++ project and then go to the Project menu and select the properties option. Then navigate to Configuration Properties > C/C++ > Advanced. Under here you should see the "Compile As" option. Choose "Compile as C Code (/TC)". That should fix it

    EDIT:
    If you go the notepad route (I used notepad2 myself) you can get the GCC compiler by downloading Cygwin. Bit of a pain to setup the first time you use it (you need to select all the packages you want to download) but once you've set it up it's like having a linux command line on windows

    Alternatively you could try Dev C++

  7. Received thanks from:

    -Observer- (03-12-2008)

  8. #6
    Registered+
    Join Date
    Nov 2008
    Posts
    26
    Thanks
    3
    Thanked
    0 times in 0 posts
    • -Observer-'s system
      • Motherboard:
      • eVGA 680i SLI
      • CPU:
      • 3.0 Ghz Q6600 G0
      • Memory:
      • OCz 8GB DDR2 SLI RAM C5
      • Storage:
      • RaptorX (300GB RAID 0)
      • Graphics card(s):
      • 2 X 8800GTS 512MB IN SLI
      • PSU:
      • CoolerMaster M700 700W
      • Case:
      • Antec SOLO
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • HP 24" w2408

    Re: C & Visual Express 2008?

    Thanks for your reply guys.

    McClane, I tried your instructions for the Visual C++ but I can't seem to see the C/C++ options when I create an Empty Project, even when creating a Win32 Project and choosing 'Empty Project' under 'Additional Options'.

    Dev C++ worked fine, but I had to use "system("PAUSE")" command to stop making my screen flash too quickly upon running my program.

    I've yet to try Cygwin, but I think I might do as I'm too used to using a Linux terminal and good old EMACS.

  9. #7
    Senior Member
    Join Date
    Sep 2004
    Posts
    371
    Thanks
    44
    Thanked
    10 times in 9 posts

    Re: C & Visual Express 2008?

    It seems you have to create an empty project and then either add in an existing C source file or go to Project > New Item. Then you need to choose the C++ file but when you name it give it the extension ".c". When I did this it seemed to automatically set the compiler to C. Although I guess it's best to double check. Hope this works

  10. Received thanks from:

    -Observer- (03-12-2008)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Visual C++ 2008 and boost
    By razor92 in forum Software
    Replies: 1
    Last Post: 23-11-2008, 08:29 PM
  2. Visual C++ 2008 Express help
    By razor92 in forum Software
    Replies: 4
    Last Post: 22-11-2008, 12:11 PM
  3. FREE MS Office Accounting Express 2008
    By Mithrandir in forum Retail Therapy and Bargains
    Replies: 5
    Last Post: 14-01-2008, 01:33 AM
  4. FREE Visual Studio Express from M$
    By megah0 in forum Retail Therapy and Bargains
    Replies: 15
    Last Post: 12-11-2005, 02:28 PM
  5. Replies: 0
    Last Post: 19-05-2005, 06:15 PM

Posting Permissions

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