perror undefined?

This is a discussion on perror undefined? within the Windows Programming forums, part of the Platform Specific Boards category; I am attempting to compile some old code - it is in both C and F, and keeps falling over ...

For compiling, I was recommended Microsoft Visual C++ version 4.0 and Microsoft Fortran PowerStation version 4.0 by the people who produced the code, so I presume that I am using the appropriate compiler, the executable will be run from command prompt, so will be able to print error there- should I be doing something with the compiler settings for that? Hopefully this answers your questions, I am very new to code, and still trying to get to grips with the terminology
Thanks

You need to be very precise with terminology when dealing with computers. Computers do exactly what you say, so if you don't say exactly what to do, they will produce garbage.

You said in your first post that you use "Microsoft® eMbedded Visual C++ 4.0". This is for developing Windows CE (old phone operating system) programs. Do you really intent to get an executable that will run on old windows phones? My guess is that you were told to use "Microsoft Visual C++ 4.0". You googled and found the embedded thing. Why? Because that thing you were recommended is from the stone age. And I mean it. It was for Windows 95. I started out programming with 5.0 which was 18 years ago and it came on floppy discs. Floppy discs for gods sake. I'm not sure if you will get your mammoth hunting app to run today, but your best bet might be to install a recent compiler, for example Microsoft Visual Studio 2010. The "Express" Editions are free.

although I still don't know if it will run- any advice on where to download the real mammoth hunting compiler would be great, but yes- every link I found to it was talking about which floppy disk to do what with- even the embedded version I got requires a version of windows so old I had to dust off an old computer (which does actually have a floppy drive, although I'm not sure its wired in anymore)
anyway, I will give Microsoft Visual Studio 2010 a go if I can't get the .obj files to link, ta!