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 IamaSherpa 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. nohairleft

    LPtoDP function is not working

    I am running Visual C++ 6.0 MFC Document/View. MyCView class's OnDraw(pDC) function calls a myCDocument function pDoc->DisplayMyStuff(pDC) which defines a CRect called WaferRect and calls a function called DisplayMapSetup(pDC, WaferRect). The code snippet is shown below. void...
  2. nohairleft

    Unwanted automatic carriage return using fprintf

    Thanks. That seemed simple enough. I'm pretty old school and was not aware of more than "r", "w", and "a". Just a side note, my file pointer was defined globally and this caused the linker to blow up and not be able to create the .exe file. I used the fopen function as you show, with the...
  3. nohairleft

    Unwanted automatic carriage return using fprintf

    I am using Visual C++ version 6.0. I have a C console program that needs to output x-y coordinate information in binary. When I output a one byte value of 10 (0A Hex) the output file contains two bytes (0D and 0A). In ASCII the 0A would be defined as a line feed and 0D as a carriage return...

Part and Inventory Search

Back
Top