Advertisement
Jambix64

ArrysFuncaoInt

Aug 1st, 2016
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.69 KB | None | 0 0
  1. #include <iostream>
  2. #include <iomanip> //Bliclioteca de espaçao setw()
  3. #include <winsock2.h>
  4. #include <stdlib.h>
  5. #include <fstream>
  6. #include <windows.h>
  7. #include <ctime>
  8. #include <string>
  9. #define max 100 // Define e como se fosse uma variável mas ela não armazena valores;
  10.  
  11. using namespace std;
  12. void funcaoMatrix(const int[],const int ); // Argumentos de função com matriz não aceita ponteiros; ate onde testei;
  13. // E variavel ponteiro string nao aceita referencia instanciada como passando argumentos.
  14.  
  15. int main(){
  16. const int x = 5;
  17.    int num [x] = {};
  18.  
  19.    funcaoMatrix(num,x);
  20.    system("pause");
  21.    return 0;
  22.    
  23. }
  24. void funcaoMatrix(const int a[], const int tm){
  25.    
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement