Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main(int argc, char **argv) {
- if(argc == 2) { //gdy w wierszu polecen wywolamy z jednym argumentem program
- std::cout << "argument 1: " << argv[1] << std::endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement