Search:

Type: Posts; User: QuantumPete

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    1,924

    [London] Experienced C++ developer

    Hi everyone,

    My team is looking to expand and I'm seeking an experienced C++ developer. You can see more info here:
    https://careers.bloomberg.com/hire/jobs/job40110.html
    or PM me with any...
  2. What do you mean "reset". Your pointer has a...

    What do you mean "reset". Your pointer has a different address stored? Can you post a small snippet of code that illustrates the problem?
  3. Replies
    0
    Views
    1,580

    I'm looking for a C++ Developer

    Hi everyone,

    I work for Bloomberg and my team is currently looking for a C++ developer to work with us in Central London. We deal mainly with financial software, though no finance experience is...
  4. You can't compare floats/doubles directly. Like...

    You can't compare floats/doubles directly. Like Salem already said they are inaccurate by definition. Instead do a comparison via an epsilon value. I.e. If the difference between the lhs and rhs is...
  5. Replies
    12
    Views
    11,157

    I'm going to do the whole Let Me Google That For...

    I'm going to do the whole Let Me Google That For You thing once more... and you'll find from the results that there are even two methods for doing it.
  6. Replies
    2
    Views
    1,738

    If you compile your code with debug symbols (the...

    If you compile your code with debug symbols (the -g flag) you will get much better value from your debugger. It should be able to tell you exactly which line the segfault occurs and which variable it...
  7. Replies
    6
    Views
    1,316

    I think you should learn application programming...

    I think you should learn application programming before you dive into the kernel
  8. Replies
    15
    Views
    4,855

    I don't think you can afford my hourlies...

    I don't think you can afford my hourlies...
  9. Replies
    12
    Views
    11,157

    Seriously... spoon-feeding... How would you go...

    Seriously... spoon-feeding...
    How would you go about ensuring that an action is carried out only once? Perhaps some state variable that can be checked via an if condition? When you encounter a "."...
  10. Replies
    12
    Views
    2,387

    What do you suggest the OP use instead?

    What do you suggest the OP use instead?
  11. There is no memory allocated for your target...

    There is no memory allocated for your target variable. You're basically using gets (which is bad by itself, you should use fgets) to write into a random part of memory. This is called undefined...
  12. Replies
    15
    Views
    1,748

    Code compiling without errors (and warnings...

    Code compiling without errors (and warnings hopefully) is no guarantee that it does what you want! It just means you don't have any compiler errors (or warnings)
  13. Replies
    9
    Views
    2,100

    Does this forum look like a ticketing system to...

    Does this forum look like a ticketing system to you?
  14. Replies
    4
    Views
    1,154

    If the pointer is NULL, you're trying to access...

    If the pointer is NULL, you're trying to access an invalid part of memory, hence the segmentation fault. You need to allocate memory first and assign its address to aux.lista before dereferencing.
  15. Replies
    14
    Views
    1,446

    It's because it's less-than-or-equal to i.e. if...

    It's because it's less-than-or-equal to i.e.
    if (a <= 6)
  16. Replies
    12
    Views
    11,157

    We're heading down the slippery slope where you...

    We're heading down the slippery slope where you don't engage your brain and expect me to breadcrumb you to the answer...

    There is no isfloat function that works on a char, because a char can't...
  17. Replies
    3
    Views
    989

    1. Don't use non-descriptive variable names like...

    1. Don't use non-descriptive variable names like "k"
    2. main should be declared as returning an int and thusly return something.
    3. Variables should be declared on their own lines and always...
  18. Replies
    12
    Views
    11,157

    How about using Google?...

    How about using Google?

    It's amazingly useful, within seconds I found this!
  19. Replies
    6
    Views
    1,195

    This doesn't do what you want. It will always be...

    This doesn't do what you want. It will always be true if sum2 is not 7 but greater than 0. Remember that there's a difference between assignment (=) and an equality check (==)
  20. Because when the user enters a, the...

    Because when the user enters a<return>, the return is left in the buffer (since you only asked for a char. Easiest way to fix this is to add a space between the quotation mark and percent sign in...
  21. Replies
    9
    Views
    1,229

    You've been taught to now...

    You've been taught to now...
  22. Replies
    10
    Views
    1,040

    To you maybe, but when it comes to generating...

    To you maybe, but when it comes to generating machine code from C, the compiler is way smarter than you.
  23. Replies
    5
    Views
    3,621

    I found this ...

    I found this very useful when I was studying.
  24. Replies
    10
    Views
    1,513

    The question is why would you even want to do...

    The question is why would you even want to do that?
  25. Replies
    10
    Views
    1,147

    Like whiteflags said, you should follow the rules...

    Like whiteflags said, you should follow the rules and best practices first. A couple to get you started:
    1) Don't use conio.h it's non-standard
    2) main should be declared with an int return
    3)...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4