Waitrud Weber’s blog

things and reminders for memories

3d: WindowsAPI: Windows-make: How do we face memories problem: I's not log_msg_003:

Printed: log_msg_003

//
// 
//
//
//
void vPointLinear::PrintAnchors( ) {
	printf("vPointLinear::PrintAnchors( ) starts.\r\n");

	vCalculation* calc = new vCalculation();

	for ( int i=0; inumPS; i++) {
		printf("i: %d\r\n", i );
		printf("aPS[%d] |%p|\r\n", i, aPS[i]);
		if ( aPS[i] == nullptr ) {
			exit(-1);
		}
		log_msg_003("aPS[%d]->Anchor |%p|\r\n", i, aPS[i]->Anchor);
		if ( aPS[i]->Anchor == nullptr ) {
			exit(-1);
		}

		aPS[i]->Anchor->print ();
		if ( i > 0 ) {
			printf("dsitance from %d to %d: %lf\r\n", i -1, i, calc->length(  calc->subtract( (vPoint*)aPS[i -1]->Anchor, (vPoint*)aPS[i]->Anchor )) );
		}
	}

	printf("vPointLinear::PrintAnchors( ) ends.\r\n");
}

github.com

https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200418-001.zip

 (20200417: )
Compilation error: this is my fault: we know: https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200420-001.zip
(Clipboard01-20200417-002.png)