I have to read and write data from and to a specific address in the memory.
I tried to use the search but could't find any answers.
I have a row of 512 16 bit signals written in the memory by another device that shares the same memory with my Proccesor.
Now I have to check and correct those 16...
goodmorning,
I'm trying to use a stack in my program.
However somethings go's wrong when I declarete my stack in my class the following way:
-- stack<int> stackname;
I recieve the following errors.
-- syntax error : missing ';' before '<'
-- error C2501: 'stack' : missing storage-class or...
Goodday people,
I'm trying out some pointer functions in Visual C++, to understand more
about C++
I have the following code in one of my class member functions (see bottom of post).
What I tried to do is allow the class this function is in to write into the
document that is attached to my...
Hello people,
I have a big problem,
In my program, I recieve an variable with a value from somewere between 10 and 9999.
The problem is that this unsigned short variable has to be depicted as 4 characters, like 0031 or 0372.
And that's not all.
The big problem is the following.
The first two...
He people,
I feel really stupid for asking this,
But How do I convert a number in a string into a integer?
I read a line from a file, 'value1 = 1000'
By the use of file.readstring(string_with_value);
How do I get the value that is now in the CString string_with_value, to a usable 'int...
I want to change the Font that my Ceditview is using to a font that has fixed wides (uhhh the length from left to right, sorry bad english) like Courier new.
When I do this the following way, it doesn't work.
Has anybody got an idee?
--------------------
CFont m_font;
LOGFONT LF;
memset(&lf...
When I launch my program, in the titel bar of the mainview the name of the program is displayed but also the name of the file that is opened.
His stringname is drawn on the titelbar between '['and ']'
the problem is that the system also includes a number behind this filename...
like 1 or 2...
Hello people.
I have a very strange feature embedded into my program. And I can't seem to get it out. (as with most features its pretty damm unwanted.)
When my program is started (a multiple splitter window with dailogboxes containing buttons and a view on a txt document)
everything works...
Does anybody know how to scroll a document view to the bottom of the document from within the OnUpdate function?
I want to scroll down my document that is in a CeditView derived class.
I would like to do this in OnUpdate so that the view is scrolled down to the bottom of the document every time...
hello people,
I have to make a dailog in which a user can browse in directories on the network and on the desktop pc.
In this dialog he has to be able to select command files in txt form. (which will than be interpreted)
I'm trying to use a CtreeCtrl object in a dialog.
But I don't know how I...
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.