« first day (1894 days earlier)      last day (534 days later) » 

12:01 AM
Hey guys
C++ kitten here
Having a slight problem, using the VC++ compiler. Trying to return an array from a function, but I'm getting an unresolved external error on build.

char *letterGrades(int grades[], int size)  {
		char *jGrades = new char[ size ];
		for( int i = 0; i < size; i++ )  {
			jGrades[ i ] = getGrade( grades[ i ] );
		};
		return jGrades;
	};
constructor seems okay
char* letGrades = Lab::letterGrades( nScores, iScores );
 
5 messages moved from Lounge<C++>
 
 
8 hours later…
8:15 AM
while dx > 0 % loop forever
% update x position
posx=mod(posx+dx,sz);
pos(1)=posx;
% set position on window
set(r,'Position',pos);
drawnow;
pause(0.018);
end
 
1 message moved from Lounge<C++>
 

« first day (1894 days earlier)      last day (534 days later) »