Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #5224

Re: // at beginning of line

From Ben Pfaff <blp@cs.stanford.edu>
Newsgroups comp.lang.c
Subject Re: // at beginning of line
Date 2011-06-01 12:48 -0700
Message-ID <87d3ixtjt6.fsf@blp.benpfaff.org> (permalink)
References <is64rm$qp7$1@speranza.aioe.org>

Show all headers | View raw


Federico <no.adress@nospam.com> writes:

> //fscanf(Infile,"%5s %5s",string3,string4);
>
> ^^--------- I don't know the meaning of this double slash.

In C99, it introduces a comment that runs until the end of the
line.
-- 
Ben Pfaff 
http://benpfaff.org

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

// at beginning of line Federico <no.adress@nospam.com> - 2011-06-01 19:44 +0000
  Re: // at beginning of line Ben Pfaff <blp@cs.stanford.edu> - 2011-06-01 12:48 -0700
  Re: // at beginning of line Angel <angel+news@spamcop.net> - 2011-06-01 19:55 +0000
    Re: // at beginning of line Federico <no.adress@nospam.com> - 2011-06-01 20:46 +0000
      Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-01 13:54 -0700
        Re: // at beginning of line Federico <no.adress@nospam.com> - 2011-06-02 19:34 +0000
          Re: // at beginning of line Ben Pfaff <blp@cs.stanford.edu> - 2011-06-02 12:38 -0700
          Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-02 13:13 -0700
      Re: // at beginning of line Angel <angel+news@spamcop.net> - 2011-06-01 20:59 +0000
  Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-01 12:56 -0700
    Re: // at beginning of line Malcolm McLean <malcolm.mclean5@btinternet.com> - 2011-06-01 23:06 -0700
      Re: // at beginning of line Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-02 07:15 +0000
        Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-02 08:40 +0100
          Re: // at beginning of line James Kuyper <jameskuyper@verizon.net> - 2011-06-02 06:15 -0400
            Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-02 11:35 +0100
              Re: // at beginning of line James Kuyper <jameskuyper@verizon.net> - 2011-06-02 07:58 -0400
              Re: // at beginning of line Lorenzo Villari <vlllnz@tiscali.it> - 2011-06-02 15:18 +0200
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-02 14:59 +0100
              Re: // at beginning of line Ian Collins <ian-news@hotmail.com> - 2011-06-03 09:09 +1200
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-03 09:40 +0100
                Re: // at beginning of line Ian Collins <ian-news@hotmail.com> - 2011-06-03 20:51 +1200
                Re: // at beginning of line James Kuyper <jameskuyper@verizon.net> - 2011-06-03 06:57 -0400
                Re: // at beginning of line Nobody <nobody@nowhere.com> - 2011-06-03 12:54 +0100
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-03 13:27 +0100
                Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-03 09:42 -0700
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-05 17:27 +0100
                Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-05 12:35 -0700
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-06 09:27 +0100
                Re: // at beginning of line Keith Thompson <kst-u@mib.org> - 2011-06-06 09:29 -0700
                Re: // at beginning of line Roberto Waltman <usenet@rwaltman.com> - 2011-06-06 14:37 -0400
                Re: // at beginning of line Nobody <nobody@nowhere.com> - 2011-06-03 23:16 +0100
                Re: // at beginning of line Chris H <chris@phaedsys.org> - 2011-06-05 17:28 +0100
                Re: // at beginning of line Nobody <nobody@nowhere.com> - 2011-06-06 22:39 +0100
  Re: // at beginning of line Shao Miller <sha0.miller@gmail.com> - 2011-06-01 23:05 -0500
  Re: // at beginning of line Datesfat Chicks <datesfat.chicks@gmail.com> - 2011-06-02 13:34 -0400

csiph-web