Jump to content
Banner by ~ Wizard
  • entries
    4
  • comments
    6
  • views
    2,737

Celtore

907 views

#include <stdio.h>

#include <string.h>

 

int main(int argc, char* argv[])

{

.... if(argc == 2)

.... {

........ if(strcmp(argv[1], "test") == 0)

........ {

............ printf("<msg> I wanted to join in the \"test\" bandwagon too! \n");

........ }

........ else

........ {

............ printf("<msg> Some other content\n");

........ }

.... }

.... else

.... {

........ printf("<ERROR> You must input one entry title\n");

.... }

 

.... return 0;

}

 

 

https://www.youtube.com/watch?v=8To-6VIJZRE

0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Join the herd!

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...