Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by dont ( 17 years ago )
dont@dont ~  $ cat test.cpp
#include <iostream>
&Acirc;&nbsp;
int main()
{
&Acirc;&nbsp; std::cout << "Hello char" << std::endl;
&Acirc;&nbsp; std::wcout << &Acirc;&nbsp;L"Hello WCHAR" << std::endl ;
&Acirc;&nbsp;
&Acirc;&nbsp; return 0;
}
dont@dont ~ &Acirc;&nbsp;$ g++ -o res test.cpp
dont@dont ~ &Acirc;&nbsp;$ ./res
Hello char
Hello WCHAR
dont@dont ~ &Acirc;&nbsp;$ cat test.cpp
#include <iostream>
&Acirc;&nbsp;
int main()
{
&Acirc;&nbsp; std::wcout << &Acirc;&nbsp;L"Hello WCHAR" << std::endl ;
&Acirc;&nbsp; std::cout << "Hello char" << std::endl;
&Acirc;&nbsp;
&Acirc;&nbsp; return 0;
}
dont@dont ~ &Acirc;&nbsp;$ g++ -o res test.cpp
dont@dont ~ &Acirc;&nbsp;$ ./res
Hello WCHAR

 

Revise this Paste

Parent: 7089
Children: 7091
Your Name: Code Language: