Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. void input (long *f,long Anzahl);
  6.  
  7. int main()
  8. {
  9. long Anzahl=20;
  10. long feld[Anzahl];
  11.  
  12.  
  13.  
  14. input (feld,Anzahl);
  15.  
  16. return 0;
  17. }
  18.  
  19. void input (long *f, long Anzahl)
  20. {
  21. for(int i=0;i<Anzahl;i++)
  22. {
  23. std::cin >> f[i];
  24. }
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement