Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.44 KB | None | 0 0
  1. //cl.h
  2. #ifndef _CL_H
  3. #define _CL_H 1
  4.  
  5. typedef struct
  6. {
  7.     int roomNumber;
  8.     int time;
  9.     int size;
  10. }call_list;
  11.  
  12. #endif
  13.  
  14. //LinkedList.c
  15.  
  16. #include <stdio.h>
  17. #include <unistd.h>
  18. #include <stdlib.h>
  19. #include <cl.h>
  20. int main()
  21. {
  22.    
  23. }
  24.  
  25. /*errors I'm getting
  26. gcc cl.h -o cl
  27.  
  28. gcc cl.o LinkedList.c -o LinkedList
  29. gcc: cl.o: No such file or directory
  30. LinkedList.c:4: fatal error: cl.h: No such file or directory
  31. compilation terminated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement