No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi all, I have following string 0x0002,A5651QPR87GBZ094RTF52,D,A,000001,ABC ,10000.00 , EOT i need to split the above using ',' as the delimiter & put those in to the following string variables. 1.Command 2.Key 3.Msgtype 4.number 5.name 6.amount pls reply me as sap. Regards |
|
Hi all, i'm getting following error messege when i use switch(temp.month) { //work fine with case 8: case 08: amonth=temp.day/30; temp.day%=30; temp.month+=amonth; break; default:break; } error:illegal digit '8' for base '8'. I can't understand why it is.could someone help me out asap. |
|
Hi all, i'm reading a file path from a serevr & going to read the contents in that file. i created a ifstream object.but the problem is if the file path is c:\txt.txt,it doesn't read it as a file path.it reads \t as the tab.Is there any way to avoid … |
|
Wish you all a good day.Currently i'm working on c++ project.I want to know how to convert string object to a character array.Also why ifstream object doesn't accept a string variable as follows, void split(String filename) { ifstream ifile; ifile.open(filename);//this fails } |