Search:

Type: Posts; User: thmm

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    376

    Yes it prints only the first 2 lines.

    Yes it prints only the first 2 lines.
  2. Thread: Beginner

    by thmm
    Replies
    5
    Views
    385

    Another option is Pelles IDE...

    Another option is Pelles IDE
  3. Replies
    4
    Views
    457

    @laserlight, You are 100% right. I don't like...

    @laserlight,
    You are 100% right.
    I don't like the term RAII. A better term might be Automatic Resource Management.
  4. Replies
    4
    Views
    457

    That sounds like a contradiction to me. RAII is...

    That sounds like a contradiction to me. RAII is based on destructors.
  5. Replies
    8
    Views
    1,268

    Wouldn't it be more sensible to check the number...

    Wouldn't it be more sensible to check the number before you add it to the vector ?
  6. Replies
    10
    Views
    683

    :: is called the scope resolution operator. ...

    :: is called the scope resolution operator.

    More details here: https://stackoverflow.com/questions/15649580/using-in-c
  7. Replies
    125
    Views
    8,546

    No I didn't. I just saw the comment.

    No I didn't. I just saw the comment.
  8. Replies
    125
    Views
    8,546

    What are you talking about? 0 fits in an unsigned...

    What are you talking about? 0 fits in an unsigned int.

    #include <stdio.h>

    int f()
    {
    return 0;
    }
  9. Replies
    10
    Views
    1,598

    if (bin = 1) The equal operator is ==, not =.

    if (bin = 1)
    The equal operator is ==, not =.
  10. Replies
    2
    Views
    670

    This might be interesting: ...

    This might be interesting:
    https://www.amazon.co.uk/Secure-Programming-Cookbook-Cryptography-Authentication/dp/0596003943/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1625828519&sr=1-10
  11. Thread: Help; Help: Help!

    by thmm
    Replies
    4
    Views
    524

    There might be no input file. The emails could be...

    There might be no input file. The emails could be inside a running instance of Notepad.
  12. Replies
    8
    Views
    1,078

    Thanks John, all clear now.

    Thanks John, all clear now.
  13. Replies
    8
    Views
    1,078

    Doesn't the C Runtime replace \r\n with a single...

    Doesn't the C Runtime replace \r\n with a single \n or is this only in C++ ?
  14. Replies
    2
    Views
    3,228

    HAve a look here: Reference Source...

    HAve a look here: Reference Source
  15. Replies
    1
    Views
    499

    Hi and welcome to the forum.

    Hi and welcome to the forum.
  16. Replies
    35
    Views
    3,490

    What Windows do you use? Under Windows 10 you...

    What Windows do you use?
    Under Windows 10 you can enable long filenames with a length of 32,767 chars
    Enable long file name support in Windows 10 | IT Pro
  17. Replies
    35
    Views
    3,490

    Wouldn't it be an option to store the checksum in...

    Wouldn't it be an option to store the checksum in the filename ?
  18. Replies
    35
    Views
    3,490

    It works with the dirent header from above link....

    It works with the dirent header from above link.
    Just 1 warning: main.c(42,28): warning C4133: 'function': incompatible types - from 'stat *' to '_stat64i32 *'
  19. Replies
    35
    Views
    3,490

    No, Visual Studio doesn't have dir.h. stat.h...

    No, Visual Studio doesn't have dir.h.

    stat.h is in sys/stat.h
  20. Replies
    3
    Views
    850

    Sounds you added a project to an existing...

    Sounds you added a project to an existing solution. Did you add the references to the other projects in the solution?
    What version of Visual Studio do you use?
    There are books about Visual Studio...
  21. Thread: static array list

    by thmm
    Replies
    5
    Views
    920

    To add first digit => array[0] = 1 To add second...

    To add first digit => array[0] = 1
    To add second digit => array[1] = 2
    and so on until 5th digit which will be in array[4]

    To print the array use a simple for loop.
  22. Thread: Pointers stuff

    by thmm
    Replies
    4
    Views
    1,551

    Shouldn't this post be in the C section? It's not...

    Shouldn't this post be in the C section? It's not C++.
  23. Replies
    3
    Views
    1,147

    I am not sure if it is worth for a beginner to...

    I am not sure if it is worth for a beginner to bother about.
    But if you insist, there is an example: C library function - setvbuf() - Tutorialspoint
  24. Thread: Binary file

    by thmm
    Replies
    11
    Views
    2,114

    As far as I see it seems ok, but I am not an...

    As far as I see it seems ok, but I am not an expert.
  25. Thread: Binary file

    by thmm
    Replies
    11
    Views
    2,114

    I guess the op wants to run it only on his...

    I guess the op wants to run it only on his machine so this assumptions are justified.
Results 1 to 25 of 88
Page 1 of 4 1 2 3 4