linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* c++ code - not getting compiled !!!!!!!!!
@ 2011-07-29  6:01 ratheesh kannoth
       [not found] ` <CALC0UT=JhhuEc2MNL9_PrhtgkF5eAqNgB8vtQ5ZK09DF8S8edA@mail.gmail.com>
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: ratheesh kannoth @ 2011-07-29  6:01 UTC (permalink / raw)
  To: linux-c-programming

#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;
}

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-29  7:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29  6:01 c++ code - not getting compiled !!!!!!!!! ratheesh kannoth
     [not found] ` <CALC0UT=JhhuEc2MNL9_PrhtgkF5eAqNgB8vtQ5ZK09DF8S8edA@mail.gmail.com>
2011-07-29  6:26   ` ratheesh kannoth
2011-07-29  6:44     ` Srinivasa T N
2011-07-29  6:26 ` Srinivasa T N
2011-07-29  6:40 ` Steve Graegert (スティーブ)
2011-07-29  6:55   ` ratheesh kannoth
2011-07-29  7:00     ` Srinivasa T N
2011-07-29  6:51 ` vipul kumar samar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).