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

Search:

Type: Posts; User: spiritualfields

Page 1 of 11 1 2 3 4

Search: Search took 0.03 seconds.

  1. _BLOCK_TYPE_IS_VALID(pHead->(nBlockUse) debug assertion error

    EDIT: NEVER MIND, I totally blanked out and didn't realize that I was actually trying to delete an array that WASN"T created on the heap! IGNORE -> I can't figure out why I'm getting a...
  2. Re: Initializing A Vector Of Vectors Of Strings

    That's EXACTLY why I wanted to work with vectors. The user will not be able to delete elements (which themselves are arrays of strings), but they will be able to insert new elements, and write into...
  3. Replies
    21
    Views
    16,533

    Re: Visual Studio 2012 and C++, MFC

    I've been hearing about MFC being legacy for years now. I'm thinking that that rap is more urban legend and MSFT wishful thinking than anything else. The other day I downloaded and installed...
  4. Re: Initializing A Vector Of Vectors Of Strings

    I don't know. My knowledge of STL is weak. What I need is a container of string arrays, like this:


    SOME_CONTAINER_WITH_ELEMENTS_ACCESSIBLE_BY_INDEX
    {
    {"hello", "string", "string", "", "",...
  5. Initializing A Vector Of Vectors Of Strings

    I thought that C++0x made it possible for vectors to be initialized with an initializer list, such as:


    vector<vector<string> > vv {{"hello", "goodbye", ""}};

    I tried this syntax in both VS...
  6. Re: Problem With Declaring Variables In A Function

    Thanks! That was the problem.
  7. Problem With Declaring Variables In A Function

    This is a c program that is failing to compile. The error occurs in the calcLabs() function. The error called out is (btw, I'm using VS 2010): Error 4 error C2143: syntax error : missing ';' before...
  8. Re: What would I have to pay for VC++ 2010 Pro in Germany?

    I ended up like that by luck because I hadn't done any real programming since around 2002 but had still kept up with the Visual Studio versions, just not installing the service packs because I wasn't...
  9. Re: What would I have to pay for VC++ 2010 Pro in Germany?

    It just so happens that I also have VS 2005 and VS 2008, so I did a comparison between the three. The conditions: Console program with MFC with static linking, no additional code to what was...
  10. Re: What would I have to pay for VC++ 2010 Pro in Germany?

    One thing you could do is start off the line of code with just _tprintf, and add the VERIFY wrapper after you've coded the string. However, all you'll get for popup help for _tprintf is: (const...
  11. Re: What would I have to pay for VC++ 2010 Pro in Germany?

    If the literature on the site you get explicitly mentions that you can upgrade to VS2010 professional from an Express edition of Visual Studio, and if you have none of the recent versions of VS and...
  12. Re: What would I have to pay for VC++ 2010 Pro in Germany?

    According to a picture of the box on the U.S.A. page, the upgrade only applies to VS2005 and VS2008 users.
    ...
  13. Re: What would I have to pay for VC++ 2010 Pro in Germany?

    The online microsoft store is selling the upgrade version of VS2010 professional for $299. To see what's available in Germany, you could select the Germany as the country, and you'll be shown the...
  14. Replies
    1
    Views
    526

    Visual Studio Command Line

    I'm using Visual Studio 2010, so technically this seems the best forum to ask my question. If I run a console app from the dos command line, I can redirect the input to come from a text file, which...
  15. Re: Simple String manipulation problem

    Two things:

    1. You should initialize numtimes to 0 before you use it
    2. Compare word[i] to letter[0]
  16. Replies
    3
    Views
    523

    Re: Need Help Identifying A Language

    Hmm ... using Spy++ shows that the the framework is .NET (WindowsForms10 is the top namespace for the controls). Yet the only requirements listed on the site's web page is: "System Requirements: Any...
  17. Replies
    3
    Views
    523

    Need Help Identifying A Language

    I downloaded an application for my own personal use, and am quite impressed by the GUI associated with it. I don't know if it was written in a .NET language or native C++. If the former, I don't know...
  18. Replies
    1
    Views
    726

    Visual Studio 2005 and .NET 3.0

    I've got Window Vista Home Premium. From what I understand, to "install" .NET 3.0, all I need to do is go to the control panel, select Programs and Features, then click on Turn Windows Features on or...
  19. Replies
    8
    Views
    609

    Re: Help with cin

    Yes, you should be very specific in your information. Strictly speaking, it isn't 8 numbers that the user should input, but one number containing 8 digits. I only gleaned this from your



    line...
  20. Replies
    20
    Views
    1,791

    Re: .11 * 100 trouble in C++

    On second thought:


    It would be less complicated to do it this way:

    (int)(.11 * 100 + .5)
    (int)(.9 * 10 + .5)
    (int)(.359 * 1000 + .5)
  21. Replies
    20
    Views
    1,791

    Re: .11 * 100 trouble in C++

    It seems that all you want to do is take a fractional decimal number and turn it into an int with the same digits? For example:

    .11 to 11
    .12 to 12
    .17 to 17
    .359 to 359
    .7 to 7

    and so on?
  22. Replies
    11
    Views
    1,307

    Re: Help with drawing vertical text?

    Here's another thought. Based on the results that I got from my test of GetTextExtent in MM_TEXT mode, and assuming that in all modes it returns the true length of the string regardless of angle,...
  23. Replies
    11
    Views
    1,307

    Re: Help with drawing vertical text?

    Based on your output, it looks like GetTextExtent is trying (but not succeeding) to always output the true length of the string regardless of the angle. That is actually what I had always thought it...
  24. Replies
    11
    Views
    1,307

    Re: Help with drawing vertical text?

    Your code that does the centering looks okay, and assuming that the crosshairs are centered properly when you zoom in and out, then the entire problem is most likely based around what GetTextExtent...
  25. Replies
    11
    Views
    1,307

    Re: Help with drawing vertical text?

    I don't know if this assumption is correct, but if it isn't, then it could be what's causing the problem. For example, if your string is length 2 inches (for simplicity), and if it is oriented at an...
Results 1 to 25 of 252
Page 1 of 11 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center