I need help understanding how I can send in integers at command prompt, at which that array of integers will then be sent to functions to work with.
I know I need to include the stdarg.h library but I am unsure of how I can send in the integers becauseexpects the list variable and the last variable before the new list, but I dont have any previous variable?Code:va_start
I just want to do this, 1020 will then be sent to a function etc.Code:test.exe 1020
Appreciate any claification, thanks