- Subject: c++ code - not getting compiled !!!!!!!!!
- From: ratheesh kannoth <ratheesh.ksz@xxxxxxxxx>
- Date: Fri, 29 Jul 2011 11:31:54 +0530
- List-id: <linux-c-programming.vger.kernel.org>
#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;
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Assembler]
[Git]
[Kernel List]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[Yosemite Campsites]
[Yosemite News]
[GCC Help]