Facebook
From Chili, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 221
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. int czy_pusta_lista_plyt = 1;
  5. int czy_pusta_lista_userow = 1;
  6. struct pola_bitowe_do_switchow
  7. {
  8.     unsigned short n: 3;
  9.     unsigned short m : 4;
  10.  
  11. } liczba;
  12. int e;
  13. //struct uzytkownik
  14.  
  15.  
  16. //struct plyty
  17.  
  18. // funkcje
  19.  
  20.  
  21. int main()
  22. {
  23.     printf("* - MENU START FILMOWEJ BAZY DANYCH PLYT DVD - * \n");
  24.     printf ("       Wybierz interesujaca Cie opcje: \n");
  25.     printf ("               1 - Logowanie \n");
  26.     printf ("               2 - Rejestracja \n");
  27.     printf ("               3 - Zmiana hasla \n");
  28.     wybory:scanf("%d", e);
  29.    switch(e)
  30. {
  31.     case 1:; logowanie();
  32.     case 2:; rejestracja();
  33.     case 3:; zmiana_hasla();
  34.     default:; goto wybory;
  35. }
  36.  
  37.  
  38.  
  39.     return 0;
  40. }
  41.  
  42. #include <stdio.h>
  43. #include <stdlib.h>
  44. #include <string.h>
  45. int main()
  46. {
  47.     char* s;
  48.     typedef char *string;
  49.     string k;
  50.     char* ka;
  51.     scanf("%s", &ka);
  52.     strcpy(k, "%s",ka);
  53.     printf("%s",k);
  54.     return 0;
  55. }
  56.  
  57.  
  58. #include <stdio.h>
  59. #include <stdlib.h>
  60. #include <string.h>
  61.  
  62.  
  63.  
  64. int main()
  65. {
  66. char Czaro;
  67. tutaj:scanf("%s", &Czaro);
  68. goto tutaj;
  69.  
  70.  
  71.  
  72.     return 0;
  73. }
  74.