programming in C with VC++ 6.0

This is a discussion on programming in C with VC++ 6.0 within the C Programming forums, part of the General Programming Boards category; well I have visual c++ 6.0, and I am fairly familiar with the way it works, but a couple months ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    241

    programming in C with VC++ 6.0

    well I have visual c++ 6.0, and I am fairly familiar with the way it works, but a couple months ago I was trying to help out one of my friends with some c programs he had to write, and I checked the code, and it was fine, but are there and special settings I need or maybe different header files?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    There are certain fuctions which are compiler specific...

    For instance the functions to clear screen are different....as well as the file search functions.....those functions are usually there......just different

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    241
    well the one I was working on wasn't very complex... it just got a number from the user, then used a for loop with a step of 2 to sum up all the even numbers from 0 to the number entered, then explain it

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    What errors was it spitting out?

    I use VC++ for C.....It works ok mostly

  5. #5
    zen
    zen is offline
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    but are there and special settings I need or maybe different header files?
    If you mean you need to compile C code as oposed to C++ code then you can use the project option /TC to force all files to compile as C (C++ will generate errors).
    zen

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. makefile exported by vc 6.0 doesn't work
    By wow in forum Windows Programming
    Replies: 7
    Last Post: 03-24-2006, 03:20 PM
  2. Can't compile this with VC 6.0
    By uriel2013 in forum C++ Programming
    Replies: 4
    Last Post: 05-31-2003, 07:43 PM
  3. Visual Studio 6.0 Help
    By L_I_Programmer in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2003, 09:35 PM
  4. adding a header file in VC 6.0
    By stimpyzu in forum C++ Programming
    Replies: 5
    Last Post: 10-28-2002, 01:26 AM
  5. VC 6.0 compiled error
    By alan4100 in forum Windows Programming
    Replies: 4
    Last Post: 09-17-2001, 03:10 PM

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