|
Dansveen wrote: I tried getting screen limits but does not work. I'm afraid that really does not tell us anything. Please show an extract of your code and try to explain exactly what results you are seeing and what you expect to happen.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hey, everyone! I want to use one of the Find() methods with a richtextbox(RichTextmethod.Find Method(String, RichTextBox)) and i'd like to no if i might use a textbox's text instead of the string used in this method. thanks
|
|
|
|
|
I already gave you a link to the RichTextBox documentation here[^]. Check the links for the various overloads of Find() and select the one you need.
byank wrote: <layer>if i might use a textbox's text instead of the string The text of a textbox is a string.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
the program should;-
create list
search for a certain element within the list
insert an element after and beginning
delete element after and at the beggining
|
|
|
|
|
If you are asking for a complete solution then you should read points 2 and 11 here[^]. If you just want suggestions about lists then try the standard library[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I think you meant here[^]
|
|
|
|
|
Those pesky meeces
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
phineas kimathi wrote: the program should;-
You should at least try doing your homework yourself.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
|
phineas kimathi wrote: the program should;-
You should
1. Review your class notes
2. Review your assigned reading
3. In the above review anything about lists specifically.
4. Write some code based on the assignment.
5. Test it.
|
|
|
|
|
Be crisp and clear.
Sunil
|
|
|
|
|
|
Some good and well meant advice:
What appears to be the quick and easy way now, i. e. copying the solution from any of the links provided here, is in fact the path of enduring pain:
Copying does not teach you anything. When you're asked to do your next homework, you will not be prepared to do that either, because you are lacking the basic knowledge. You could of course repeatedly copy your homework from others, but that will just exacerbate the problem. As a result, you will eventually fail in the exams.
The longer you wait to actually do your assignments yourself, the harder it will be to catch up on the lost knowledge. And the harder it will be to be motivated about it.
OTOH, if you keep doing your homework and manage to solve it successfully yourself, that success will offer a sense of accomplishment that you'll never experience when copying other people's work.
If you have truly a problem to arrive at the solution, write down what you did so far and where, exactly, you are stuck. We will gladly offer help to make you understand and solve the problem. But - in your own best interest - we will not simply post the full solution without further comment.
Know that the only way to learn programming is practice! No amount of reading (or copying) can make up for the experience you gain from actually writing a program and seeing it work (or fail, more likely).
You can not copy experience: only you can collect it!
|
|
|
|
|
You forgot to mention that just copying something doesn't insure that it is in fact correct.
|
|
|
|
|
Indeed - in my time as a tutor at university I found that to be the easiest means of detecting when people were copying their homework from others
|
|
|
|
|
how to view for example strstr function in code::block or anywhere?
i am using ubuntu.
|
|
|
|
|
If you have a copy of the source code you can look at the specific module that contains this function.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
A lot of those function are in header files. just search around (you should be able to "go the definition" in code::block
For VS2008, I found an implementation of strstr in atlstr.h (which is not STL btw).
Watched code never compiles.
|
|
|
|
|
Maximilien wrote: A lot of those function are in header files.
That's just the definition, not the source code.
Maximilien wrote: I found an implementation of strstr in atlstr.h
Which is only present if you have the ATL.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
STL code is mostly in the header file.
Watched code never compiles.
|
|
|
|
|
The templates may be, but they are not particularly easy to understand. Also OP asked about strstr() under Ubuntu (Linux).
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
And subject says "source code of STL functions"
Watched code never compiles.
|
|
|
|
|
google "gcc strstr source". lots of hits.
|
|
|
|
|
i don't know that recover source code is very difficult. as said i think i could find decleration or implementation of example strstr but didn't outcome for me.
|
|
|
|
|
Today I developed an application that generate EAN-13 Barcode. around 166 bar code is being generated and printed in two pages.
Now the problem I am seeing is operation is slow and heavy. It Sends 17.24 Mega Bytes of data to printer to print. And the entire process is really slow.
here is the steps to do so:
PrintDlg(...)
StartDoc(...);
StartPage(...);
DrawText(...);EndPage(...);
EndDoc(..);
Now the problem is data is too much for two page.
But even an 8 page mistake print is so fast that it ends printing before I reach to printer to stop. What's wrong with this way? more over is there a better way? or too much ink?
|
|
|
|