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

puts error

hi,

 puts ("Line #1");


this outputs Line #1 but

 puts (""Line #1"");


gives error why it is so As i want to output "Line #1"

Parents
  • Hello dear freind.

    The solution is simple. in the C manwell it tells you about escape sequences. The one you want is;

    puts ("\"Line #1\"");
    

    Always yo're freind.

    Zeusti

    After seeing some very bad responses from the experts I have decided to return to provide my legenrery good advise. It will be limited. It will be precise. Yes. I am BACK.

Reply
  • Hello dear freind.

    The solution is simple. in the C manwell it tells you about escape sequences. The one you want is;

    puts ("\"Line #1\"");
    

    Always yo're freind.

    Zeusti

    After seeing some very bad responses from the experts I have decided to return to provide my legenrery good advise. It will be limited. It will be precise. Yes. I am BACK.

Children