
-----------------------------------
lindsay
Tue Oct 09, 2007 10:15 am

cannot execute
-----------------------------------
I'm a beginner. I cannot execute my program which is as follows:

# include 
int main(void)
{
    printf("beni/nDilek/nProgramlad&#305;")
    return 0;
}

what's the matter? what should I do?

-----------------------------------
Mazer
Tue Oct 09, 2007 10:54 am

RE:cannot execute
-----------------------------------
It helps to tell us what kind of compile/runtime errors you get.

Try taking out the space between "#" and "include".
On a side note, the the escape character is the backslash, so that should be "\n" in your string, not "/n".

-----------------------------------
lindsay
Tue Oct 09, 2007 11:32 am

Re: cannot execute
-----------------------------------
Thanks a lot   :D  I've try  :lol:

-----------------------------------
wtd
Tue Oct 09, 2007 2:15 pm

RE:cannot execute
-----------------------------------
Also, you may wish to use code tags in your posts.

-----------------------------------
OneOffDriveByPoster
Thu Oct 11, 2007 5:38 pm

Re: cannot execute
-----------------------------------
The space between # and include is okay IIRC.
There is a missing semicolon after the printf() call.
