views:

105

answers:

1

Hi I 've a c++ code. but its with .cpp,v extension. I want to debug and compile the code. Can anyone please throw some light on that topic. I want to know what v indicates? & how to debug the code?

+6  A: 

It's a file from CVS or some related version control system. The files ending with ",v" are not the actual source files, rather these are housekeeping files used by CVS.

You will need to go back to the CVS repository and get the .cpp and .h source file(s).

richb
what does that CVS mean?? i know nothing about it? could you please give me some idea..
shayam
CVS = Concurrent Versioning System.http://www.nongnu.org/cvs/cvs.html
richb
Concurrent Versioning System, see http://en.wikipedia.org/wiki/Concurrent_Versions_System.
Space_C0wb0y
It could also be from RCS, an even older version control system.
richb
thanks richb. sorry for troubling you. Where will the repository reside? in CVSROOT directory?.
shayam
in that directory too all are with ,v extension. how to compile those files??
shayam
shayam, you don't compile files ending with ,v. They are not C++ files. Where did you get the files from? Are there also .cpp and .h or perhaps .C files in there as well?
richb
shayam
I think these are special files to keep the track on the modification of files. Like `.svn` subfolder for SVN. Don't touch them, just use .cpp and .h files.
Andrejs Cainikovs
ok.. thanks.. which tool s to be used for this? wincvs is the one i am using.
shayam