n72.75
Seize the means of computation
Orbiter Contributor
Addon Developer
Tutorial Publisher
Donator
- Joined
- Mar 21, 2008
- Messages
- 2,872
- Reaction score
- 1,714
- Points
- 128
- Location
- Saco, ME
- Website
- mwhume.space
- Preferred Pronouns
- he/him
I am sorry if this is a bit much to look at, but can someone help me with some codeing problems that i am having.
This is what I've got:
And this is what it tells me:
I just need to get my C++ training weals off ,then I will be alright
This is what I've got:
Code:
#define STRICT
#define ORBITER_MODULE
#include "Orbitersdk.h"
class salyut6: public VESSEL2{
public:
salyut6 (OBJHANDLE hVessel, int flightmodel)
:VESSEL2 (hVessel, flightmodel) {}
void clbkSetClassCaps (FILEHANDLE cfg);
};
void salyut6::clbkSetClassCaps (FILEHANDLE cfg)
{
SetSize (18);
SetEmptyMass (18624);
SetCW (0.09,1.0,1.8,1.8);
SetWingAspect (0.5);
SetWingEffectiveness (0);
SetCrossSections (_V(10.5,15.0,5.8));
SetRotDrag (_V(0.6,0.6,0.35));
SetPMI (_V(131.19,156.2,31.43));
SetTrimScale (0.05);
SetCameraOffset (_V(0,0,0));
SetDockParams (_V(0,0,-20.5), _V(0,0,-1), _V(0,0,-1));
SetTouchdownPoints (_V(0,0,0),_V(0,0,0),_V(0,0,0));
const double FUELMASS = 1200;
const double ISP = 6000;
const double MAXMAINTH = 3000;
const double MAXRCSTH = 4000;
PROPELLANT_HANDLE tank;
tank = CreatePropellantResource (FUELMASS);
THRUSTER_HANDLE th_main[2],th_rcs[40],th_group[8];
th_main = CreateThruster (_V(0,0,-20.5), _V(0,0,1), MAXMAINTH, tank,ISP);
CreateThrusterGroup (&th_main,1,THGROUP_MAIN);
AddExhaust (th_main,8,1,_V(-1.34,0.9,-6.4),_V(0,0,-1));
AddExhaust (th_main,8,1,_V(1.34,-0.9,-6.4),_V(0,0,-1));
th_rcs[0] = CreateThruster (_V(0, -2.1, -5.9),(_V(0, -1, 0),MAXRCSTH,tank,ISP);
th_rcs[1] = CreateThruster (_V(0, -2.1, -6.02),(_V(0, -1, 0),MAXRCSTH,tank,ISP);
th_rcs[2] = CreateThruster (_V(0.1, -2.1, -5.9),(_V(0, -1, 0),MAXRCSTH,tank,ISP);
th_rcs[3] = CreateThruster (_V(0.1, -2.1, -6.02),(_V(0, -1, 0),MAXRCSTH,tank,ISP);
th_rcs[4] = CreateThruster (_V(-0.1, -2.1, -5.9),(_V(0, -1, 0),MAXRCSTH,tank,ISP);
th_rcs[5] = CreateThruster (_V(-0.1, -2.1, -6.02),(_V(0, -1, 0),MAXRCSTH,tank,ISP);
th_rcs[6] = CreateThruster (_V(0, 2.1, -5.9),(_V(0, 1, 0),MAXRCSTH,tank,ISP);
th_rcs[7] = CreateThruster (_V(0, 2.1, -6.02),(_V(0, 1, 0),MAXRCSTH,tank,ISP);
th_rcs[8] = CreateThruster (_V(-0.1, 2.1, -5.9),(_V(0, 1, 0),MAXRCSTH,tank,ISP);
th_rcs[9] = CreateThruster (_V(-0.1, 2.1, -6.02),(_V(0, 1, 0),MAXRCSTH,tank,ISP);
th_rcs[10] = CreateThruster (_V(0.1, 2.1, -5.9),(_V(0, 1, 0),MAXRCSTH,tank,ISP);
th_rcs[11] = CreateThruster (_V(0.1, 2.1, -6.02),(_V(0, 1, 0),MAXRCSTH,tank,ISP);
th_rcs[12] = CreateThruster (_V(-2.1, 0, -5.9),(_V(-1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[13] = CreateThruster (_V(-2.1, 0, -6.02),(_V(-1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[14] = CreateThruster (_V(-2.1, 0.1, -5.9),(_V(-1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[15] = CreateThruster (_V(-2.1, 0.1, -6.02),(_V(-1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[16] = CreateThruster (_V(-2.1, -0.1, -5.9),(_V(-1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[17] = CreateThruster (_V(-2.1, -0.1, -6.02),(_V(-1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[18] = CreateThruster (_V(2.1, 0, -5.9),(_V(1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[19] = CreateThruster (_V(2.1, 0, -6.02),(_V(1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[20] = CreateThruster (_V(2.1, 0.1, -5.9),(_V(1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[21] = CreateThruster (_V(2.1, 0.1, -6.02),(_V(1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[22] = CreateThruster (_V(2.1, -0.1, -5.9),(_V(1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[23] = CreateThruster (_V(2.1, -0.1, -6.02),(_V(1, 0, 0),MAXRCSTH,tank,ISP);
th_rcs[24] = CreateThruster (_V(-0.13, 2.21, -5.62),(_V(-0.5, 0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[25] = CreateThruster (_V(-0.13, 2.21, -5.73),(_V(-0.5, 0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[26] = CreateThruster (_V(-0.22, 2.16, -5.62),(_V(-0.5, 0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[27] = CreateThruster (_V(-0.22, 2.16, -5.73),(_V(-0.5, 0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[28] = CreateThruster (_V(0.13, 2.21, -5.62),(_V(0.5, 0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[29] = CreateThruster (_V(0.13, 2.21, -5.73),(_V(0.5, 0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[30] = CreateThruster (_V(0.22, 2.16, -5.62),(_V(0.5, 0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[31] = CreateThruster (_V(0.22, 2.16, -5.73),(_V(0.5, 0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[32] = CreateThruster (_V(-0.13, -2.21, -5.62),(_V(-0.5, -0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[33] = CreateThruster (_V(-0.13, -2.21, -5.73),(_V(-0.5, -0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[34] = CreateThruster (_V(-0.22, -2.16, -5.62),(_V(-0.5, -0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[35] = CreateThruster (_V(-0.22, -2.16, -5.73),(_V(-0.5, -0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[36] = CreateThruster (_V(0.13, -2.21, -5.62),(_V(0.5, -0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[37] = CreateThruster (_V(0.13, -2.21, -5.73),(_V(0.5, -0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[38] = CreateThruster (_V(0.22, -2.16, -5.62),(_V(0.5, -0.866, 0),MAXRCSTH,tank,ISP);
th_rcs[39] = CreateThruster (_V(0.22, -2.16, -5.73),(_V(0.5, -0.866, 0),MAXRCSTH,tank,ISP);
th_group[0] = th_rcs[0];
th_group[1] = th_rcs[1];
th_group[2] = th_rcs[2];
th_group[3] = th_rcs[3];
th_group[4] = th_rcs[4];
th_group[5] = th_rcs[5];
CreateThrusterGroup (th_group,6,THGROUP_ATT_PITCHDOWN);
th_group[0] = th_rcs[6];
th_group[1] = th_rcs[7];
th_group[2] = th_rcs[8];
th_group[3] = th_rcs[9];
th_group[4] = th_rcs[10];
th_group[5] = th_rcs[11];
CreateThrusterGroup (th_group,6,THGROUP_ATT_PITCHUP);
th_group[0] = th_rcs[12];
th_group[1] = th_rcs[13];
th_group[2] = th_rcs[14];
th_group[3] = th_rcs[15];
th_group[4] = th_rcs[16];
th_group[5] = th_rcs[17];
CreateThrusterGroup (th_group,6,THGROUP_ATT_YAWLEFT);
th_group[0] = th_rcs[18];
th_group[1] = th_rcs[19];
th_group[2] = th_rcs[20];
th_group[3] = th_rcs[21];
th_group[4] = th_rcs[22];
th_group[5] = th_rcs[23];
CreateThrusterGroup (th_group,6,THGROUP_ATT_YAWRIGHT);
th_group[0] = th_rcs[24];
th_group[1] = th_rcs[25];
th_group[2] = th_rcs[26];
th_group[3] = th_rcs[27];
th_group[4] = th_rcs[28];
th_group[5] = th_rcs[29];
th_group[6] = th_rcs[30];
th_group[7] = th_rcs[31];
CreateThrusterGroup (th_group,8,8THGROUP_ATT_BANKLEFT);
th_group[0] = th_rcs[32];
th_group[1] = th_rcs[33];
th_group[2] = th_rcs[34];
th_group[3] = th_rcs[35];
th_group[4] = th_rcs[36];
th_group[5] = th_rcs[37];
th_group[6] = th_rcs[38];
th_group[7] = th_rcs[39];
CreateThrusterGroup (th_group,8,8THGROUP_ATT_BANKRIGHT);
AddMesh("salyut6");
}
DLLCLBK VESSEL *ovcInit (OBJHANDEL hvessel, int flightmodel)
{
return new salyut6 (hvessel, flightmodel);
}
DLLCLBL void ovcExit (VESSEL *vessel)
{
if (vessel) deleat (salyut6*) vessel;
}
And this is what it tells me:
Code:
1>------ Build started: Project: Salyut6, Configuration: Debug Win32 ------
1>Compiling...
1>Main.cpp
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(33) : error C2440: '=' : cannot convert from 'THRUSTER_HANDLE' to 'THRUSTER_HANDLE [2]'
1> There are no conversions to array types, although there are conversions to references or pointers to arrays
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(34) : error C2664: 'VESSEL::CreateThrusterGroup' : cannot convert parameter 1 from 'THRUSTER_HANDLE (*)[2]' to 'THRUSTER_HANDLE *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(37) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(37) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(38) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(38) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(39) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(39) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(40) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(40) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(41) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(41) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(42) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(42) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(43) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(43) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(44) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(44) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(45) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(45) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(46) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(46) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(47) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(47) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(48) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(48) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(49) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(49) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(50) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(50) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(51) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(51) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(52) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(52) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(53) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(53) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(54) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(54) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(55) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(55) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(56) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(56) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(57) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(57) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(58) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(58) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(59) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(59) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(60) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(60) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(61) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(61) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(62) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(62) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(63) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(63) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(64) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(64) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(65) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(65) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(66) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(66) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(67) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(67) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(68) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(68) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(69) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(69) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(70) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(70) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(71) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(71) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(72) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(72) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(73) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(73) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(74) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(74) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(75) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(75) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(76) : error C2143: syntax error : missing ')' before ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(76) : error C2660: 'VESSEL::CreateThruster' : function does not take 2 arguments
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(113) : error C2059: syntax error : 'bad suffix on number'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(113) : error C2146: syntax error : missing ')' before identifier 'THGROUP_ATT_BANKLEFT'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(113) : error C2664: 'VESSEL::CreateThrusterGroup' : cannot convert parameter 3 from 'int' to 'THGROUP_TYPE'
1> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(113) : error C2059: syntax error : ')'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(122) : error C2059: syntax error : 'bad suffix on number'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(122) : error C2146: syntax error : missing ')' before identifier 'THGROUP_ATT_BANKRIGHT'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(122) : error C2664: 'VESSEL::CreateThrusterGroup' : cannot convert parameter 3 from 'int' to 'THGROUP_TYPE'
1> Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(122) : error C2059: syntax error : ')'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(126) : error C2065: 'OBJHANDEL' : undeclared identifier
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(126) : error C2146: syntax error : missing ')' before identifier 'hvessel'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(126) : error C2059: syntax error : ')'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(127) : error C2143: syntax error : missing ';' before '{'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(127) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(131) : error C2144: syntax error : 'void' should be preceded by ';'
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(131) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\matthew\documents\visual studio 2008\projects\salyut6\salyut6\main.cpp(133) : error C2059: syntax error : ')'
1>Build log was saved at "file://c:\Users\matthew\Documents\Visual Studio 2008\Projects\Salyut6\Salyut6\Debug\BuildLog.htm"
1>Salyut6 - 98 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I just need to get my C++ training weals off ,then I will be alright