User Profile

Collapse

Profile Sidebar

Collapse
AlekseyUS
AlekseyUS
Last Activity: Dec 6 '06, 04:54 PM
Joined: Sep 14 '06
Location: Chicago, IL
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • AlekseyUS
    replied to Urgent need of code in C
    in C
    an should come befoe by in the 2 letter words? unline in your example
    See more | Go to post

    Leave a comment:


  • AlekseyUS
    replied to UNICODE to ASCII Conversion
    in C
    People please give me some clues on how to do it.

    sample code would be great.

    Thanks a lot
    See more | Go to post

    Leave a comment:


  • AlekseyUS
    replied to how to use fgets
    in C
    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...
    See more | Go to post

    Leave a comment:


  • AlekseyUS
    started a topic UNICODE to ASCII Conversion
    in C

    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
    See more | Go to post

  • AlekseyUS
    replied to help with this ones
    in C
    llooks like homework, and that you should buy and read the book to both find abswers abd pass the class
    See more | Go to post

    Leave a comment:


  • AlekseyUS
    replied to I need help with this C program
    in C
    you neab it is the sun of: 27 6 -50 21 -3 14 16 -8 42 33 -21 9
    See more | Go to post

    Leave a comment:


  • AlekseyUS
    replied to ios::binary issue
    in C
    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?...
    See more | Go to post

    Leave a comment:


  • AlekseyUS
    replied to date formating
    in C
    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...
    See more | Go to post

    Leave a comment:


  • AlekseyUS
    started a topic date formating
    in C

    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.
    ...
    See more | Go to post

  • AlekseyUS
    started a topic ios::binary issue
    in C

    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...
    See more | Go to post
No activity results to display
Show More
Working...