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 Chris Miller 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: deb9
  • Order by date
  1. deb9

    control array of buttons

    Hi, I would like to draw, at run time, a checkers board (8x8 squares with alternating colors). I would like each square to be a button and I would keep a handle to each of these 64 buttons in a control array of buttons. I dont know how to create these 64 buttons at runtime in VC++. Is it...
  2. deb9

    global variables/functions across different projects

    Thanks to all for the very useful info. Deb
  3. deb9

    global variables/functions across different projects

    Yes I would like to use the same int variable in two different running processes: one is a GUI were I set the variable to a given value and the other is another process running that reads the variable. I have to use pipes? How do I do it? (Dont know anything about it) Thanks HyperEngineer deb
  4. deb9

    global variables/functions across different projects

    Hi, I would like to share information between different projects in VC++ using common (global) variables. How do I declare a variable or function to be global across different projects? (not just within files of the same project)? Thank you so much Deb
  5. deb9

    invalid argument exception

    Hi, I have a method to read input from a user like this int cmd = 0; while (true) { try { cout << "Menu of options: 1) New game 2) Mark 3) Status 4) Exit"; cin >> cmd; } catch (?????) { cout<<"Invalid input. Try again"<<endl; continue...
  6. deb9

    globals in C

    Hi, I have the following code void (*somevector[20])(someptr *ptr); void foo(someptr * ptr){...} void somefunction() { do something with somevector[0]; } void otherfunction() { somevector[0]=foo; somefunction(); } It keeps telling me in somefunction that somevector[0] is null, even if...
  7. deb9

    how to convert a string to an istream

    Thanks! That was very helpful deb
  8. deb9

    how to convert a string to an istream

    Hi, I have a code that reads some text from cin and parses it with a function whose header looks like read(istream &in) I would like to add a GUI with a textbox so that the user types in the textbox rather than to cin. I still would like to use read(istream &in) though. How do I convert...

Part and Inventory Search

Back
Top