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 SkipVought 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: *

  1. jgartee

    VC++ debugger

    If you want the reference manuals for assembly, Intel, for example, lets you download the IA-32 Intel Architecture Software Developer's Manual. You would want Volume 2: Instruction Set Reference. Now, I heartly approve of anyone wanting to learn the assembly language for their...
  2. jgartee

    Adding blanks to a string

    what about something like: fstream f_in; f_in.open(argv[1], ios::in); fstream f_out; f_out.open(argv[2], ios::out); int i = atoi(argv[3]); char line; string strLine; while (f_in.getline(line, sizeof(line))) { strLine.assign(line,f_in.gcount()); if( f_in.gcount() < i )...
  3. jgartee

    Detecting Screen Mode in Console Apps

    Take a look at the Console Reference in MSDN under the Platform SDK documentation. You should find all you need there.
  4. jgartee

    How to convert a char* to a LPSTR???

    If I may add one more little note, rather than using C-style casting, which may be difficult to locate after you've decided the casting is causing an error, consider using the reinterpret_cast, const_cast, and static_cast operators. That way, when you have to find your mistake, it will be...
  5. jgartee

    Simple Array Question

    If you want to dynamically add/remove items, I would suggest that you use an STL list, deque, or vector. Then you can use the erase() and other member functions with impunity. Be aware when iterators are invalidated, though. The advantage is that the STL is platform independent and quite...
  6. jgartee

    Doubly Linked List class - InsertAfter method

    May I make a suggestion? Take a look at the STL as an alternative to building these sort of routines on your own. I've found it a wonderful tool to avoid much of the mundane grunt work I used to have to do...it's been a real timesaver.
  7. jgartee

    InterProcess Communication

    I have found named pipes to be very useful in this circumstance. I confess I've done far more C++ than Vb code, however. Using a blocked-read thread on each end of the pipe is a very simple model which allows you to hang on a read until data arrives or the pipe goes away. You then simple...
  8. jgartee

    WINDOWS EVENTLOG

    There is a good example in MSDN under the title &quot;Creating a Simple Win32 Service in C++&quot; that uses Event Logging. Perhaps the most time consuming thing for me was getting the process straight to create a MESSAGETABLE entry for the resources and integrating it into my system. While...

Part and Inventory Search

Back
Top