How can I take a part of a string ?
The only way that I found is by the pointers. Is it correct ?
Is there no one way to take a part of a string ?
My problem is listing below, if you can help, answer me, please.
pt=DescCliente;
aa=(char)pt[0];
sprintf (Buffer,"441100003700180%c%c",aa,pt[0]);
MandaStringTerm (Buffer);
if (pt[0]=="Q"-> this not Work ? Why?
MandaStringTerm("392200200450375QUALIDADE ASSEGURADA"
The only way that I found is by the pointers. Is it correct ?
Is there no one way to take a part of a string ?
My problem is listing below, if you can help, answer me, please.
pt=DescCliente;
aa=(char)pt[0];
sprintf (Buffer,"441100003700180%c%c",aa,pt[0]);
MandaStringTerm (Buffer);
if (pt[0]=="Q"-> this not Work ? Why?
MandaStringTerm("392200200450375QUALIDADE ASSEGURADA"