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 TouchToneTommy 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: *

  • Users: Maurader
  • Content: Threads
  • Order by date
  1. Maurader

    directory dialog box

    how do i create a dialog box that will prompt the user to select a directory??
  2. Maurader

    create directory

    how do i create directories on the harddrive from my program?
  3. Maurader

    button group

    if i have a radio button group, how can i determine the index of the radio button that is currently selected without saying Updata(true); int index = m_button; ??
  4. Maurader

    hiding dialog box

    I have a MFC DLL that is being called from another program, and I have a modal Dialog box that pops up. Is there a way I can hide/minimize the dialog box without minimizing the program? Thanks, Duckman
  5. Maurader

    disabling all buttons in group

    how do i disable all buttons in a radio button group?
  6. Maurader

    3D vector

    is there a way to create a vector of vectors of vectors? and how would i initialize such a beast? Thanks!
  7. Maurader

    import dialog box

    how do I import a dialog box created in another project into the current project?
  8. Maurader

    deleting memory

    If I have a function struct myStruct{ double myDouble; } func(vector <myStruct> &myVector){ myStruct dynamicMyStruct; dynamicMyStruct = new myStruct; myVector.push_back(dynamicMyStruct); } how do I delete the memory associatted with dynamicMyStruct? I cannot delete it at the end of the...
  9. Maurader

    pointer trouble

    if: typedef double p_3d[3]; and struct triangle{ p_3d* points[3] // three points to p_3d } and I have a vector <p_3d> allPoints, when I do triangle.points[0] = &(allPoints[i]) I get '&' requires l-value what is the correct way to do this assignment? thanks!
  10. Maurader

    removing duplicates, updating pointers

    I have an array of points, which form the vertices a triangles. I also have an array of triangles, each of which has a 3 pointers pointing to 3 elements of the array. The original array contains duplicate points, as one point may be the vertex of more than one triangle. I need to delete all...
  11. Maurader

    security

    I've written a MFC program in VC++, is there a way to add some security feature so that my program will only run on the computer that i compilied my program on? ie. some function that will read the bios information, compile it and store it, and when my program rums, check the bios of the...
  12. Maurader

    change last element of a queue

    is there a way to change the last element of a queue after it's been enqueued?
  13. Maurader

    emulate keyboard press

    Is there a way to send a message to my program to say that some letter of the keyboard was pressed? So say the program will think that &quot;a&quot; was pressed even though nothing was pressed? Thanks!
  14. Maurader

    Convert double to string

    How do I convert a double to a string?
  15. Maurader

    Inserting text into beginning of a file

    If I have a file that already contains text, is there a way to open it and write text to the beginning of the file? Thanks
  16. Maurader

    rounding all numbers in program

    I have a program where I need to round almost every number to 6 decimal places. If i create a function to do this, the code gets very messy. Is there an alternate method?
  17. Maurader

    returning vector from function

    what is the syntax for returning a vector from a fuction? is it even possible? thx!!!!
  18. Maurader

    nothing appearing in combo box

    hI, i'm creating a MFC EXE, and all i have is a combo box on a dialog. in the onInit method of the dialog, i have c_combo1.AddString(&quot;HELLO&quot;); but nothing appears in the combobox when i run. any ideas why?
  19. Maurader

    max function

    is there a function that will return the max of two doubles? Thanks
  20. Maurader

    loss of accuracy using fabs

    I have the following simple code double number1; double number2 = .000000001; number1 = fabs(number2); and i get number1 as zero can any body help me with why i'm losing the accuracy? Thanks!

Part and Inventory Search

Back
Top