Search:

Type: Posts; User: Exosomes

Search: Search took 0.01 seconds.

  1. Valgrind is one of my favorite tools ever. I use...

    Valgrind is one of my favorite tools ever. I use it all the time for my C projects in Linux. I wasn't aware that it worked with C++ much less in Windows. I will certainly try it, thanks!

    After...
  2. MSVSC++ program works incorrectly when inline function optimization is turned on.

    The program works fine in debug mode. It doesn't in release mode with optimizations enabled, more specifically "Inline Function Expansion" enabled. Disabling inline expansion (/0b0) which is on by...
  3. Replies
    3
    Views
    3,536

    I don't think it's a matter of precompiled...

    I don't think it's a matter of precompiled headers. I think I'm just configuring my project incorrectly. But who knows, you might be on to something.

    @thmm, you are correct I am adding a project...
  4. Replies
    3
    Views
    3,536

    Good Visual Studio Resource?

    First time Visual Studio User. Using it out of necessity rather than preference since I'm working on an existing and extensive code base that uses that environment.

    The solution compiles fine, my...
  5. Replies
    2
    Views
    2,264

    Besides what Salem said, I'd like to add two...

    Besides what Salem said, I'd like to add two things:
    1. Identifiers. On one side you have those that name their variables 'a' and 'foo'. This is bad. On the other, you have...
  6. Wow, many thanks for your thorough and detailed...

    Wow, many thanks for your thorough and detailed response! This site is definitely a welcome change from Stack Overflow.

    I've nothing against private function members, in fact that's what I ended...
  7. int arr[] = {1, 2, 3, 4}; arr[1] = 0; //2nd...

    int arr[] = {1, 2, 3, 4};
    arr[1] = 0; //2nd element deleted
    After that, each element stays in the same order. The only difference is the second element is 0.
    If what you mean is to re-arrange the...
  8. Thanks! I gathered as much before posting, but...

    Thanks!
    I gathered as much before posting, but wanted to hear from a knowledgeable person if there was a way around it, as I quite liked the whole arrangement.
    In any case, it turns out your...
  9. Using an unnamed enum as parameter of class constructor.

    I'm learning C++ while working on a GUI for my console based program.
    I have one class 'Tab' which so far has a single constructor that takes no arguments and builds the layout I specified.
    I want...
  10. Laser light is correct, but I still like your...

    Laser light is correct, but I still like your solution.
    I find interesting the different ways people go about solving the same problems; it's always cool to see new approaches. Perhaps I'd update...
  11. Bonus question: I wonder if there is a way to...

    Bonus question: I wonder if there is a way to simplify the ((find_duplicate && items) || (!find_duplicate && !items) ) expression.
    I've played around with it and can transform it to one form or...
  12. Rewriting function into a more generic form.

    Usually I don't pay much particular attention to how generic or flexible my code is. If it doesn't jump straight into sight as being something obviously reusable, I don't make it reusable. Mainly...
  13. Replies
    6
    Views
    7,483

    From reading your posts, I get the impression...

    From reading your posts, I get the impression that the ultimate goal is to gain access to this "flag" hidden in one of those accounts. If that's the case perhaps there is no vulnerability -in a...
  14. Design. Good approach for Implementing GUI on existing CLI program.

    I wrote a simple text manipulation program in C, on my Linux machine and crosscompiled it for my Windows target audience using MingW64. To make it more accessible I want to create a simple GUI for it...
  15. Replies
    6
    Views
    7,483

    This is pretty cool. I didn't know an email...

    This is pretty cool. I didn't know an email server could be so simple. I guess I hadn't thought about it :)

    1. I'm no programmer, but right out of the gate I don't like that the salt is static...
Results 1 to 15 of 15