int main(int argc, char *argv[])
{
// make sure that there is at least 1 argument
if (argc < 2) {
usage();
}
if (*argv[0] == "-i") {
i();
}
else if (*argv[0] == "-h") {
Type: Posts; User: marla
int main(int argc, char *argv[])
{
// make sure that there is at least 1 argument
if (argc < 2) {
usage();
}
if (*argv[0] == "-i") {
i();
}
else if (*argv[0] == "-h") {
here is my partial code:
int main(int argc, char *argv[])
{
// make sure that there is at least 1 argument
if (argc < 2) {
usage();
may you live long and prosper, get high paying it jobs, and ... and get laid alot. thanks for the help, it was very vexing.
void writePortOpen(int wPort, char wBanner[100]) {
char portFileName[16];
sprintf(portFileName, "port%s.txt", wPort);
FILE *portFilePointer = &portFileName;...
im coming from python and using a language which is crossplatform and no differentiation between socket usage.
i just learned ansi c, now i am trying to write my first real application. theres no...