|
-
January 6th, 2003, 06:24 PM
#19
Originally posted here by invader
WTF, ive never used Bloodshed before, use turbo, simple and best 
Im in enough confusion as it is.
Originally posted here by cgkanchi
The function getch() and the Alt+F5 combo work only with Turbo/Borland C++. So you have to use system("pause" ; instead.
Cheers,
cgkanchi
System pause didn't work either, and I get the message Implicit declaration of function int getch (...) But thanks.
Originally posted here by black_death
#include<stdlib.h>
#include<conio.h>
#include<iostream.h>
void main(){
cout<<"Hello world";
cout<<"\npress any key to quit....";
while(getch()=='\0'){
}
_exit(0);
}
I've tried the one you PM, it compiled successfully but It didn't run.
Anymore help/info that you want to add, feel free to do so.
Thank you for all the help .
Light thinks it travels faster than anything but it is wrong. No matter how fast light travels it finds the darkness has always got there first, and is waiting for it. -Reaper Man
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|