Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: GCDEF

Page 1 of 80 1 2 3 4

Search: Search took 0.27 seconds; generated 28 minute(s) ago.

  1. Replies
    6
    Views
    155

    Re: Run in another program

    Are you trying to write a key logger?
  2. Re: Please help a newbie on CPP High Frequency Trading Example

    You may want to look up the difference between & and && too.
  3. Replies
    2
    Views
    297

    Re: Newbie needs help

    If you're using .Net you need to ask in the managed C++ forum. You'll get a much better response if you use code tags to maintain formatting.
  4. Replies
    2
    Views
    1,369

    Re: Loops and Vectors

    You need two variables, one to hold the max value, the other to hold the min value.
    Set them each to the first element in the vector.
    Iterate the vector replacing the values in the variables when...
  5. Replies
    13
    Views
    4,659

    Re: interphace graphique en C/c++ bloodshed dev c++

    What does that have to do with your original post? You really need to clarify, hopefully with more than one sentence, what it is you're really trying to do.
  6. Replies
    7
    Views
    3,474

    Re: A custom pyramid-drawing program

    About what? I'm guessing you're stumped because you're thinking about code, not the algorithm. Figure out in English, without even thinking about code, what exactly the logic is for drawing the...
  7. Re: How Do I Still Use Document/View Architecture for This Application?

    Sounds like you need to step through the MFC code and get a better understanding of how it all works.
  8. Re: How Do I Still Use Document/View Architecture for This Application?

    It would probably make more sense to change your project properties to use MBCS instead of Unicode.
  9. Re: How Do I Still Use Document/View Architecture for This Application?

    CArchive has a ReadString function that reads lines of text. Looks like it's designed to do what you want. Instead of using the >> operators, just use ReadString.
  10. Replies
    12
    Views
    4,121

    Re: maximum cmd line length

    Do you have anything to contribute other than bumping old threads to spam this tool of yours?
  11. Re: How to use CEdit Control variable updated from a tab to the dialog box ?

    Don't know how I missed that. I looked for it several times.
  12. Re: How to use CEdit Control variable updated from a tab to the dialog box ?

    Stepping over array boundaries is a big problem that will make a program do all kinds of weird things. I can't stress enough how important it is that you realize that that is a problem that needs to...
  13. Re: How to use CEdit Control variable updated from a tab to the dialog box ?

    Your use of subscripts is still troubling me. If GainF and ExTimeF are defined with a size of 10, I would expect ModeCustom to crash.

    Just putting UpdateData(TRUE) at the start of that function...
  14. Re: How to use CEdit Control variable updated from a tab to the dialog box ?

    I don't see you calling UpdateData in CTab4. And again, the arguments to UpdateData are TRUE and FALSE, not true and false, and again, I'm not sure why you're calling it in the loop.
  15. Re: How to use CEdit Control variable updated from a tab to the dialog box ?

    Post your current code, but please change those indexes. That behavior is undefined, and that's really the first thing you need to fix.
  16. Re: How to use CEdit Control variable updated from a tab to the dialog box ?

    If it appears to be working with those indexes, it's sheer dumb luck. That code is incorrect and will cause you problems.

    As to your question, you'd need to call UpdateData (which takes a BOOL,...
  17. Re: How to use CEdit Control variable updated from a tab to the dialog box ?

    I'm not really sure what your question is, but arrays are 0 based. If you have an array of length 2, valid index values are 0 and 1.
  18. Replies
    2
    Views
    1,035

    Re: Question and Answers Program

    Do you have a question?

    If you want help with code, you'll need to use code tags and proper formatting.
  19. Re: How to configurate the Visual Studio C/C++ Additional Include Headers?

    The word is "configure".

    In VC2012 it's

    Project
    Properties
    Configuration Properties
    C/C++
    Additional Include Directories
  20. Re: C++ Help Why wont it print anything (functions)

    You still have the other problems I mentioned.

    You're prompting for a number in main and not using it, and a while loop is the loop to use here. This isn't a case for a for loop.
  21. Re: C++ Help Why wont it print anything (functions)

    Doesn't compile for me. jackpot needs to return a value.

    Please use code tags.

    Why are you prompting for a guess in main, passing that to jackpot, then asking again in jackpot and ignoring the...
  22. Replies
    17
    Views
    1,227

    Re: How to save bitmap to file?

    Could be a couple of things. Likely the compiler hasn't seen the definition of WCHAR or CLSID, or there could be a problem with the line or two before that one. Look for other headers in your .cpp...
  23. Replies
    5
    Views
    1,754

    Re: void pointer argument in a function

    Doesn't compile for me.

    1>c:\cg\cg\cg.cpp(7): error C2143: syntax error : missing ';' before 'return'
    1>c:\cg\cg\cg.cpp(8): error C2059: syntax error : '}'
    1>c:\cg\cg\cg.cpp(8): error C2143:...
  24. Thread: void pointer

    by GCDEF
    Replies
    9
    Views
    2,092

    Re: void pointer

    That's called a cast. It tells the compiler to treat the variable as a different type. data was declared as a void pointer, but you're telling the compiler to pretend it's a char pointer in that...
  25. Re: How to make the X:\Project\bin\debug the base directory of all files?

    You can set the working directory and the executable path in the project debugging configuration properties.
Results 1 to 25 of 1996
Page 1 of 80 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center