This file contains 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 | |
|--------------------------------------------------------------------- |
This file contains 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 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 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 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 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 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 <signal.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <sys/time.h> | |
#include <sys/types.h> | |
#include <stdlib.h> | |
int usr1_ile, usr2_ile; | |
int i, j; |
This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <pthread.h> | |
#include <sys/errno.h> | |
char * nazwa_pliku; | |
char znak; | |
int bloki, i, j, ilosc_znakow, ilosc_watkow, err, reszta; | |
pthread_t * th; |
This file contains 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
// | |
// Projekt nr : 6 | |
// gatunki plyt muzycznych | |
//Przykład 18 + A2.h +A2.cpp | |
#include <iostream> | |
#include <string> | |
#include <time.h> | |
#include <fstream> |
This file contains 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> | |
#include <time.h> | |
using namespace std; | |
struct element | |
{ | |
int liczba; | |
char znak; | |
}; |
OlderNewer