-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi,
Is it possible to put char content in sentences with g.printf() ? I would like an use like that:
#include <PrintEx.h>
char query1[128];
char message[]="hello";
char autre[]="world";
long long id=0;
GString g(query1);
g.printf("INSERT INTO arduilog.logs (id,subsystem,value) VALUES (%d,%s,%s)",id,message,autre);
I tried with sprintf() function but it doesn't work. Could you send me an example if this thing exist?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels