• entries
    4
  • comments
    6
  • views
    2186

test.c

Celtore

543 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.

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.