Im not gonna pretend like I’m good with code, because I really only started to get into it a day ago. (I’ve been looking into it for a long time but only started testing myself yesterday). Really I’ve been testing myself with some C, just making some basic math programs and stuff like that. Adding some special cookies so if the number you calculate comes out to a specific number it will say something funny. (Ex. If you get 666 it will read a message that says “Hail Satan!”) haha…. But I’m calling on this community for a little help into where exactly I should be looking for.. well more tutorials :P.
I wanna make a program… that for the most part is pointless, but I just want to make it to test myself a little bit. I want to make a simple PING program. Here is the format I want to try and make the program into.
Prompt 1: Pleas enter the IP address or the URL of the host/server you would like to PING:
Prompt 2: Pleas enter the number of PING’s you would like to send to this host/server:
Prompt 3: Pleas enter the size of the packets in bytes:
<output results>
I have an odd feeling in my gut that this will be fairly simple… But like I said I only started a day ago, and am just looking for a little guidance. (By the way, should I continue through and learn the rest of C, or go straight through to C++?) And also like I said before this is really only a program I want to make to test myself. I’m shur that the majority of people who know what “PING” is knows how to PING something using normal command prompt…. But yeknow… Looking to test myself.
Thanks to anyone who can help a n00b like me! Its greatly appreciated!
(Also, I apologize for any spelling/grammar mistakes I have made. :P )