This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

authored code not working

hey.

we put the code on before in the wrong place.

we have uploaded the code to rapidshare for you to see.

http://www.rapidshare.com

the program is tang.c

our problem is the code does not compile properly.

what is wrong?

Parents
  • Just a footnote - if you use // to create one-line comments - why do you use */ to end the comments?

    A // comment ends automatically at the end of the line. That's what makes it a one-line comment.

    Only a comment started with /* needs a */ as termination. Which is the reason why a /* ... */ comment can span multiple lines, or can be followed by more code on the same line.

Reply
  • Just a footnote - if you use // to create one-line comments - why do you use */ to end the comments?

    A // comment ends automatically at the end of the line. That's what makes it a one-line comment.

    Only a comment started with /* needs a */ as termination. Which is the reason why a /* ... */ comment can span multiple lines, or can be followed by more code on the same line.

Children
No data