Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ssdave

    beginner, have problem with memory leak

    Matt, what header file includes RemoveHead(), GetHeadPosition()? Thanks again for the help, ssdave
  2. ssdave

    beginner, have problem with memory leak

    I am a beginner with visual C++ and am have a really bad problem with a memory leak. Our app has a dialog with a loop in it that checks a device and reads in a text file. I suspect that the variable which is having the text file inputted into it is accruing the data with every cycle. Looking at...
  3. ssdave

    Is it possible to read in char data from file and recast as int data

    Thanks boulder bum, that worked great!! I changed my read to getline method(?) and used atoi to convert.
  4. ssdave

    Is it possible to read in char data from file and recast as int data

    Help!!! "This conversion requires a reinterpret_cast, a C-style cast or function-style cast" How do I do a "reinterpret_cast"???
  5. ssdave

    Is it possible to read in char data from file and recast as int data

    thanks for responding, m_refresh_3 m_fpsize m_minpoints are variables declared in the header for this particular implementation file as type "int". there are a number of ways to read a file, which method should I use? "Fread" is the...
  6. ssdave

    Is it possible to read in char data from file and recast as int data

    ok, I've learned so far that -858993460 is a default value that the compiler assigns to a variable when it doesn't know what else to do. Why aren't my variables being populated by my read statement?
  7. ssdave

    Is it possible to read in char data from file and recast as int data

    Once, again, I apologize for the inane question, I am very much a beginner. How do you read in string (char?) data, and recast it as int? FILE *stream ; FILE *stream2 ; FILE *stream3 ; int buffer[1024]; int buffer2[1024]; int buffer3[1024]; do{ m_refresh_3 = fread(buffer...
  8. ssdave

    Create global variable to be used accross dialog boxes

    How do you create a global variable that can be accessed by the entire dialog type application? For example, I have one dialog box that is calling another dialog box, and I want them to close simutaneously. Thanks in advance!
  9. ssdave

    set up and display intial text value in an edit box

    I'm new to C++ programming and apologize for asking such a basic question, but how do you display, in an edit box on a dialog form, the contents of a variable into which you have read a line from a text file? Thanks in advance!

Part and Inventory Search

Back
Top