sudhi164 Posted April 23, 2009 Posted April 23, 2009 hi,When i try to compail a c++ code in VC++ 2008 i am getting a error as mention belowError 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
Mijzelf Posted April 23, 2009 Posted April 23, 2009 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now