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: acp32
  • Content: Threads
  • Order by date
  1. acp32

    Effective update of Image->Canvas ?

    I am looking for a method of updating an Image rapidly from data stored in a 2D matrix. I currently use the following code for each pixel: Image1->Canvas->Pixels[x][y] = greyscale; My image is a 512x512 array so the above line is part of an embedded for loop that iterates 262,144 times to...
  2. acp32

    Interrupting loops

    A general query. If I have a button in the GUI that starts off a loop. Is there an elegant method of a second button in the GUI stopping the first loop while it is running. At the moment I can't click on any other buttons while the loop is tied up. Any suggestions would be gratefully received.
  3. acp32

    Use of vector statement within a class?

    My problem is that I cannot use the vector statement within a class. I would be grateful for any help. To illustrate the problem: If I open an application and generate a State class in the .h file as: class State { }; After #include <vector> & using namespace std; are inserted I can use...

Part and Inventory Search

Back
Top