Search:

Type: Posts; User: stahta01

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. From your questions I have decide I need to keep...

    From your questions I have decide I need to keep an copy of all my microSD card images.
    I already planned to do that. But, the number of different images need has gone up as result of your...
  2. Regular user-space programs. At first the OS...

    Regular user-space programs.

    At first the OS and user-space programs will all be on a microSD card.

    The long term location of the Linux OS and user-space programs is still under consideration....
  3. Embedded Debian Linux: Use cross or native compiler?

    I am going to be working on an "BeagleBone Black" that will be running an Debian Linux distro.

    BeagleBoard.org - latest-images
    Current plan is to use "AM3358 Debian 10.3 2020-04-06 1GB SD...
  4. Replies
    10
    Views
    422

    What is that text image file extension used by...

    What is that text image file extension used by some instructors? Maybe that will be better for an newbie.

    Tim S.
  5. Replies
    12
    Views
    534

    Avoid magic numbers/constants in programming. ...

    Avoid magic numbers/constants in programming.

    Magic number (programming) - Wikipedia

    Tim S.
  6. Replies
    3
    Views
    269

    I am far from being an makefile expert I would...

    I am far from being an makefile expert I would say I am a Advanced Beginner.

    But, the line below implies to me that if the ".o" files do not exist the results would be different.


    OBJ :=...
  7. Replies
    1
    Views
    230

    Step 1: Do the input and output the approximate...

    Step 1: Do the input and output the approximate linear equation for the given input.
    Step 2a: Use variables to save the min X and the max X value from the given input
    Step 2b: Use variables to save...
  8. Replies
    5
    Views
    439

    FindX11 — CMake 3.22.0-rc1 Documentation...

    FindX11 — CMake 3.22.0-rc1 Documentation

    I would try finding the X11 and then linking the libraries.

    X11_LIBRARIES

    You could try only changing
  9. Please explain why you think you code will ever...

    Please explain why you think you code will ever have both "Rec_area>Tri_area" and "Rec_area<Tri_area" true.

    NOTE: Nesting the second if inside the first is wrong. You likely need an else if...
  10. Changed case 10 to case '\n':

    Changed case 10 to


    case '\n':
  11. ncurses example program conversion to C++

    I have decide to make an simple C++ and shell script program to help me with git commands.

    My current request is for you to look for things not done correctly for C++. I tried to use const where...
  12. x++; The malloc return value was stored in...

    x++;


    The malloc return value was stored in X; changing the value of X results in the value being destroyed!

    Tim S.
  13. Please do not destroy values returned from malloc...

    Please do not destroy values returned from malloc commands!

    Use a second pointer that you then change instead!

    Tim S.
  14. Replies
    16
    Views
    1,001

    Without you posting code! I see no way anyone on...

    Without you posting code! I see no way anyone on this website who does not use your IDE to help you!

    Tim S.
  15. Replies
    16
    Views
    1,001

    You can ignore my post I was thinking you were...

    You can ignore my post I was thinking you were using the Code::Blocks IDE; since what you stated you did sounded like an Code::Blocks option.

    Since, I have no knowledge about either your code or...
  16. Replies
    16
    Views
    1,001

    Whenever you are using an Code::Blocks custom...

    Whenever you are using an Code::Blocks custom makefile project, you need to look inside the makefile for the cause and solution of the build problems.
    Only after the build works from the command...
  17. Links that might help understand the differences....

    Links that might help understand the differences.

    C Preprocessor Directives - C and C++ Syntax Reference - Cprogramming.com
    Tutorials - C Preprocessor Tricks - Cprogramming.com

    To me a macro...
  18. Replies
    3
    Views
    368

    You are using the compiler or your IDE wrong. ...

    You are using the compiler or your IDE wrong.

    If compiling on the command line post the commands you are using.
    If using an IDE post information about your IDE.

    Tim S.
  19. What is Context Switching in Operating System?...

    What is Context Switching in Operating System?

    Context switch - Wikipedia

    How you are going to do context switching is likely a very important thing to decide.

    Tim S.
  20. The first task is to describe the problem you are...

    The first task is to describe the problem you are trying to solve.
    Then, describe each part/step/sub-task of the problem.

    Of the three you listed (flowchart, block diagram, state diagram); block...
  21. Replies
    9
    Views
    867

    That is my guess; but, I have found my guess are...

    That is my guess; but, I have found my guess are often wrong about which optimize option causes a GCC program bug/crash.

    Tim S.
  22. Replies
    9
    Views
    867

    I did not see the problem with "-Og" can anyone...

    I did not see the problem with "-Og" can anyone else confirm this?
    MSys2 GCC 10.3.0
  23. Replies
    9
    Views
    867

    Correction it did have the bug; I forgot to set...

    Correction it did have the bug; I forgot to set optimize option on first test


    gcc.exe (Rev5, Built by MSYS2 project) 10.3.0


    Tim S.
  24. Replies
    7
    Views
    502

    For, While and Do While Loops in C -...

    For, While and Do While Loops in C - Cprogramming.com

    I would likely use a for loop.

    Tim S.
  25. Replies
    20
    Views
    1,219

    Dynamic memory means you can change the amount of...

    Dynamic memory means you can change the amount of memory at run-time. Non dynamic called by you static memory (I do not consider this 100 percent correct) is fixed/set at compile time. As you write...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4