Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #define STRING "Multiple Hello World!"
- #define N 4
- #define DEBUG 1
- using namespace std;
- void message(int n) {
- for (int i=0; i<n; i++)
- {
- cout <<STRING<<endl;
- #ifdef DEBUG
- cout << "Check: current value of i is " << i << endl;
- #endif
- }
- }
- int main()
- {
- message(N);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement