Forum: C++ Oct 5th, 2004 |
| Replies: 9 Views: 19,455 I apologize. That one I didn't test. Here is the correct version , tested :cheesy: :
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{ int a[50],b[50],i,j,n;... |
Forum: C++ Oct 5th, 2004 |
| Replies: 27 Views: 132,066 Try
#include <iostream.h>
void main()
{ ...... /* your program here */
cin.get();
}
It should work . |
Forum: C++ Oct 5th, 2004 |
| Replies: 9 Views: 19,455 It'll be something like this:
#include <iostream.h>
#include <conio.h>
void main()
{ clrscr(); int a[50],b[50],i,n,g;
cout<<"Give the number of elements of both vectors: "; cin>>n;... |