This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. MySQL | |
| A) | |
| mysql -u root -p | |
| SHOW databases; | |
| CREATE nazwa_bazy; | |
| USE tab_name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| class E | |
| { | |
| int e; | |
| public: | |
| E():e(5){} | |
| void get(){ cout << e << endl; } | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| class B | |
| { | |
| int k; | |
| public: | |
| friend class A; | |
| B():k(10){} | |
| int getK(){ return k; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| struktura A *a, *a1, **a2, mA; | |
| */ | |
| #include <cstdlib> | |
| #include <iostream> | |
| using namespace std; | |
| class A{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<iostream> | |
| using namespace std; | |
| struct A{ | |
| int id; | |
| }; | |
| // Alkowanie pamieci | |
| void create(A **&el, int size) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| |--------------------------------------------------------------------- | |
| | 1. Szybkie zaznaczanie | |
| |--------------------------------------------------------------------- | |
| | Ctrl + D - zaznaczanie kolejnych elementow | |
| | ALt + F3 - zaznaczenie wszystkich elementow | |
| | PPm + Shift - zaznaczanie kolumnami | |
| |--------------------------------------------------------------------- | |
| | 2. Wyszukiwanie polecen i plikow | |
| |--------------------------------------------------------------------- |
NewerOlder