Hi ,

I need help . I am using g++ in ubuntu 9.04 .

This is C++ code .

#include <stdio.h>
#include <conio.h>
void main()
{
  int a,b,c;
  cout << "enter the no.";
  cin >> a >> b;
  c= a+b;
  cout<<"sum"<<c;
  getch();
}

qwerz...@ubuntu:~$ g++ ./cpp1.cpp
./cpp1.cpp:2:19: error: conio.h: No such file or directory
./cpp1.cpp:3: error: ‘::main’ must return ‘int’
./cpp1.cpp: In function ‘int main()’:
./cpp1.cpp:6: error: ‘cout’ was not declared in this scope
./cpp1.cpp:7: error: ‘cin’ was not declared in this scope
./cpp1.cpp:10: error: ‘getch’ was not declared in this scope


" Above is the error


Please help ..

Thanks


On Wed, Aug 12, 2009 at 5:02 PM, Sreejith Anujan
<sreejith.anu...@gmail.com>wrote:

> On Sun, Aug 9, 2009 at 8:27 AM, Kamal Kishore <kamal...@gmail.com> wrote:
>
> > I have install xinetd, tftp-server and vsftpd for kickstart installation,
> > but I dont know what entry I will make in dhcpd.conf.
> >
>
> Perhaps
>
> http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/s1-netboot-dhcp.html
> ?
>
> Google is the best friend,
>
> ~Sreejith
>
> >
> > On Sun, Aug 9, 2009 at 7:19 AM, sankarshan <foss.mailingli...@gmail.com
> > >wrote:
> >
> > > On Sun, Aug 9, 2009 at 7:08 AM, Kamal Kishore<kamal...@gmail.com>
> wrote:
> > >
> > > >          I am not able to install through kickstart with PXE. Please
> > help
> > > > and tell what is the procedure in RHEL5?
> > >
> > > It is a bit difficult to figure out what you are doing and, what is
> > > not working, with the data you have provided, perhaps you'd like to
> > > read through <
> > >
> >
> http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/ch-kickstart2.html
> > > >
> > >
> > > --
> > > http://www.gutenberg.net - Fine literature digitally re-published
> > > http://www.plos.org - Public Library of Science
> > > http://www.creativecommons.org - Flexible copyright for creative work
> > >
> > >
> > > Sent from Pune, MH, India
> > >
> > > _______________________________________________
> > > ilugd mailinglist -- ilugd@lists.linux-delhi.org
> > > http://frodo.hserus.net/mailman/listinfo/ilugd
> > > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> > > http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
> > >
> > _______________________________________________
> > ilugd mailinglist -- ilugd@lists.linux-delhi.org
> > http://frodo.hserus.net/mailman/listinfo/ilugd
> > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> > http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
> >
> _______________________________________________
> ilugd mailinglist -- ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
>



-- 
-- 
Regards
Gaurang Agrawal
http://www.twitter.com/gooraang
http://www.sk-investment.com
http://www.gaurakans.com [ not working yet ]
http://www.mdu.li
_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to