Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(int argc, char *argv[])
- {
- if (argc != 5)
- {
- printf("Uso correto: %s v N dt arquivo \n",argv[0]);
- exit(1);
- }
- float velocidade = (float) atof(argv[1]);
- int N = (int) atoi(argv[2]);
- float dt = (float) atof(argv[3]);
- // strcpy(filename,argv[4]);
- printf("Velocidade = %f \n",velocidade);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement