cheahyw
03-05-2004, 05:58 AM
hi all,
im a c++ newbiw & struggling with my socket programming assignment now. my assignment require me to generate 4 char with "\" after it.
EG: char msgsent[1000]={"uwms\", "dfas\","asdk\",...}
just wondering is there is smarter way to generate these char instead of manually set?
please help here....thanks alot.
i can post my code if need be.
im a c++ newbiw & struggling with my socket programming assignment now. my assignment require me to generate 4 char with "\" after it.
EG: char msgsent[1000]={"uwms\", "dfas\","asdk\",...}
just wondering is there is smarter way to generate these char instead of manually set?
please help here....thanks alot.
i can post my code if need be.