Re: c++ code - not getting compiled !!!!!!!!!
vipul kumar samar <[email protected]> Fri, 29 Jul 2011 12:21:54 +0530
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <[email protected]> |
On 07/29/2011 11:31 AM, ratheesh kannoth wrote:
> #include<iostream>
>
> using namespace std;
>
> int main()
> {
> int i;
>
> cout<< "Enter value of i "<< endl;
> cin>> i;
>
> if (i< 5)
> goto Sri;
>
> int j = 6;
replace int j = 6;
with
int j;
j = 6;
C++ standard: not able to bypasses declaration with initialization.
Regards
Vipul Samar
> cout<< "j = "<< j<< endl;
>
> cout<< "Outside Sri"<< endl;
> return 0;
>
> Sri:
> cout<< "Inside Sri"<< endl;
> return 0;
> }
> --
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
I want another RE-WRITE on my CEASAR SALAD!!