char l_Title_ca[10]; try{ sprintf_s(l_Title_ca,"Version %d.%02d [MemberId :- %s]",Ver,Rel,MemID); } catch(char* str) { cout << "error: "; // if(errn == BUFFER_TOO_SMALL) { cout << "storage buffer too small.\n"; return 0; } }catch(...) { cout<<"caught..."<<endl; }
sprintf_s()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)