Wednesday, January 29, 2020

CPP: Read file using ifstream



To build:
$: clang++ ifstream.cpp

Generate a file to read:
$: echo "hello world" > file.txt

Run it:
$: ./a.out

No comments:

Hello world assembly on x86 Linux

Hello world assembly on x86 Linux Save code below as hello.asm global _start section .data message: db 'hello, world!', 10 secti...