Advertisement
weeez

változó

Mar 28th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.41 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <errno.h>
  3. #include <stdlib.h>
  4. #include <fcntl.h> // file írás, olvasás
  5. #include <sys/types.h> //file
  6. #include <string.h>
  7. #include <time.h>
  8. #include <stdbool.h>
  9. #include <sys/stat.h>//időponthoz
  10. #include <unistd.h> //időponthoz
  11.  
  12. int main(int argc, char** argv)
  13. {
  14.  
  15.     char* nev;
  16.  
  17.     printf("Adja meg a megfigyelo nevet!\n");
  18.     scanf("%s", nev);
  19.     printf("%s\n",nev);
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement