Void variables
- From: Raj Pashwar <raj121190@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 21 May 2012 21:53:26 +0000 (UTC)
Hello
I would like to define a variable of void type. However I get compiler
errors:
void x; // error: variable or field ‘x’ declared void
Infact there is a typedef and I want to allow the defined type to be,
void. However, the error is the same.
Thankyou
.
- Follow-Ups:
- Re: Void variables
- From: James Kuyper
- Re: Void variables
- From: Joel C. Salomon
- Re: Void variables
- From: David T . Ashley
- Re: Void variables
- From: Vallabha
- Re: Void variables
- From: nick_keighley_nospam
- Re: Void variables
- From: James Kuyper
- Re: Void variables
- From: Joe Pfeiffer
- Re: Void variables
- From: Ian Collins
- Re: Void variables
- From: Ike Naar
- Re: Void variables
- From: John Gordon
- Re: Void variables
- Prev by Date: Re: condition true or false? -> (-1 < sizeof("test"))
- Next by Date: Re: Void variables
- Previous by thread: Finding an index from an address
- Next by thread: Re: Void variables
- Index(es):
Relevant Pages
|