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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by markitus

  1. markitus

    problem with CFormView

    well, this is for me quite complicated problem, i don't even know how to start explaining. Well, i got a program with a splitter window, one of them is the view, and the other one a formview with buttons for controlling the view. this is the code that describes what i mean: BOOL...
  2. markitus

    drawing in a view from a dialog

    thanks sujan, i've solved the problem yesterday, but thanks anyway for ur help :)
  3. markitus

    drawing in a view from a dialog

    hello, i must make a program that must let me draw a rectangle, a line or a triangle. For choosing the figure i want, i must use a modal dialog, by selecting a radio button. Well, once i select in the dialog the figure i'd like to draw.. how can i access from here to the view so it will be able...
  4. markitus

    problem when executing the program

    Hi.. well, this is problem is a little bit strange , but i'm sure i'm not the first one that have found it. my program consists of different files, everything was working properly until i created one class : class graphics_c : public CFormView of course, composed by the .h and .cpp files. When...
  5. markitus

    access to a variable from different files

    hello... i know this is quite a beginner question. well, i explain my problem. i would like to access to one variable (p.e. int x) defined in a file (p.e. myprogramApp.cpp) from another file (p.e. myprogramView.cpp).. could anyone tell me how could i declare that variable, and how to get access...
  6. markitus

    problems getting data from a file

    man... i think now it's working!!!! i didn't know i could use the class string that way (std)... thank u so much for ur time. now i'll try to put the floats into a matrix... i hope that won't be a problem at all.. but i don't know why i'm so clumsy since i started the project. thanks.
  7. markitus

    problems getting data from a file

    the problem now is that i don't know the number of characters that i must take... as the number of columns is completely variable... there must be one way to make it work!!! i don't know if 'c' must be 5000, or 10000 or 150000.. i can't know it...
  8. markitus

    problems getting data from a file

    thank u both for your quick answers... ok, as it seems simpler i'm trying yours, uolj, but i still have a doubt... when i use getline.. how can i specify the number of characters to take??? char c[5000]; rfile.open("ima1.txt"); rfile.getline(c,5000); i was trying to use this other...
  9. markitus

    problems getting data from a file

    hi, i want to read float data from a .txt file, and i'm having problems doing it. The file seems something like this : 233.6 163.5 291.0 228.5 252.3 259.2 232.1 318.5 251.4 .1 60.6 736.1 354.1 106.6 1154.7 261.1 165.5 1499.4 9 344.2 289.5 153.0 305.7 288.5 242.5 275.2 289.9 .4 349.5 57.2...
  10. markitus

    problems creating a class refering to hdc

    hi everybody: i'm a newbie using visual. I must create an API for drawing lines, rectangles and triangles. I need it for tomorrow :( . And I'm having problem creating a simple class called Lines into a simple .c file. When compiling, it gives back the next error : C:\MARC\EGUI\NUEVA...

Part and Inventory Search

Back
Top