Hello people
I have jusrt recently started to study C/C++ and I am using Borland 5.02. I am having a problem examining my outputs. when I run a successfully compiled program the Dos window that I should read my print from flashes on then flashes off:'( and I do not get the time to examine the results. Can any body tell me how to adjust the settings in order to read it.
Thanks
Fazzer2
fazzer2
0
Newbie Poster
Recommended Answers
Jump to PostPut a
std::cin.get()
(C++) or :getchar()
(C) right before thereturn 0;
in main().int main(){ // do stuff std::cin.get(); return 0; }
Jump to PostSo exactly why didn't you try my code?
All 5 Replies
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
fazzer2
commented:
didn't understand it at first, but I put that down to being a noob. I understand it now
+0
fazzer2
0
Newbie Poster
fazzer2
0
Newbie Poster
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
fazzer2
0
Newbie Poster
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.