Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: LPomelo

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,466

    Re: fstream.get() - Problem

    Sorry...



    for (int i = 0; i < MAP_SIZE; i++)
    {
    for (int j = 0; j < MAP_SIZE; j++)
    {
    file.get(a); // reads a char
    char* b = const_cast<char*>(&a); // convert to...
  2. Replies
    2
    Views
    1,466

    fstream.get() - Problem

    Hi! I'm trying to read a text file one character at time, but the fstream get() function read some crap after the character. Here is my code:

    for (int i = 0; i < MAP_SIZE; i++)
    {
    for...
Results 1 to 2 of 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center