Hi, I am using Microsoft Visual C++ 2010 Express and have made the code for life,the universe and everything question.I have sucessfully compiled and ran the code in my computer(win 7 64 bit).
However when uploading the soln to problem as shown below:
using namespace std;
#include<iostream>
#include<conio.h>
int main(){
int i = 0,arr[5];
cin>>arr[i];
while(arr[i]!=42){
++i;
cin>>arr[i];
}
for(int j = 0;j<=i-1;j++){
cout<<arr[j]<<"\n";
}
getch();
return(0);
}
I am getting error that conio is not found and thus no definition for getch().Plz help asap.I am new here and stuck!