When ever i am entering any code it always succeed but i cannot see out put on screen it just flick for few seconds and then come back to complier.
for example small prog i am writing
#include <iostream.h>
main()
{
cout<<"my name ";
return 0:
}
it should give out put on screen my name but iam not getting can some one help how todo
Nabeelahmad
0
Newbie Poster
Recommended Answers
Jump to PostTry to modify ur code like below
#include <iostream.h> main() { cout<<"my name "; cin.get(); return 0: }
All 2 Replies
Reply to this topic
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.