Search:

Type: Posts; User: stahta01

Page 1 of 20 1 2 3 4

Search: Search took 0.08 seconds; generated 9 minute(s) ago.

  1. Replies
    5
    Views
    3,032

    Network Administrator and Network Programmer are...

    Network Administrator and Network Programmer are two different things; what you stated you wanted to do sounds like Network Administrator to me.

    Edit: I have never done either one; but, I did...
  2. Replies
    3
    Views
    1,137

    int winner(); 1. Fix the prototype for...

    int winner();


    1. Fix the prototype for winner.
    2. Stop using so many magic numbers

    Magic number (programming) - Wikipedia

    Tim S.
  3. Replies
    2
    Views
    664

    You call "sqrt(area)" twice; try calling it just...

    You call "sqrt(area)" twice; try calling it just once and assigning it to a local variable. That will only be a minor speedup; but, every little bit helps.

    Tim S.
  4. Replies
    1
    Views
    379

    FYI: Build/Re-build the code! F5 does not do...

    FYI: Build/Re-build the code!

    F5 does not do that!

    Per Keyboard shortcuts - Visual Studio (Windows) | Microsoft Docs

    Tim S.
  5. Replies
    5
    Views
    2,941

    Thanks, that is what my memory thought would...

    Thanks, that is what my memory thought would happen; but, I am going to make some coding on an C-like compiler code base; that I hope to convert to a standard C compiler in a few months or years. I...
  6. Replies
    5
    Views
    2,941

    Integer division standard question

    Does the standard say "round down" or truncate on Integer division?

    Example under my GCC, 5/2 = 2
    Edit: 11/4 also gives 2; so, my GCC truncates.



    #include <stdio.h>
    #include <stdlib.h>
  7. Thread: C complier

    by stahta01
    Replies
    5
    Views
    2,151

    Unless, it has changed the one shipped with...

    Unless, it has changed the one shipped with Code::Blocks has known issues in the GDB (Debugger for GCC)

    Tim S.
  8. Replies
    2
    Views
    2,653

    Thanks, I am now planning to cut out the code...

    Thanks, I am now planning to cut out the code generating the warning to a small test case. In the order you suggested.

    The code with warning is not obvious right or wrong to me.
    I hope the small...
  9. Replies
    2
    Views
    2,653

    Priority of checking build warnings?

    1. overloaded-virtual clang
    1. potentially-evaluated-expression clang
    1. free-nonheap-object GCC
    4. maybe-uninitialized GCC
    5. unused-const-variable clang
    6. deprecated-declarations GCC and...
  10. Replies
    8
    Views
    1,875

    The wxWidgets expert said the problem is likely a...

    The wxWidgets expert said the problem is likely a resource issue, likely memory, suffered by the MinGW64 GCC Compiler.

    Tim S.
  11. Replies
    8
    Views
    1,875

    Traced the problem to this header...

    Traced the problem to this header kicad-source-mirror/bitmap_info.h at master * KiCad/kicad-source-mirror * GitHub

    Looks like am wxWidgets wxString related issue. I was able to duplicate the...
  12. Replies
    6
    Views
    894

    Console or Graphical program? Operating System...

    Console or Graphical program?
    Operating System information?
    What data structures do you know or are required to use? Things like link lists.
    Is there any special hardware to be used?

    Tim S.
  13. C Tutorial - Learn C - Cprogramming.com...

    C Tutorial - Learn C - Cprogramming.com
  14. Replies
    8
    Views
    1,875

    The static_cast looks to be the trigger; the...

    The static_cast looks to be the trigger; the build made it passed the silent error point.

    Once, the build completes and I run the kicad command and it works will post the simple patch.

    I have...
  15. Replies
    8
    Views
    1,875

    Link to the file that has what appears to be a...

    Link to the file that has what appears to be a silent GCC build error.
    kicad-source-mirror/bitmap.cpp at master * KiCad/kicad-source-mirror * GitHub

    My current trial and error fix is removing the...
  16. Replies
    8
    Views
    1,875

    Salem: Thank you for the link. Looks like I am...

    Salem: Thank you for the link.
    Looks like I am going to try a few trial and error fixes.
    If one fixes the build issue, I will post here with the patch that fixed the issues. Because I am thinking...
  17. Replies
    8
    Views
    1,875

    enum class BITMAPS : unsigned int; I am...

    enum class BITMAPS : unsigned int;


    I am guessing that is like a forward class declaration because I found where the definition is done. I am a C programmer not really a C++ programmer.

    Tim S.
  18. Replies
    8
    Views
    1,875

    Just noticed that one line is repeated 7 times in...

    Just noticed that one line is repeated 7 times in 7 different header files.

    Tim S.
  19. Replies
    8
    Views
    1,875

    UB or GCC bug or ??

    I am building KiCAD using MinGW64 GCC 12.1 and I am getting a build error that gives no information. I traced the KiCAD code to an 60 thousand line git commit. Glancing though the patch I saw this...
  20. Found a better link; or at least my eyes thinks...

    Found a better link; or at least my eyes thinks the info is easy to read; seems to have the same info on it.
    fstat(2) — Arch manual pages

    Tim S.
  21. fstat(2): file status - Linux man page...

    fstat(2): file status - Linux man page
  22. Replies
    5
    Views
    21,701

    Thank you for the responses; I hope to start work...

    Thank you for the responses; I hope to start work on the project in the near future. I will likely learn enough to ask more questions.

    Tim S.
  23. Replies
    5
    Views
    21,701

    BeagleBoard.org - bone...

    BeagleBoard.org - bone

    Beaglebone Black Industrial running Linux Debian unknown version.

    Edit2: I am just starting and the Debian version is working on being updated; not sure if I will wait...
  24. Replies
    5
    Views
    21,701

    C program under Debian Linux and USB drive

    I am going to start an embedded C project under Debian Linux in the near future.
    And, I am thinking of trying to use an USB drive to store data.

    What should I use as the size of buffer to save...
  25. Replies
    2
    Views
    1,400

    https://www.geeksforgeeks.org/version-control-syst...

    https://www.geeksforgeeks.org/version-control-systems/
Results 1 to 25 of 499
Page 1 of 20 1 2 3 4