#include <iostream>
#include <conio>
void main ()
{
cout<<"rose mary";
getch();
}
rose_2
0
Junior Poster in Training
Recommended Answers
Jump to PostGood for you. Well done.
Here are some problems with it:
Line 2 - conio is a non-standard header and using it comes with risks. Modern typical PC systems do NOT come with anything named conio, so by using it you're already restricting yourself. Don't use it.
Line 3 - …
Jump to Postso what should i use instead of <conio> ??
I think nothing.Because in your code you use
conio
for justgetch()
function.I never realized the need of usingconio
and i think will never realize because i use standardize c++.And there is no need to …
Jump to PostWhat compiler are you using? Is it from before about 1998? C++ has moved on in the last twenty years.
All 9 Replies
Moschops
683
Practically a Master Poster
Featured Poster
rose_2
0
Junior Poster in Training
Learner010
99
Posting Whiz in Training
ddanbe
commented:
Nice!
+15
rose_2
0
Junior Poster in Training
Moschops
683
Practically a Master Poster
Featured Poster
rose_2
0
Junior Poster in Training
tinstaafl
1,176
Posting Maven
rose_2
0
Junior Poster in Training
tinstaafl
1,176
Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.