While executing a program it is compling properly but I am getting the following error. i tried changing the path. but it still doesnt work....
LINK : fatal error LNK1104: cannot open file '.\Debug\sain.obj'
assas - 1 error(s), 0 warning(s)
While executing a program it is compling properly but I am getting the following error. i tried changing the path. but it still doesnt work....
LINK : fatal error LNK1104: cannot open file '.\Debug\sain.obj'
assas - 1 error(s), 0 warning(s)
Hey,
Can you post the command you are using to compile the program ... it may be helpful.
I am using Cntrl+F5 to compile the program
So, do you have a sain.c?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Yes I have sain.cpp and sain.h. I build the program in vc6.0 and now I am using visual c++ 2008 express edition and this program is getting complied in vc6.0 but not working in vc++ 2008
Do you have everything in a single project in 2008?
(If so, then you should look to see if you have a sain.obj hanging around somewhere else.)
And sain.cpp is part of your 2008 project?
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Do a build -> clean (that should empty your .\Debug directory
Do a build -> rebuild all
Post log entries which mention 'sain' as either source or object file.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.