Re: C question





Bruce is right.

You can shoot your foot more than one way.   If you are using strncpy and your
string printing function is dependent on a null terminated string,  you better
make sure the string you are copying is null terminated. My point is this, you
can always points out the obvious but it's a virtue to give a hint and entrust
the
other party to figure it out.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]