Search:

Type: Posts; User: Dadu@

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,595

    How to use GDB for debugging code

    I have installed GCC compiler with mingw on my windows machine. I write my code on notepad++ and run in command promote.

    I found GDB stands for GNU Project Debugger and is a debugging tool for C...
  2. Replies
    1
    Views
    68,376

    Linux Programming

    I have zero knowledge about linux programming so i want to know more about this sub forum title "Linux Programming.

    Linux for me is an operating system developed by the programming language.

    ...
  3. Replies
    11
    Views
    3,448

    System checks if S1 and S2 are high then system...

    System checks if S1 and S2 are high then system announces publicly, go forward

    If the driver stops the vehicle at S2, the machine measure weight loaded on vehicle.

    If vehicle stops at S2 and...
  4. Replies
    11
    Views
    3,448

    It make sense, But it is not understood that when...

    It make sense, But it is not understood that when the vehicle stops at sensor 2 after crossing sensor 1, so what is the need to check sensor 3 first.

    When the vehicle stops at sensor 2, the...
  5. Replies
    11
    Views
    3,448

    The white square is the transmitter and receiver...

    The white square is the transmitter and receiver of the sensor. When the transmitter detects an object, it sends it to the receiver and the receiver sends it to the micro-controller. So we have a...
  6. Replies
    11
    Views
    3,448

    This is my truth table 0 0 0 - " The truck is...

    This is my truth table

    0 0 0 - " The truck is not on the weighbridge "
    0 0 1 -" Please go ahead"
    0 1 0 " You are in the right place"
    0 1 1 " Please go ahead"
    1 0 0 " Please go back"
    1 0 1...
  7. Replies
    11
    Views
    3,448

    vehicle position system

    please see the picture given in following link i need to write a code for similar situation whose logic i am not able to understand

    Vehicle Positioning System “AND-VPS”, Ahmedabad, Gujarat, India...
  8. Trying to understand logic before to write code

    Let's say a microcontroller is connected to two green lights, two red lights, two motors, six switch buttons and a sensor

    Light_One_RED
    Light_Two_RED

    Light_One_GREEN
    Light_Two_GREEN
    ...
  9. can we see the address of the variable in the...

    can we see the address of the variable in the debug window without declaring the pointer?

    If you don't declare pointer pcount then how would you see address of variable count
  10. how to watch variable address with variable value in code block

    I have successfully installed code block on my window computer. I also compiled and debugged the code. I can watch variable value but I don't understand how to watch variable address with variable...
  11. Replies
    9
    Views
    2,265

    @salem Which Linux distribution do you use?

    @salem
    Which Linux distribution do you use?
  12. Replies
    9
    Views
    2,265

    @salem Personally which complier and Ide do...

    @salem

    Personally which complier and Ide do you use to debug C program?
  13. Replies
    9
    Views
    2,265

    I don't want to debug in terminal. Is it...

    I don't want to debug in terminal. Is it possible to debug in IDE
  14. Replies
    9
    Views
    2,265

    I am using gcc through MinGW64 on windows can...

    I am using gcc through MinGW64 on windows

    can i set break point using gdb
    can i step through in code?
  15. Replies
    9
    Views
    2,265

    How do you debug your code

    I use window operating system. I am looking debugger to debug c program. Which debugger will you recommend for debugging

    Is visual Studio a best choice?
  16. Thank you so much #include ...

    Thank you so much


    #include<stdio.h>

    #include<stdlib.h>

    struct node
    {
    int data;
  17. pointer of current node should be point to first node

    I am trying to make circuler linkel list. I have created single linked list. In a code, pointer of current node point to previous node. I want to change pointer so that pointer of current node will...
  18. Yes, because we are only passing copy of variable...

    Yes, because we are only passing copy of variable


    I am having hard time to understand linked list. I am reading my old threads many time and trying to understand them



    ...
  19. Why print statement doesn't show structure value

    This is my code


    #include<stdio.h>

    #include<stdlib.h>

    struct node
    {
    int data;
  20. Replies
    2
    Views
    2,480

    'new' is local variable that hold memory location...

    'new' is local variable that hold memory location but what's memory address of new where it is stored. Is 0061FEEC address of new where it hold memory location of other variable
  21. Replies
    2
    Views
    2,480

    Why program print two different locations

    In program I am expecting address of 'new' and address of first member sould be same


    #include<stdio.h>

    #include<stdlib.h>


    struct node
    {
  22. I want to understand why this warning resolve by...

    I want to understand why this warning resolve by declearing double pointer
  23. warning: passing argument 1 of 'foo' from incompatible pointer type

    I am doing experiements with code to understand pointer


    #include <stdio.h>#include <stdlib.h>


    void foo ( int *p)
    {
    int *q = malloc(sizeof(*q));
    if ( q != NULL )
  24. Replies
    8
    Views
    4,721

    I ran your code but I get same result as previous...

    I ran your code but I get same result as previous


    hello.c: In function 'main':hello.c:11:11: warning: unknown conversion type character 'h' in format [-Wformat=]
    scanf ( "%" SCNu8,...
  25. Replies
    8
    Views
    4,721

    I have gcc --versiongcc (MinGW.org...

    I have

    gcc --versiongcc (MinGW.org GCC-6.3.0-1) 6.3.0
    Copyright (C) 2016 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not...
Results 1 to 25 of 73
Page 1 of 3 1 2 3