#include <iostream.h>
You can now print something to the console via
cout << output;
This works also for input:cin >> input;
If you want to print a complete array to the console use a for loop:The endl command starts a new line.
for (int i = 0; i < size; i++) { cout << a[i] << endl; }
No comments:
Post a Comment