Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Can not print out the argv[] values using std::cout in VC
- #include "stdafx.h"
- #include <fstream>
- #include <iostream>
- using namespace std;
- int _tmain(int argc, _TCHAR* argv[])
- {
- cout << argv[0] << " ";
- cout << argv[1] ;
- return 0;
- }
- wcout << argv[0] << L" ";
- wcout << argv[1] ;
Add Comment
Please, Sign In to add comment