All pastes #412226 Raw Edit

Mine

public text v1 · immutable
#412226 ·published 2007-03-27 15:58 UTC
rendered paste body
strcpy(myID,ID);
	myNewID = newID;
	
	char destPath[220];
	char tempPath[6]="/Data";
	// Copy the asbolute path
	strcpy(destPath,absolutePath);
	// Point to the data folder
	strcat(destPath, tempPath);
	// Copy the full destination path <absolute path>\\Data\\<ID>
	strcat(destPath, myID);

	int DC_Age = pDrProfile->age;
	double DC_Experience = pDrProfile->drivingExp;
	int DC_Language = pDrProfile->language;
	int DC_Disabilities = pDrProfile->disabilities;
	int DC_PREFSETTING = pDrProfile->prefInterface;
	int DC_NOTMOD;
	int DC_INTENSITY;
	
	if (DC_Disabilities==1) //Visual disabilities
	{
		DC_NOTMOD=0; //Visual
		DC_INTENSITY=1; //Normal
	}
	else if (DC_Disabilities==2) //Hearing desiablities 
	{
		DC_NOTMOD=1;
		DC_INTENSITY=2; //Hard for hearing problems
	}
	else
		DC_INTENSITY=1;

	

	if(myNewID==true) {

	}