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
2010-03-22 09:43:26
what does that CVS mean?? i know nothing about it? could you please give me some idea..
shayam
2010-03-22 09:46:27
CVS = Concurrent Versioning System.http://www.nongnu.org/cvs/cvs.html
richb
2010-03-22 09:49:29
Concurrent Versioning System, see http://en.wikipedia.org/wiki/Concurrent_Versions_System.
Space_C0wb0y
2010-03-22 09:50:57
It could also be from RCS, an even older version control system.
richb
2010-03-22 09:51:34
thanks richb. sorry for troubling you. Where will the repository reside? in CVSROOT directory?.
shayam
2010-03-22 10:00:02
in that directory too all are with ,v extension. how to compile those files??
shayam
2010-03-22 10:07:58
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
2010-03-22 10:15:02
shayam
2010-03-22 11:09:24
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
2010-03-22 11:28:13
ok.. thanks.. which tool s to be used for this? wincvs is the one i am using.
shayam
2010-03-22 12:47:30