Untitled
public c v1 · immutable#include <stdio.h>#include <curl/curl.h>#include <string.h>#include <stdlib.h>#include "commons.h"#define REPONSE " [:cate winigan]"int main ( int argc, char *argv[] ){ char *mycomment ; mycomment = (char *)malloc((strlen(argv[1])+strlen(REPONSE) +1 )*sizeof(char)); strcpy(mycomment, argv[1]); strcat(mycomment, REPONSE); postmycomment(mycomment, argv[2], argv[3]); free(mycomment);}