Added a vc2008 project entry. Small changes to the vc2010 project

- Added a Visual Studio C++ 2008 project entry, like the one Alex
added for vc2010.
- Removed the old 3dptv.vcproj files
- Small modifications in the vc2010 project settings
Changed indentation, added prototyping

- indentation and tab size = 4
- added prototyping for all functions
- removed unused functions with a #ifdef EVER_CALLED construction
Parsed tools.c change_parameter.c and checkpoints.c

src_c/tools.c, small changes
- added fopen_rp() open to read, with error message on failure
- modified the compose_name functions

src_c/change_parameter.c, small changes
- replaced fopen_r(), by fopen_rp(), if (!fp) ...

src_c/checkpoints.c, repaired bug, small changes
- replaced fopen_r(), by fopen_rp(), if (!fp) ...
- bug on line 39: read_ori (&Ex[i], &I[i], img_ori[i]);
changed to: read_ori (&Ex[i], &I[i], &G[i], img_ori[i]);
- lines 77-81 commented out
Parsed:  correspondences.c  demo.c  and  draw.c

src_c/correspondences.c, small changes
- removed /* repair memory fault (!?) */ + code
- changed syntax: if (p1 > -1) if (++tim[0][p1] > 1)
- removed /* repair artifact (?) */ + code
- removed 1<2 check

src_c/demo.c, bugs repaired, small changes
- replaced fopen()/fopen_r with fopen_rp(); if (!fp) ...
- lines 55 and 80: changed 'returns' to 'breaks' to be sure
free(imgf) is called at the end.
- line 101: repaired errors in using fscanf

src_c/draw.c, potential allocation bugs repaired, small changes
- replaced fopen() with fopen_rp(); if (!fp) ...
- added some code to be sure line1 and line2 will be deallocated.
Parsed:  epi.c  image_processing.c  imgcoord.c  intersect.c

src_c/epi.c, small changes,
- added: if (xa == xb)  xa += 1e-10, to prevent deviding by zero

src_c/image_processing.c, small changes, memory bugs
- changed: fopen_r() to fopen_rp()
- free (buf2) on the lines 179,286
- modified copy_images()

src_c/imgcoord.c
- repaired pointer errors on the lines 26, 113, 140

src_c/intersect.c devide by 0
- repaired possible devide by zero on line 37
Parsed:   jw_ptv.c

- replaced fopen_r() and fopen() by fopen_rp()
- changed/combined code in a single for loop on lines
731, 1107, 1255, 1374, 1630, 2138, 2177, 2189, 2385, 2566,
2747,
- changed sprintf format on line 974, 2199, 2439, 2719
- bugs in fscanf repaired on lines 1225, 1226, 2237, 2496, 2794
- added a test 'imgsize < imx*imy' in start_proc_c()
Parsed:  lsqadj.c mousefucntion.c multimed.c  orientation.c

src_c/lsqadj.c
- introduced void* to prevent compiler warnings

src_c/multimed.c
- replaced fopen() and fopen() by fopen_rp()
- repaired 'pointer to array' errors
In all the calls to trans_Cam_Point() the & is stripped of from
the arguments &cross_p and &cross_c.
(lines: 699 711 727 737 753 763 780 790 808 831)

src_c/orientation.c
- replaced fopen() and fopen() by fopen_rp()
- repaired memory bugs in using fscanf on line 422...
- changed code or combined code in one for loop on line 606...
Parsed:  peakfitting.c   pointpos.c   ptv.c

src_c/peakfitting.c
- replaced fopen() and fopen() by fopen_rp()
- repaired bugs crossing image bounds
- repaired bugs in the part 'get touch events'

src_c/pointpos.c
- stripped & from cross_p, cross_c on lines 409
- added & to Xp_t, Yp_t, Zp_t, stripped & from cross_p, cross_c
and stripped *'s from Xp_t, Yp_t, Zp_t on limes 555, 582,
611, 713, 740, 770, 794, 900, 929
- stripped *'s from Xp_t, Yp_t, Zp_t on lines 521, 676, 865
- undefined i defined on lines 934....

src_c/ptv.c
- replaced fopen() and fopen() by fopen_rp()
- changed sprintf format, 118, 211, 236, 291, 324,
371, 407, 432, 490, 515
Parsed:  ray_tracing.c   rotation.c   segmentation.c   sortgrid.c

src_c/segmentation.c
- replaced fopen() and fopen() by fopen_rp()
- bugs crossing image boundaries repaired, lines 138, 278
- added extra fscanf's to read targ_rec.par on lin 266
- repaired arguments bug on line 355

src_c/sortgrid.c
- replaced fopen() and fopen() by fopen_rp()
Parsed:  track.c  trafo.c  ttools  vrml.c  vrml2.c

src_c/track.c
- repaired &-errors in calls to searchquader(),
candsearch_in_pix() and sort(): 143... (26 locations)

src_c/ttools.c
- replaced fopen() and fopen() by fopen_rp()

src_c/vrml.c
- replaced fopen() and fopen() by fopen_rp()
- changed sprintf format on lines 138 411 561
- added some code to be sure line1 and line2 will be deallocated.
lines: 132, 280, 283, 284, 405, 448, 450, 453

src_c/vrml2.c
- replaced fopen() and fopen() by fopen_rp()
- changed sprintf format on lines 72 97 280
- added some code to be sure line1 and line2 will be deallocated.
lines: 210, 212, 213, 317, 319, 391, 586, 588 589