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

Search:

Type: Posts; User: wolle

Page 1 of 15 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Preliminary testing of compression algorithm...

    Then why don't you write a paper about it and get it published in a scientific journal. It certainly beats bragging at a forum. :)
  2. Re: Is this a good way to become a Programmer? Urgent advice needed plz!

    That's a lot to cover in 4 months considering you are starting from scratch. It's possible to cram lots of information in a short time but it won't be internalized as working knowledge. One purpose...
  3. Replies
    8
    Views
    254

    Re: Reversing array in C++

    The immediate problem is that you reverse the array twice. If you only print the array before and afterwards you will miss this unwanted behavior of your algorithm and it will look like nothing...
  4. Replies
    8
    Views
    254

    Re: Reversing array in C++

    It's even necessary to stop at size/2 because continuing up to size will reverse the array a second time and the array will be back where it started.
  5. Replies
    1
    Views
    692

    Re: GCC debugger (GDB)

    I've only been using Visual Studio (VS) so far but I have a mental picture of what I will do if I go multi-platform.

    I will first check out to which extent I can still use VS on Windows to develop...
  6. Re: C++ .Net Managed Pointers, References, vs. original Pointers, References.

    Teaching someone C++/CLI at a forum is too tedious.

    If you're serious about the language you need to learn it from the ground up. A good place to start is the initial design rationale by Sutter,
    ...
  7. Replies
    8
    Views
    266

    Re: Multi Platform C++ .Net?

    I think I did but maybe I wasn't straightforward enough. So,

    - You most likely cannot use C++/CLI nor Visual Studio for multi-platform developments with .NET Core.
  8. Replies
    8
    Views
    266

    Re: Multi Platform C++ .Net?

    The times they are a-changing. .NET used to be strictly Windows but now it has become multi-platform! I never though I'd live to see that happen. :)

    My personal experience with C++/CLI is that it,...
  9. Re: Help solving a programming challenge optimally

    You can use the branch-and-bound approach. It's optimal in the sense that only valid numbers are generated (as opposed to generating all numbers and discarding invalid ones)

    With your example,...
  10. Re: What should one learn in C++ to develop programs like yahoo messenger ?

    Qt is a general applications framework. The ambition I think is to provide the same functionality for C++ that Java and .NET offer in their quite extensive standard libraries.

    Frameworks for game...
  11. Re: What should one learn in C++ to develop programs like yahoo messenger ?

    This is an urban myth that never seems to go away.

    It's not part of the C++ specification how C++ is supposed to be executed. A C++ program can be statically compiled before runtime, interpreted...
  12. Re: What should one learn in C++ to develop programs like yahoo messenger ?

    Learning a programming language and learning how to programming a specific application are different things. The language is a tool you swing differently depending on what you want to build and for...
  13. Re: What are some books and tutorials that focus on larger scale OO refactoring and d

    Well, already in #3 you were talking about avoiding OO (because due to issues with inheritance and reference semantics OO is no good for the design and implementation of large systems).

    That's...
  14. Re: What are some books and tutorials that focus on larger scale OO refactoring and d

    Well, since I now know where you're coming from I see no reason to continue. I know what generic programming ( la Stepanov) is and in my view it's not a viable alternative to neither object oriented...
  15. Re: What are some books and tutorials that focus on larger scale OO refactoring and d

    I don't know of any problems with reference semantics in languages that were designed with OO in mind from the ground up. In that case people wouldn't be using these languages at all.

    So it's not...
  16. Re: What are some books and tutorials that focus on larger scale OO refactoring and d

    It doesn't hurt of course but it implies that a project is organized in a traditional top-down fashion. More recent models like Agile Development argues that projects should be more dynamic and...
  17. Re: What are some books and tutorials that focus on larger scale OO refactoring and d

    None of the larger mainstream languages today with OO support require you to use strict OO design. They all offer a mix of procedural, functional and OO features. It goes for Java, C#, Python, PHP,...
  18. Re: What are some books and tutorials that focus on larger scale OO refactoring and d

    At the "architectural level" those principles could enter the picture like this for example:

    - All software in this system shall apply the single responsibility principle and the open-closed...
  19. Re: What are some books and tutorials that focus on larger scale OO refactoring and d

    It's because the same design principles apply to programs of any size. At least that's what I think. The size of the source code doesn't matter.

    In my view what matters is the number of people...
  20. Re: Returning a vector of "objects" or floats out of a function

    Firstly I would figure out what conflicts make it impossible to include <vector> and then fix that.

    Secondly I would assign each of the raw pointers to an std::shared_ptr before storing them in...
  21. Re: vector of pointers to a vector of objects, pointer or iterator?

    What's a lot?

    Firstly, sequential searches will take you a long way. It's simple and straightforward and often fast enough.

    Secondly, what you are considering is to build your own small...
  22. Replies
    4
    Views
    381

    Re: Array initialization C14

    As an alternative it's possible to use a constructor of std::vector (that does the same as the assign method) like this,


    myotherclass() : myClassArray(std::move(std::vector<myClass>(100, {5, 7,...
  23. Re: should the class constructor be defined before or after public member declaration

    Personally I put everything in the order I assume will be most helpful for users of my code to understand it. I also try to be consistent and always do the same.

    This usually coincides with more...
  24. Replies
    10
    Views
    383

    Re: compression algorithm outputting wrong data

    It didn't feel like homework from the OP's asking behavior.

    Also the coding scheme contains a flaw which is unusual for homework. If the number of repeats can exceed 9 then it's not possible to...
  25. Replies
    10
    Views
    383

    Re: compression algorithm outputting wrong data

    Your code wouldn't compile at all because you're using hextext and hextexts for the same variable.

    When I changed that I got an out-of-bounds runtime error.

    The "bogus data" probably comes from...
Results 1 to 25 of 364
Page 1 of 15 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)