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 Wanet Telecoms Ltd 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: pghsteelers
  • Content: Threads
  • Order by date
  1. pghsteelers

    Knowning your classes - looking for suggestions!

    Working through a book which currently is walking me through building a certain program, I come across building dialog boxes. In creating a new class to associate with that dialog box, he follows up by having you call the OnInitDialog() member function to intialize the dialog, finalized by...
  2. pghsteelers

    Question regarding Order of Include directives

    I am having a hard time understanding how to make sure that the #include directives are listed in the correct order as it is to my understanding. Is there a way that daily programmers use to help sort out one needing to come before another in the header files?
  3. pghsteelers

    Need help in understanding error: warning C4652

    I am receiving the following *warning* when compiling which references the following header file: #include <stdafx.h> : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled...
  4. pghsteelers

    Question regarding Message Handler for WM_OnLButtonUp

    I am going through creating some message handlers and having a problem understanding a certain situation. To my understanding, if a base class member function is not set to "private" this it will be available and passed down to classes drived from that base class consisting of the member...
  5. pghsteelers

    Question about Resource .RC file in VC 6

    In VC6, when creating a MFC App (exe) project, what option (in the number of wizard option screens) causes the .rc file to be generated? A projectname.rc2 file is generated, but not a projectname.rc file is generated.
  6. pghsteelers

    Visual Studio 2005 Standard vs. Professional

    I really need the communities advice here... I have been attempting to learn VC++ for a bit now, and started on the path with the software I had (VC 6). After getting well into it, it was brought to my attention that I might want to upgrade to VC 2005 as VC6 standard was quite old. I was...
  7. pghsteelers

    Question regarding Windows Programming (api, MFC....ect)

    I have two questions reguarding Windows programming: 1) Under C++: Are all window programming through the means of either one of the three: API, MFC and Window Forms? 2) Being that Window Form programming uses the CLR, is there any recommendation between programming directly to the API vs. MFC?
  8. pghsteelers

    Good C++ News Site

    Anyone able to recommend a "current" C++ programming news site that particularly can visit daily or regularly for news in the communicty of C++ programming?
  9. pghsteelers

    Question on adding a source file to VC 2005

    In VC 6, I could load up a .cpp file, and then F7 to compile. If it didn't have a workspace created, it would ask if one wanted to be created which, selecting yes creates a workspace and then compiles. However, in VC 2005 express, if I load up a .cpp (add > existing item) and and try to...
  10. pghsteelers

    Really needs someones help with issue in VC 2005

    I don't know what is going on or what I possibly could have done, but some of the most common actions are not available to me though they should be, and I was hoping someone might be able to tell me what I am doing wrong: After creating a Win32 Console application, adding a class, I switch to...
  11. pghsteelers

    Executing a program in VC 2005

    Am i correct in understanding that the only way to execute a VC++ program after compiling is ctrl + F5? I noticied there was no longer a executing <filename> on the Build menu from VC 6, so doing some searching only produced ctrl+F5 in the book I am reading on online? Can anyone confirm?
  12. pghsteelers

    For basic C++ questions.

    I have a number of questions that I was hoping I could through up here, mainly all are clarification request on understanding some principles or syntax clarifications, as opposed to created a new thread for each one: 1)Can someone explain the arguments to the function main in for a CLR program...
  13. pghsteelers

    Debugger - Knowing your error messages

    In learning C++ I am at a point of getting to know the debugger in VC 6 (I am switching to 2005 at the end of this project) - anyhow, I posted the below code, that if you compile (0 errors) but try to run, it crashes, giving you an opportunity to run the debugger. Upon entering you'll receive...
  14. pghsteelers

    Crash Course for either C++ or Java - needs some input

    I have been hammering at learning C++ and will be continuing to do so. I have some programs that I am writing as part of my learning experience. I also had plans to learn some other languages thoroughly such as Java as I am in a position where I have been writing programs for my company any...
  15. pghsteelers

    VC Class wizard - implementation

    I am trying to find out what the statement in a C++ book that is having me create a function member in a class but is asking me to do something else that I don't quite understand. It states: "If you used the ClassWizard to add the operator function you will need to delete the implementation as...
  16. pghsteelers

    Question about a derived class copy constructor!

    I was hoping someone could explain the following issue regarding the need to call a copy constructor for the base part of the class in the initialization list for the copy constructor for the derived class (NOTE: complete code at bottom)- as pointed out as: - A problem when initializing a new...
  17. pghsteelers

    Base classes, .h and .cpp file question

    I thought I had a grip on classes in reference to the header and executable code .cpp files. I was understanding that one held the declaration and one contained the actual code. However, in getting into creating classes off of base classes, that I was running into errors such as: error C2504...
  18. pghsteelers

    Class Def's and Declarations question - Visual Studio 6

    New to C++ I was curious to know why when using Visual Studio 6, and when in the .cpp class definition file, I used the wizard to add a "member function". This then created in the .h file my skeleton of the definition for this member function declaration. However, my question is, why can I...
  19. pghsteelers

    Overloading Operators Question....using default representation?

    In learning C++ I have come across Overloading operators. At first I was thinking that it was strictly because you "can" manipulate the meaning for an operator so when it is used with a class you are actually calling a member function to perform some operation. However, I have two question...
  20. pghsteelers

    Returning &quot;types&quot; from functions

    Using C++ stating your prototype such as: <type> functionname(type arg1, type arg2....) My question is, if you are passing two variables one of type float and one of type int, and you want to pass them both back, what do you specify as the "return type"? Or can you not do that? float...

Part and Inventory Search

Back
Top