Downloading webside content in C language

To download something from webside in C language, you can use curl library.
In linux you can install via:

Then write a program

To use this code you must compile

And then run

When you have problem like “segmentation fault” you need use “sudo” before command.

Leave a Reply

Your email address will not be published. Required fields are marked *