Built in variable?



 DEVELOP > c-Plus-Plus > Built in variable?

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "Q_Q"
Date: 16 Aug 2007 05:28:23 PM
Object: Built in variable?
Hi, I recently start to learn C++ and I have a question. Please help.
While looking at pieces of codes to familiarize myself with C++, I
encounter these strange variables. I don't even know if they are
variables. I've tried to search on the internet and look through
several books for them, but couldn't find them anywhere. They are
%%
$$
$1
$2
I know $1 and $2 are kind of familiar (perl). But %% and $$ are
really strange to me.
Thank you for your help
.

User: "=?ISO-8859-1?Q?Erik_Wikstr=F6m?="

Title: Re: Built in variable? 16 Aug 2007 05:56:24 PM
On 2007-08-17 00:28, Q_Q wrote:

Hi, I recently start to learn C++ and I have a question. Please help.
While looking at pieces of codes to familiarize myself with C++, I
encounter these strange variables. I don't even know if they are
variables. I've tried to search on the internet and look through
several books for them, but couldn't find them anywhere. They are
%%
$$
$1
$2

I know $1 and $2 are kind of familiar (perl). But %% and $$ are
really strange to me.

Where ever you found them it was not in C++, there are not built-in, or
predefined variables in C++.
--
Erik Wikström
.
User: "Daniel Kraft"

Title: Re: Built in variable? 17 Aug 2007 03:58:30 AM

Hi, I recently start to learn C++ and I have a question. Please help.
While looking at pieces of codes to familiarize myself with C++, I
encounter these strange variables. I don't even know if they are
variables. I've tried to search on the internet and look through
several books for them, but couldn't find them anywhere. They are
%%
$$
$1
$2

I know $1 and $2 are kind of familiar (perl). But %% and $$ are
really strange to me.


Where ever you found them it was not in C++, there are not built-in, or
predefined variables in C++.

Looks a bit like yacc/bison. But as Erik said, nothing to do with C++
Cheers,
Daniel
--
Got two Dear-Daniel-Instant Messages
by MSN, associate ICQ with stress--so
please use good, old E-MAIL!
.
User: "Q_Q"

Title: Re: Built in variable? 17 Aug 2007 08:28:56 PM
On Aug 17, 3:58 am, Daniel Kraft <d...@domob.eu> wrote:

Hi, I recently start to learn C++ and I have a question. Please help.
While looking at pieces of codes to familiarize myself with C++, I
encounter these strange variables. I don't even know if they are
variables. I've tried to search on the internet and look through
several books for them, but couldn't find them anywhere. They are
%%
$$
$1
$2


I know $1 and $2 are kind of familiar (perl). But %% and $$ are
really strange to me.


Where ever you found them it was not in C++, there are not built-in, or
predefined variables in C++.


Looks a bit like yacc/bison. But as Erik said, nothing to do with C++

Cheers,
Daniel

--
Got two Dear-Daniel-Instant Messages
by MSN, associate ICQ with stress--so
please use good, old E-MAIL!

Hi Daniel, I found it. It was part of Flex.
Thanks,
Binh Pham
.




  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER