- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
4 Posted Topics
Hi there, Could some1 tell me whats wrong with this code...I know i shudnt b using an int variable but whats the right one for a string... [CODE] #include <iostream.h> void main() { int a,b; cout <<"Enter the first name"; cin >>a; cout <<"Enter the 2nd no"; cin >>b; ((a=="Tom") … | |
Re: Actually the <conio,h> works....atleast if u use "void main()" N you shud add the "clrscr();" after the opening braces....(but not towards the end...as ur result will get wiped out before being 'outputted') | |
Re: Actually the <conio,h> works....atleast if u use "void main()" N you shud add the "clrscr();" after the opening braces....(but not towards the end...as ur result will get wiped out before being 'outputted') | |
Re: u learnt how to do ALL this from the net??? |
The End.