1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

data structure using c

Discussion in 'C' started by eng.sarah, Apr 6, 2010.

  1. eng.sarah

    eng.sarah New Member

    Joined:
    Apr 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Peace be upon you
    it is first post in this site
    I want someone to explain
    linked list
    (how building it ???)
    (tracing for code ???)

    thanks
     
    Last edited by a moderator: Apr 6, 2010
  2. eng.sarah

    eng.sarah New Member

    Joined:
    Apr 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    sorry
    For the first time I write here I wanted to ask where the icon for the work of editing
     
    Last edited by a moderator: Apr 6, 2010
  3. eng.sarah

    eng.sarah New Member

    Joined:
    Apr 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    I hope that explains one of the 31 people who have looked to the topic
    But will take a positive step because behind the test
    Will set a point I do not understand who I want to explain
     
  4. eng.sarah

    eng.sarah New Member

    Joined:
    Apr 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    this code is Submitted by

    By shabbir
    Basic operations in Linked List:surprised

    why are you use it???

    What is the use of this word??

    Can I type the code without this word??

     
  5. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    First make sure you use a readable font.
     
  6. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
  7. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    After reading the article, try to implement it yourself (hey, you might find you can do it, and it's how we learnt before the internet became a big thing), then *if* you get stuck post any specific questions you may have and we can help you move on.

    You can't edit posts until you have a certain number of posts. This is an anti-spam measure. Do not post unnecessary messages just to get your post count up; we can spot this and it doesn't draw a positive response.
     
  8. eng.sarah

    eng.sarah New Member

    Joined:
    Apr 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0

    thanks to reply
    i searched before on Google & download somethings
    i don't reading but i want discussion to understand
     
  9. en_7123

    en_7123 New Member

    Joined:
    Feb 11, 2010
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    0
    Well you have to do reading if you want to understand even discussion is good but before that you need to post your query in readable format which makes it easier for people who are going to help you.Try to keep it simple and to the point and post what you want to discuss because it's not very clear from your earlier posts.
     
  10. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    We can't guess what you can't understand. Read the article, try to implement it then ask specific questions when you're stuck.

    For starters, do you understand the concept? i.e. each data item is stored in a structure which contains the data itself and a pointer to the next item.
     
  11. eng.sarah

    eng.sarah New Member

    Joined:
    Apr 6, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    i cannot understand "Words are the color red"
    I'm Moderator in anther site... the type of writing or the font size
    According to the user's freedom
    Is the law has not exist here in this site ???...
    Is it necessary committed to the type of a particular line or a certain size
    i will read the article then discuss
     
  12. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    This is what en_7123 is referring to:

    This is way too generic, and by themselves those questions (a) don't make much sense, and (b) the sense they do make implies you haven't even tried. We're not going to write a whole treatise on linked lists just for you just because you can't find something on Google - and as well as the Wiki article I noticed further down the *first* page of results something that looked like it might be a beginner's tutorial. We will help you where you're stuck but not spoon-feed you. Programmers *need* to be more resourceful than to simply whine about not having their hands held - sorry if that offends you, but it's a fact when dealing with geeks. You have to try. If you don't want to try then you should give up programming because it's a difficult task and not suitable for everyone.

    Font sizes are not meant to be abused as you did. Just type everything using the default font; it's not necessary to increase the size. Yes the site provides functions for that; I don't know why to be honest; you should ask shabbir why he provides functionality he doesn't want people to use. Anyway now you know, so just use plain text, and read the posting guidelines so you know for example about code blocks. Maybe if you have a *small* amount of text you want to emphasis then it could be worth using a *slightly* larger font and/or bold text, but increasing the font size to massive just results in less information on the page, so it's fairly pointless. And increasing the font size isn't going to make people answer you more readily; just leave the silly font abuse for the forums where teenage girls can fire lololololzzz0r, omgwtfbbq and other meaningless acronym drivel at each other.

    What site are you moderator on?
     
  13. en_7123

    en_7123 New Member

    Joined:
    Feb 11, 2010
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    0
    Code:
    I'm Moderator in anther site... the type of writing or  the font size
    According to the user's freedom
    Is the law has not exist here in this site ???...
    Is it necessary committed to the type of a particular line or a certain size
    i will read the article then discuss 		
    
    Oh Really ?? Which site are you moderating BTW ?? I'm just curious
    I never said anything about the type of font size it is a free country after all.If some one wants help than while posting he should make it a point that people who are going to answer should be a able to understand the query.You feel me ???
    Code:
    i cannot understand "Words are the color red"
    Is the law has not exist here in this site ???...
    
    Surely if you are a moderator , english is not your first preffered language I guess don't want to be judging now but I guess just giving you a a taste of your own medicine.BTW if you understand what he wants do post and let us know because I am not really able to understand.
     
  14. Manojbijnori

    Manojbijnori New Member

    Joined:
    Jun 16, 2009
    Messages:
    29
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Lecturer In Computer Science Department In Enginer
    Location:
    Bijnore
    Consider the following example to illustrator the concept of linking. Suppose we define a structure as follows



    struct linked_list
    {
    float age;
    struct linked_list *next;
    }
    struct Linked_list node1,node2;



    this statement creates space for nodes each containing 2 empty fields

    node1





    node1.age




    node1.next






    node2





    node2.age




    node2.next






    The next pointer of node1 can be made to point to the node 2 by the same statement.
    node1.next=&node2;



    This statement stores the address of node 2 into the field node1.next and this establishes a link between node1 and node2 similarly we can combine the process to create a special pointer value called null that can be stored in the next field of the last node
     

Share This Page