Skip to content

ANONYMOUSx46/First_C_upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

System Information Retrieval

A lightweight C program to retrieve OS version and hostname for both Windows and Linux environments.

πŸ“Œ Features

  • Detects and displays the Operating System version.
  • Retrieves and prints the hostname of the device.
  • Supports both Windows and Linux platforms.
  • Uses native system API calls for efficient execution.

πŸš€ Installation & Compilation

Windows

Ensure you have gcc installed (via MinGW or similar). Compile using:

gcc quick_sysinfo2.c -o system_info.exe

Run with:

system_info.exe

Linux

Compile using:

gcc quick_sysinfo2.c -o system_info

Run with:

./system_info

About

A short and sweet C program I built just out of fun and exploration of certain C #include headers

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages