Skip to content

List, Data Structure

Good afternoon,

Like I said before I’m having Data Structure class. And today I will introduce you the List concept. A linear data structure. There is similar data structures like linked list, double linked list. The stack and the queue are special implementations of lists. The list can receive elements in any position, remove elements from any position, remove a specified element, add in order and others.

The professor told us to solve this:

1. Create the data type tLista in a headerfile
2. This list must be a list of elements of tAgenda
3. The type tAgenda is a type that represents a name (30 chars) and a telephone number
4. Create a function maior(a,b) that compare the name of 2 entries
5. Implement all the functions
6. Create a program that have a menu to use all functions and the specified search must use the name.
7. The program should be able to show the list in alphabetic order

List implementation.

Regards,
Matheus

Published inCEstrutura de Dados

5,807 Comments

  1. Bernardrig Bernardrig

    В этой статье мы рассматриваем разрушительное влияние зависимости на жизнь человека. Обсуждаются аспекты, такие как здоровье, отношения и профессиональные достижения. Читатели узнают о необходимости обращения за помощью и о путях к восстановлению.
    ТОП-5 причин узнать больше – clinica plus

  2. Michaeldiele Michaeldiele

    В данной статье мы поговорим о будущем медицины, акцентируя внимание на прорывных разработках и их потенциале. Читатель узнает о новых подходах к лечению, роли искусственного интеллекта и возможностях персонализированной медицины.
    Только для своих – капельница после похмелья

  3. Charleshiz Charleshiz

    Эта публикация исследует взаимосвязь зависимости и психологии. Мы обсудим, как психологические аспекты влияют на появление зависимостей и процесс выздоровления. Читатели смогут понять важность профессиональной поддержки и применения научных подходов в терапии.
    Проверенные методы — узнай сейчас – клиника плюс

  4. UpvoteRocket is the #1 automated voting service for private MMORPG servers. Climb toplist rankings on XtremeTop100, TopG, GTop100 with smart undetectable automation. Ragnarok, WoW, Mu Online & 20+ platforms supported. Pay only for delivered votes.

Leave a Reply

Your email address will not be published. Required fields are marked *