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 <windows.h> | |
| #include <winhttp.h> | |
| #include <iostream> | |
| #include <string> | |
| #include <vector> | |
| #include <iomanip> | |
| #pragma comment(lib, "winhttp.lib") | |
| // Zodiac signs list |
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> | |
| #include <cstdlib> | |
| #include <ctime> | |
| #include <thread> | |
| #include <chrono> | |
| void printWithDelay(const std::string& message, int ms = 500) { | |
| std::cout << message << std::endl; | |
| std::this_thread::sleep_for(std::chrono::milliseconds(ms)); | |
| } |
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> | |
| #include <conio.h> // для _getch() | |
| #include <curl/curl.h> | |
| #include <fstream> | |
| #include <filesystem> | |
| #include <string> | |
| #include <ctime> | |
| // Функція для запису даних у файл | |
| size_t write_data(void* ptr, size_t size, size_t nmemb, void* stream) { |
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> | |
| #include <memory> | |
| #include <string> | |
| // ===== Реализация (Implementor) ===== | |
| class Device { | |
| public: | |
| virtual ~Device() = default; | |
| virtual std::string getInfo() const = 0; | |
| }; |
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
| #define WIN32_LEAN_AND_MEAN | |
| #include <ws2tcpip.h> | |
| #include <windows.h> | |
| #include <iostream> | |
| #include <string> | |
| #include <queue> | |
| #include <map> | |
| #include <chrono> | |
| #include <thread> |
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
| #define _WINSOCK_DEPRECATED_NO_WARNINGS | |
| #pragma execution_character_set("utf-8") | |
| #include <ws2tcpip.h> | |
| #include <iostream> | |
| #include <string> | |
| #include <windows.h> | |
| #include <chrono> | |
| #include <vector> | |
| using namespace std; |
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> | |
| #include <string> | |
| using namespace std; | |
| // ---------------- Product ---------------- | |
| class Car | |
| { | |
| private: | |
| string name; | |
| string body; |
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
| #define _WINSOCK_DEPRECATED_NO_WARNINGS | |
| #pragma execution_character_set("utf-8") | |
| #include <ws2tcpip.h> | |
| #include <iostream> | |
| #include <string> | |
| #include <windows.h> | |
| #include <chrono> | |
| #include <vector> | |
| using namespace std; |
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
| #define _WINSOCK_DEPRECATED_NO_WARNINGS | |
| #pragma execution_character_set("utf-8") | |
| #include <ws2tcpip.h> | |
| #include <iostream> | |
| #include <string> | |
| #include <windows.h> | |
| #include <chrono> | |
| #include <thread> | |
| using namespace std; |
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
| #define _WINSOCK_DEPRECATED_NO_WARNINGS | |
| #pragma execution_character_set("utf-8") | |
| #include <ws2tcpip.h> | |
| #include <iostream> | |
| #include <string> | |
| #include <windows.h> | |
| using namespace std; | |
| #pragma comment (lib, "Ws2_32.lib") |
NewerOlder