Calling C/C++ Functions (Cont.)


Function Return Values
The following list shows how Microsoft C++ functions return values:
Code Example—Finding all Factors
The following application prompts the user for an integer, finds all its factors, and displays each factor with leading padded spaces. The assembly language module will contain calls to two functions, for input-output, written in C++. The program will be launched from C++, main.cpp: