Talk About Network

Google





Programming > C - C++ Learning > Re: switch argu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 15 Topic 4231 of 4400
Post > Topic >>

Re: switch arguments

by Richard Heathfield <rjh@[EMAIL PROTECTED] > Aug 3, 2008 at 12:02 AM

_kamsta said:

> can anyone tell me whats wrong in it:
> 
> #include <stdio.h>
> int err_arg()
> {
>     printf("function axept only two kind of argumens
> \n");

Neither C nor C++ allows string literals to be split over two lines in
that 
way. You should use either line splic\
ing, or "adjacent lite"
        "rals, like this", if you wish to split a literal over two lines.

-- 
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www.
+rjh@[EMAIL PROTECTED]
 users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
 




 15 Posts in Topic:
switch arguments
_kamsta <kamsta.exe@[E  2008-08-02 16:46:45 
Re: switch arguments
Richard Heathfield <rj  2008-08-03 00:02:40 
Re: switch arguments
"Daniel T." <  2008-08-02 20:45:13 
Re: switch arguments
Richard Heathfield <rj  2008-08-03 05:44:39 
Re: switch arguments
Barry Schwarz <schwarz  2008-08-02 22:56:45 
Re: switch arguments
Richard Heathfield <rj  2008-08-03 06:07:21 
Re: switch arguments
comeau@[EMAIL PROTECTED]   2008-08-04 18:11:56 
Re: switch arguments
Francis Glassborow <fr  2008-08-04 14:56:58 
Re: switch arguments
Barry Schwarz <schwarz  2008-08-04 12:48:18 
Re: switch arguments
"Daniel T." <  2008-08-04 19:30:58 
Re: switch arguments
_kamsta <kamsta.exe@[E  2008-08-02 18:17:47 
Re: switch arguments
"Daniel T." <  2008-08-02 21:48:25 
Re: switch arguments
_kamsta <kamsta.exe@[E  2008-08-02 19:01:55 
Re: switch arguments
Barry Schwarz <schwarz  2008-08-02 22:16:43 
Re: switch arguments
_kamsta <kamsta.exe@[E  2008-08-03 16:22:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 12:58:33 PST 2009.