No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Student
- Interests
- Computers ( Programming & about everything about computers ) , Music ( creation , Electronic…
- PC Specs
- AMD Athlon XP 2200+ , 256 DDRAM , 80 GB Western Digital , Geforce 4 MX 440 , Windows XP + Slackware…
3 Posted Topics
Re: Try #include <iostream.h> void main() { ...... /* your program here */ cin.get(); } It should work . | |
As this is my first post on this forum I want to say "Hello!" to everybody and I hope that we'll help each other as much as we can and we'll be very good friends. :) So, this is my problem ( a rather simple one but I don't know … | |
Re: 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; for(i=1;i<=n;i++) { cout<<"a["<<i<<"]= "; cin>>a[i]; } /* give the elements of the first vector */ for(i=1;i<=n;i++) { cout<<"b["<<i<<"]= "; cin>>b[i]; } /* give the elements … |
The End.