Wednesday, January 29, 2020

CPP: Write to a file using ofstream



To build:
$: clang++ ofstream.cpp

Run it:
$: ./a.out

Read the file:
$: cat file.txt

No comments:

Test Code

netsh advfirewall firewall add rule name = "RPC Endpoint Mapper" dir = in action = allow protocol = TCP localport = 135 ...