Jump to content

Recommended Posts

Posted

hi,

When i try to compail a c++ code in VC++ 2008 i am getting a error as mention below

Error 2 error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format

let me know what i need to do ot remove this error


Posted

You'll have to change the line endings from 'CR' to either 'CR LF' (Dos,Windows) if 'LF' (*nix). There are many ways to accomplish this. One of them:

Open the file in PsPad, Click on Format->Dos, and save the file.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...