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...
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...
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...
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...
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.
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.