
do i really have to learn anthing else in C it self to communicate with the OS than the system()
shaqywacky wrote:This will only allow you to interact with the command prompt, which is very limited. I'm not sure I know what you mean by "communicate with the OS". The command prompt is very limited and can't really do all that much. The main way to use the OS would be through calling API functions and interrupts. This is much more powerful and can do much more than the command prompt.
Maybe given an example of what you would like to do.
Windows IP Configuration
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : gateway.2wire.net
Link-local IPv6 Address . . . . . : fe80::a5ee:dbcb:33c0:269d%10
IPv4 Address. . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::e053:77fb:5caa:f957%19
IPv4 Address. . . . . . . . . . . : 192.168.126.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::c023:abba:dedd:e753%20
IPv4 Address. . . . . . . . . . . : 192.168.101.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Tunnel adapter isatap.{2AD4D38A-3F90-4C77-BEEE-E51678FE41D6}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.gateway.2wire.net:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : gateway.2wire.net
Tunnel adapter isatap.{8EEF41DB-AD38-4F9F-8BDA-3C49701F1CE3}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{1CB82128-B7C2-4FFD-8CA8-D2752F865A5C}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
shaqywacky wrote:One final thing. C network programming can be pretty difficult when you first start. I would REALLY suggest you have a good grasp on the language or be prepared to become very frustrated.
wget www.showmyip.me
Users browsing this forum: No registered users and 0 guests