in reply to Re: what does goto ""; mean?
in thread what does goto ""; mean?
Just to add on top of what Abigail-II mentioned (why it is worth to mention "\x00"?).
If Perl, "" and "\x00" are not the same: (for people from c background, this is different in Perl and c.)
But they are the same in c/c++:use strict; use warnings; if ("\x00" eq "") { print "they are the same"; } else { print "they are not the same"; }
#include <iostream.h> int main() { if (!strcmp("", "\x00")) { cout << "they are the same" << endl; } else { cout << "they are different" << endl; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: what does goto ""; mean?
by Aristotle (Chancellor) on Dec 11, 2003 at 17:23 UTC | |
by pg (Canon) on Dec 11, 2003 at 19:21 UTC | |
by mpeppler (Vicar) on Dec 12, 2003 at 01:52 UTC | |
by Abigail-II (Bishop) on Dec 12, 2003 at 01:59 UTC |