User Profile
Collapse
-
an should come befoe by in the 2 letter words? unline in your example -
People please give me some clues on how to do it.
sample code would be great.
Thanks a lotLeave a comment:
-
I believe what you are asking for is:
you have to read from that text file using delimeter "," to parse (separate the data going into an array, and then search that array for whatever values you need...Leave a comment:
-
UNICODE to ASCII Conversion
Hi All,
I'm writing a program, part of which needs to read text from a .log file in UNICODE line by line, then convert it to ASCII and write it to an ASCII .log file line by line...
I've been battling with this issue for a week, and have yet to find a solution.
PS: I'm writing in C
Thanks a lot
Alex -
llooks like homework, and that you should buy and read the book to both find abswers abd pass the classLeave a comment:
-
you neab it is the sun of: 27 6 -50 21 -3 14 16 -8 42 33 -21 9Leave a comment:
-
Ok apparently i found out more about what is happening:
the .log file that i'm having problems with is in Unicode... so i have to read the Unicode line by line convert it to normal characters and write it to my Destination Log File...
I was told that unless i use cstring i won't be able to read the Unicode correctly...is this true?
Also what would be the best way going about doing what i described?...Leave a comment:
-
Ok i just did simple array formatting however it was giving me casting problems when i was jsut trying to do...
datebuf[2] = "-"; // why was this causing the following issue?
error C2440: '=' : cannot convert from 'char [2]' to 'char'
This conversion requires a reinterpret_cas t, a C-style cast or function-style cast
Finally i decided to go through ASCII unable to resolve the above...Leave a comment:
-
date formating
Hi all,
the following is a chunk of my code:
char timebuf[10];
char datebuf[10];
_strtime( timebuf );
_strdate( datebuf );
cout<<timebuf<< endl; //output: 15:48:59
cout<<datebuf<< endl; //output: 09/14/06
what is the simplest way to format the date to look like 09-14-2006
PS:I have all the necessary libraries included.
... -
ios::binary issue
Hi, I'm a little stuck,
I basically need to copy all the information within a specific file in Temp and append it to a file in another location.
I'm not having any problems with smaller size log files stored within temp foldier and everything reads and appends perfectly, however when i try to read and append from IS12Install.log file in Temp all it appends to my destination file is:
ÿþ=
and a...
No activity results to display
Show More
Leave a comment: