lundi 23 mars 2015

Linux command inside C code: /* treat as comment?


In C, I want to run linux command. Namely,



int status;
status=system("lftp ftp://192.168.1.1 -e "mget -E /2015/Date*/*Snap/*.csv");


The * above is wildcard matching.


The C compiler thinks this is comment: /* and */


How do modify my call do the C compiler won't think this is comment.



Aucun commentaire:

Enregistrer un commentaire