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; | |
class Pojazd { | |
private: | |
string lusterko[3] = {"lewe", "prawe"}; | |
protected: | |
int id = 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
#include <string> | |
using namespace std; | |
class Pojazd { | |
private: | |
string lusterko[3] = {"lewe", "prawe"}; | |
public: | |
//friend class Samochod; | |
Pojazd& operator=(const Pojazd&); |
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
import java.util.InputMismatchException; | |
import java.util.Scanner; | |
import java.util.regex.*; | |
public class IPv4Validator { | |
private String ipv4; | |
private final String IPv4Regex = "\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}"; | |
IPv4Validator(String ipv4) { |
NewerOlder