User Profile

Collapse

Profile Sidebar

Collapse
ramkrishna1
ramkrishna1
Last Activity: Apr 3 '07, 10:03 AM
Joined: Apr 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ramkrishna1
    replied to variable sized structure
    in C
    hi Jos,
    Thanks for ur reply.

    we cannot use malloc() for our processor(AVR Series from atmel).is there any alternate way to allocate memory dynamically?.

    Best Regards
    Ramkrishna...
    See more | Go to post

    Leave a comment:


  • ramkrishna1
    started a topic variable sized structure
    in C

    variable sized structure

    Hi All,

    Consider the following piece of code:

    struct foo1
    {
    unsigned char tag;
    unsigned char length;
    unsigned char value[];
    };

    struct foo2
    {
    unsigned char tag;
    unsigned char length;
    unsigned char value[];
    };

    struct foo3
    {
    unsigned char tag;
    unsigned char length;
    unsigned char...
    See more | Go to post
No activity results to display
Show More
Working...