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

Search:

Type: Posts; User: Protocol

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Having trouble getting any useful tools in toolbox

    I just started with Visual C++ again and I'm having trouble getting it set up. The toolbox is empty. How do I populate it with useful tools? Thanks.
  2. Re: Need Variable Time Step to Avert Unstable Numerical Integ. Exceeding Limits of Do

    Thanks!

    I'm now thinking of attempting to use a Boolean test of all three equations that may blow up. If any one fails using the comparison you suggest, I'll call a function that halves the time...
  3. Re: Need Variable Time Step to Avert Unstable Numerical Integ. Exceeding Limits of Do

    I'm attempting to use a "try-catch" construct to try to compute a value and assign it to a variable, intending to "catch" any result that exceeds the defined magnitude limits of the variable. If I'm...
  4. Re: Need Variable Time Step to Avert Unstable Numerical Integ. Exceeding Limits of Do

    The "explosion" somehow forces the logic of the software to drop out of the function performing the computation. The variable "blows up" in a function loop, and I need to identify how to detect a...
  5. Need Variable Time Step to Avert Unstable Numerical Integ. Exceeding Limits of Double

    I need to avert permitting a type double variable from exceeding the range limits for that data type during a Gaussian, numerical integration.

    I need some means of predicting that the variable...
  6. Re: Writing Structure to CSV file - won't work... HELP!

    Any chance you could edit this to remove my name from 3)? Thanks.
  7. Re: Trying to create a vector using a structure definition as the basis in VC++

    Thank you. That seems consistent with my prior impression.

    I'll have to look into "long double" as an alternative.

    I suspect that there may be an error in the formula.

    I'll have to check...
  8. Re: Trying to create a vector using a structure definition as the basis in VC++

    I substantially have my little program written, and it is generating a data file. I have to question the choice of variable types, because the value that is being tracked doesn't seem to change,...
  9. Re: Trying to create a vector using a structure definition as the basis in VC++

    I found:

    http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx

    in the Visual Programming forum sponsored by Microsoft.

    It appears that the errors that may be induced by writing files...
  10. Re: Trying to create a vector using a structure definition as the basis in VC++

    I searched MSN forums. Found "watch" variable thread. Set breakpoint, and after building code, waited until breakpoint was hit, then set the watch variable. Problem proved to be due to the...
  11. Re: Trying to create a vector using a structure definition as the basis in VC++

    I was trying to use the VB concept for "For Count = 1 to N" re-syntaxed as for (count = N; count =1; count --), to produce the same result but in reverse in terms of the values of "Count".

    This...
  12. Re: Trying to create a vector using a structure definition as the basis in VC++

    1. Thanks, I'll take a look, but if anyone has already done that and knows of a particularly insightful e-tome that I can download on C/C++ (or VC++), I'd certainly appreciate the name and link.
    ...
  13. Re: Trying to create a vector using a structure definition as the basis in VC++

    If anyone knows of a particularly good (free) downloadable e-book (in pdf, or e-book format) that I might download on programming in C++ that is compatible with VC++ and offers fundamental guidance...
  14. Re: Trying to create a vector using a structure definition as the basis in VC++

    Oh great 2kaud! You seem to have failed to quote from the very post of mine that contains the changes that made me anticipate the outcome that I referenced, although you did read the portion in...
  15. Re: Trying to create a vector using a structure definition as the basis in VC++

    I truly appreciate your responses.

    I'll work on the code later on today and let you know if the modifications you suggest repair the problem.

    I'd like to build a grasp of working techniques...
  16. Re: Trying to create a vector using a structure definition as the basis in VC++

    Thanks for actually going so far as to run this code through your compiler. (I don't understand how your middle term would work to pass meaningful data to the function. It looks like a memory...
  17. Re: Trying to create a vector using a structure definition as the basis in VC++

    Dear Mr. McKenzie:

    Thank you for that bit of code. I'll be reviewing and enjoying it this evening.
  18. Re: Trying to create a vector using a structure definition as the basis in VC++

    Thank you, 2kaud. I believe that if you'll check the content that is relevant to what I'm asking, there is no specific reference to the "managed code" generated by VC++. I'm seeking to debug a...
  19. Re: Trying to create a vector using a structure definition as the basis in VC++

    No, I'm not trying to learn C or C++ from scratch, but I've never tried to create a vector of structures before, and haven't written anything in C or C++ for years. Passing a vector of structure to...
  20. Re: Trying to create a vector using a structure definition as the basis in VC++

    2kaud,

    Thank you for the useful input. I've applied it, and it does seem to at least change the error messages I'm getting.

    I have some additional questions for you, if you happen to be able...
  21. Re: Trying to create a vector using a structure definition as the basis in VC++

    2kaud,

    Thank you for the useful input. I've applied it, and it does seem to at least change the error messages I'm getting.

    I have some additional questions for you, if you happen to be able...
  22. Re: Trying to create a vector using a structure definition as the basis in VC++

    Paul,

    Would you please give me the information I need to use these "code tags"? I'm not used to employing them. I'm using Chrome as a browser, if that has any effect. Thank you.
  23. Trying to create a vector using a structure definition as the basis in VC++

    I was trying to apply what is here (as someone who writes rarely and has to relearn everything each time):

    http://www.daniweb.com/software-development/cpp/threads/220872/vector-of-struct

    I'm...
  24. Re: Two Questions - Return at end of paired data points in CSV file, and how to "brea

    Thanks for the "break"!
  25. Re: Two Questions - Return at end of paired data points in CSV file, and how to "brea

    Got the line feed to work by adding \n after the float output formatting code. Still need to verify the "break" from loop solution.
Results 1 to 25 of 35
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured