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

Search:

Type: Posts; User: wolle

Page 1 of 21 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    34
    Views
    8,140

    Sticky: Re: Input wanted: 3rd Party Products

    Yes I evaluated C++/CLI for use in a new application many years ago as an alternative to C#. The idea was that it would allow me to write a proper Windows application for example using WPF for a GUI...
  2. Replies
    34
    Views
    8,140

    Sticky: Re: Input wanted: 3rd Party Products

    There is no such thing as a low power language because whether a language runs as compiled or interpreted is not a property of the language itself. All languages can be run both as compiled or...
  3. Replies
    34
    Views
    8,140

    Sticky: Re: Input wanted: 3rd Party Products

    According to the TIOBE index for October 2019,

    https://www.tiobe.com/tiobe-index/

    roughly the same 8 languages have been on top for 15 years. C++ is currently at place 4 with a solid 6% rating...
  4. Replies
    34
    Views
    8,140

    Sticky: Re: Input wanted: 3rd Party Products

    I didn't say one was better than the other. I just mentioned a popular competitor.

    I think introducing a free community version of Visual C++ made more for its popularity than all technical...
  5. Replies
    34
    Views
    8,140

    Sticky: Re: Input wanted: 3rd Party Products

    "Clever editor" is the long-term trend also Visual Studio is following. Even though it would be convenient I don't think there will ever be a complete Visual Studio including ported versions of...
  6. Replies
    34
    Views
    8,140

    Sticky: Re: Input wanted: 3rd Party Products

    There's another one called wxWidgets which is said to be quite similar to MFC. It's been around for a long time and seems well supported. The day I'm abandoning WTL I'm going for it. :)
    ...
  7. Thread: Career in ccna

    by wolle
    Replies
    3
    Views
    1,866

    Re: Career in ccna

    Well, a Cisco certification is only valid for 3 years then you need to re-certify.

    I've always been slightly suspicious about company certifications. Isn't it just yet another way to promote a...
  8. Re: White Noise

    DAW seems to be a generic name for any Digital Audio Workstation.

    https://en.wikipedia.org/wiki/Digital_audio_workstation

    Is there a specific DAW you have in mind?

    At first I thought you...
  9. Replies
    4
    Views
    308

    Re: TCHAR type when UNICODE is On or Off

    I think it's for historical reasons.

    Way back when C got the char the dominant character coding was 7-bit ASCII and we needed a type for that. Why not make it 8 bit with a sign bit so we can use...
  10. Replies
    7
    Views
    508

    Re: binary search tree

    You're right. Adding something at the end of an std::vector is an O(1) operation (*) so this won't change the overall O(N) complexity of the algorithm even if you do it each time you have a new D.
    ...
  11. Replies
    7
    Views
    508

    Re: binary search tree

    1. The tree is recursively traversed once.

    2. Whenever a leaf is reached a return record R is filled in. It's then passed down when the recursion winds back toward the root.

    3. The return...
  12. Re: Is there a way to remove or reduce randomness from debugging?

    It sounds like you're using Emacs and the GNU debugger. In that case it's better if you search for info about these specific tools otherwise you only get general advice like use a modern IDE or use...
  13. Re: Will this header only strategy, avoid circular inclusion?

    This is kind of the standard way to break up circularly dependent classes. Also many so called design patterns in OO have this purpose for example Mediator. Instead of communicating directly with...
  14. Re: Will this header only strategy, avoid circular inclusion?

    Who says that? The C++ standard doesn't. It's just an old convention that makes little sense today.
  15. Re: Will this header only strategy, avoid circular inclusion?

    Circular inclusion problems can often be resolved by a design change because they indicate tight coupling (like you have between the A and B classes). A first step in my view is to get rid of the...
  16. Replies
    7
    Views
    583

    Re: pass to function

    Mine too :)

    I think you should avoid &flight[0] and flight.data().

    There is no reason to use it just because you can. Save it for situations where you have no choice. Normally, if you have...
  17. Replies
    10
    Views
    799

    Re: Program to decompress a compressed string

    Here's a solution that takes the simple structure of the input string into account. The input string is just a hierarchy of r[............] elements.

    1. When digits are found r is built until [ is...
  18. Replies
    10
    Views
    799

    Re: Program to decompress a compressed string

    Yes the input strings can actually be viewed as programs,



    // input 1: 3[a1[b2[c]]]
    for (int i=0; i<3; ++i) {
    std::cout << "a";
    for (int j=0; j<1; ++j) {
    std::cout << "b";
    for...
  19. Replies
    8
    Views
    547

    Re: map name does not name a type error

    Unfortunately I've no experience with C++98.

    The only quick solution I can think of without too many changes is to only assign data when the map is empty. This will be the case once only. The...
  20. Replies
    8
    Views
    547

    Re: map name does not name a type error

    Well after I had realized that my Singleton approach was unnecessarily complicated :) I would've changed to an ordinary global function instead like,



    #ifndef MY_CONSTANTS_ONCE
    #define...
  21. Replies
    8
    Views
    547

    Re: map name does not name a type error

    I'm pretty certain the global declaration has something to do with it. You can check that hypothesis by declaring it local and see if the problem goes away.

    If I wanted a global map I would...
  22. Re: How can I use ANTLR generated lexer/parser source code?

    Well, I don't mind if they're put back again if at all possible.

    I reacted in anger because I find the OP rude and I've reported that.
  23. Re: How can I use ANTLR generated lexer/parser source code?

    This is where the Visitor part of the example kicks in,


    ParseTree tree = parser.r();
    ParseTreeWalker walker = new ParseTreeWalker();
    walker.walk( new HelloWalker(), tree );

    ...
  24. Re: How can I use ANTLR generated lexer/parser source code?

    There's a small fee of admission. You will need to check out the Visitor design pattern (also called Walker). It's because ANTLR4 generates a parse tree that's supposed to be traversed using a...
  25. Re: How can I use ANTLR generated lexer/parser source code?

    I found this ANTLR reference for free on the net,

    http://lms.ui.ac.ir/public/group/90/59/01/15738_ce57.pdf
Results 1 to 25 of 506
Page 1 of 21 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)