Search:

Type: Posts; User: abhi143

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,102

    common step to write c code for wifi device

    There are many Wifi device on market such as PC, smart phone, smart watch wifi dongle for which c code is written.

    What are common things in all devices that should be know when writing code. I...
  2. Replies
    2
    Views
    3,597

    co operative scheduler design

    Hi
    I write code for microcontroller I want to write my own scheduler for microcontroller. But I am not getting any idea even after searching a lot

    scheduling is process by which operating...
  3. Thread: School Record

    by abhi143
    Replies
    6
    Views
    7,975

    Thank you laserlight and salem okay So I made...

    Thank you laserlight and salem

    okay So I made a list just to store student fees.


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

    struct node{
    int Fees;
    struct node *next;
  4. Thread: School Record

    by abhi143
    Replies
    6
    Views
    7,975

    School Record

    I want to write a C program that stores the records of student studying in school. I would like to take less memory to store record

    format for record

    Name :
    Class :
    Fees :
    Year :
    ...
  5. That I know malloc allocate memory at run time...

    That I know malloc allocate memory at run time but again there is sentence " allocate memory at run time " That's not clear for me
  6. What's meaning of allocate memory at Run time

    When we write a program, we build and compile it, then the program runs on the PC, which is called the run time.

    we say allocate memory at RUN time, This confused me a lot, What's meaning of...
  7. Can we modify the const qualifier with volatile

    constant qualifier indicate that value of variable will not change while volatile variable indicate that value of variable may be change

    Can we modify the const qualifier with volatile?
  8. compile time means that we have written the...

    compile time means that we have written the program and we have to do compile it to check the error. Run time means that the program has been compiled and now it will run on the device

    Whenever...
  9. when do you think dynamic memory is useful instead of static memory ?

    I am looking for example that prove dynamic memory will be useful instead of static memory. Dynamic memory is allocated at run time where as static is allocated at compile time.

    I found example...
  10. Replies
    2
    Views
    5,156

    How to avoid Structure Padding in C?

    #include <stdio.h>

    struct point
    {
    int x;
    char y;
    float z;
    }var;
  11. Replies
    12
    Views
    4,156

    That's what I am trying to do it ? so can you...

    That's what I am trying to do it ?

    so can you give idea , pesudo code be batter
  12. Replies
    12
    Views
    4,156

    so can you give me idea How it can be achieve...

    so can you give me idea How it can be achieve without sorting

    in simple way if i ask to someone who doesn't have programming knowledge how his brain work to find repeated number, what does he...
  13. Replies
    12
    Views
    4,156

    my second option is sorting because I don't know...

    my second option is sorting because I don't know much about it
    I have practiced with basics It would to early to jump on sorting method, ofcourse I will learn but not now. so that's why i want to...
  14. Replies
    12
    Views
    4,156

    just for basic understanding, do you know how...

    just for basic understanding, do you know how that algorithm can be implement in program ?

    Note : not asking complete program just asking process or pescudo code
  15. Replies
    12
    Views
    4,156

    How to find repeated number in the sequence

    I have no idea how to write program to find repeated number in the given sequence

    Numbers[ ] = [ 6, 4, 2, 1, 3, 1 ]

    Program output : Number 1 repeats 2 times

    My attempt to make algorithm ...
  16. Replies
    1
    Views
    3,483

    Embedded is the combination hardware and...

    Embedded is the combination hardware and software,
    How do you practicing c/c++ ?
    Do you have any development board ?
    Which micro you were asking , there are many 8051, PIC, ARM ?

    There are so...
  17. Replies
    5
    Views
    3,830

    As much as I have seen, we keep the micro in the...

    As much as I have seen, we keep the micro in the header file. So I created two files main.c other.h

    What could be best example for #ifdef, #if, #defined, #else and #elseif directives ?
  18. Replies
    5
    Views
    3,830

    I do not understand what should be in main...

    I do not understand what should be in main function that's why left main empty. I don't found complete code that's why tried with my own code
  19. Replies
    5
    Views
    3,830

    How to use conditional?

    I have seen in many link there is more theoretical description about preprocessor

    C Preprocessor and Macros


    I want to experiment by writing some code


    #include <stdio.h>#include "other.h"
  20. Replies
    5
    Views
    7,660

    What you said in post 2 is given in page integer...

    What you said in post 2 is given in page integer types" table

    suppose we want to store number -32768 to 32767


    #include<stdio.h> int main(void)
    {
    short a = 32767;
    printf("max...
  21. Replies
    5
    Views
    7,660

    That information given on this page C syntax -...

    That information given on this page C syntax - Wikipedia




    Size qualifiers – short, long
    Sign qualifiers – signed, unsigned
    Data types - int, char, float, double

    <Sign qualifiers >...
  22. Replies
    5
    Views
    7,660

    Variable size and range

    I am having trouble to understanding this combination to store variable. I do not understand which one should be use for specific reason
    let's suppose if I want to store integer number then I...
  23. Replies
    7
    Views
    7,612

    Okay so I will leave it here I was looking...

    Okay so I will leave it here

    I was looking some sample to create basic scheduler in c programming.
  24. Replies
    7
    Views
    7,612

    I am trying to run code given in the example...

    I am trying to run code given in the example GitHub - EmbeddedApprentice/TaskTurner: A first, very short beginning for the TaskTurner.

    When I unzip folder I get only three file taskrunner.h...
  25. Replies
    7
    Views
    7,612

    laserlight I did changes #include...

    laserlight

    I did changes

    #include<stdio.h>
    //#include "../include/errors.h"
    #include<windows.h>
    #include "../include/tasks.h"
    #include "../include/taskrunner.h"
Results 1 to 25 of 129
Page 1 of 6 1 2 3 4