Search:

Type: Posts; User: Ray Schmidt

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    7,543

    Try using something like: ...

    Try using something like:

    pDC->TextOut(0,0,"Hello Wrold");
  2. Replies
    4
    Views
    2,764

    Let me ask a dumb question. If my list box ID is...

    Let me ask a dumb question. If my list box ID is IDC_DIR and a char variable of m_dir, how can I use, "myListbox.addItem("Item");" to get the desired information into it??? I've tried the what I...
  3. Replies
    4
    Views
    2,764

    FindNextFile

    Ok, thank you for the start. I've gotten the first file to show up and have tried some loops and other junk with the "FindNextFile". The problem now is I keep overwriting my edit box variable...
  4. Replies
    4
    Views
    2,764

    m_dir = system("dir c:")

    I have this line of code:

    m_dir = system("dir c:")

    and m_dir is a char variable for an edit box. It looks like the directory is being done in a command type box seperate from the dialog...
  5. Replies
    4
    Views
    1,003

    MFC

    I'm using MFC and have a structred dialog format for keying in the desired file. I just need the listing of files in a given directory.
  6. Replies
    4
    Views
    1,003

    Showing contents of a Dir

    I'm looking for a way to show the contents of a selected directory in a dialog program using VC60. I'm thinking via use of the system command with a ListBox, however I've never done this yet. Can...
  7. Replies
    2
    Views
    1,855

    fprintf to text file

    Ok, I've got a text file say like below:

    Imperial Imperial
    1 0001010000000000000000000000 5000
    0 0
    ROOF BASICS
    22 96.000000 0.463648 0.000000 12.000000 12.000000 1 1 1
    4.163119 4.163119...
  8. Replies
    3
    Views
    11,262

    I've got it!!!! WoooHooo!!!

    It truns out that a full path is needed.

    stream=fopen("c:/mydocu~1/programming/peekaview/t2.tre","r");


    Thanks...
  9. Replies
    3
    Views
    11,262

    it exist

    The file is present and has data. In fact, the code actually works, but only while the program is compiled/linked/ran from the VC++ program....
  10. Replies
    3
    Views
    11,262

    Debug Assertion Failed!

    I've got a program that works fine while i'm in the VC program, however, when I try to launch the .exe stand alone I get this nasty little message:

    Debug Assertion Failed!
    Program: C:\My........
  11. Replies
    1
    Views
    1,076

    itoa - going back to char.

    OK, I was expecting to see 3 integers converted to characters and then the characters trunckated together back into an integer (like this 12 34 56 to 123456) How far off am I here?


    char...
  12. Replies
    6
    Views
    1,644

    Thank You!!!

    Man,

    You all are the greatest. If this message board were only avaiable 15 years ago, I might have learned c++ by now...

    Thank you again....
    Ray Schmidt
  13. Replies
    6
    Views
    1,644

    no difference

    Even doing this, I retain the same output. Surely moving the pointer back to -3 or -4 should have given me anything different than the exact same results as -2. Is there a better function to try...
  14. Replies
    6
    Views
    1,644

    atoi convert problem

    I thought I had this figured earlier, but I can't seem to break the FFF-II-SS (Feet-Inches-Sixteenths) out into a variable that I can convert into a decimal. "m_feet" holds the initial value given...
  15. Replies
    8
    Views
    1,235

    Thank You!!!

    That was it!!!

    Thanks...

    Ray Schmidt
  16. Replies
    8
    Views
    1,235

    I tried

    Not sure why this code is truncating (sorry)

    I tried using what you suggested and just had unexpected results. I'm sure I'm just doing it wrong but how do I get your code to work with this:
    ...
  17. Replies
    8
    Views
    1,235

    hmmm

    I have the input going through a GUI, defined to operate via radio button for decimal or FIS (float m_feet). Is it possiable to do this same thing without having to use the atoi? Is there a command...
Results 1 to 17 of 17