A very stupid newbie question
Hello all. I am brand new to C/C++, in fact I am taking a course on it as we speak.
I am hung up on our very first program and I need to make sure I'm not doing something stupid.
Basically, I can't get /n or /r to carriage return to a new line. Here is my code:
Code:
#include<stdio.h>
main()
{
printf("Testing.../n..1/n...2/n....3/n");
}
[code tags added by ygfperson]
Pretty simple huh....
Now here is the output I receive:
Testing.../n..1/n...2/n....3/n
What am I doing wrong? I have tried compiling this in Vis C++ and in Devcpp 4.... I realize I'm new to this but it's gonna be a long class if I can't get past this!
TIA for your help!