The following is a visual basic code
dim Msg1(5)
Msg1(1) = "xMessage1"
Msg1(2) = "xxMessage2"
Msg1(3) = "xxxMessage3"
Msg1(4) = "xxxxMessage4"
Msg1(5) = "xxxxxMessage5"
For cnt = 1 To 5
Debug.Print Msg1(cnt)
Next cnt
How can I do the same thing with ANSI C? (Instead of Debug.Print can be printf)