1. 1.
    0
    beyler acil yardımınıza ihtiyacım var hayat meselesi,,, lutfen yardım edermisiniz.
    ···
  2. 2.
    0
    lutfen beylerrrrr
    ···
  3. 3.
    0
    ya arkadaşlar bi kod var elimde buna "toplogical sort" eklmek gerekiyo,,, kodu yolluyorum,,, lab hayatım buna bağlı dersten kalcam beyler yardım
    kod; #include <iostream>
    1. include <queue>
    2. include <string>
    using namespace std;

    class City
    {
    private:
    int id;
    string name;

    public:
    City(int id, string name)
    {
    this->id = id;
    this->name = name;
    }
    int getId()
    {
    return id;
    }

    string getName()
    {
    return name;
    }
    };

    int main()
    {
    City *cities[10];
    cities[0] = new City(1, "Adana");
    cities[1] = new City(6, "Ankara");
    cities[2] = new City(7, "Antalya");
    cities[3] = new City(10, "Balikesir");
    cities[4] = new City(16, "Bursa");
    cities[5] = new City(26, "Eskisehir");
    cities[6] = new City(34, "Istanbul");
    cities[7] = new City(35, "Izmir");
    cities[8] = new City(45, "Manisa");
    cities[9] = new City(61, "Trabzon");

    queue<City *> city[10];
    city[1].push(cities[2]);
    city[2].push(cities[0]);
    city[2].push(cities[9]);
    city[3].push(cities[6]);
    city[4].push(cities[6]);
    city[4].push(cities[2]);
    city[4].push(cities[5]);
    city[5].push(cities[1]);
    city[5].push(cities[0]);
    city[6].push(cities[5]);
    city[6].push(cities[9]);
    city[6].push(cities[1]);
    city[7].push(cities[3]);
    city[7].push(cities[4]);
    city[8].push(cities[5]);
    city[9].push(cities[1]);

    for(int i=0; i<10; i++)
    {
    while(!city[i].empty())
    {
    cout<<city[i].front()->getId()<<" ";
    city[i].pop();
    }
    cout<<endl;
    }

    return 0;
    }
    ···
  4. 4.
    0
    yardım edin lütfen dersten kalcam
    ···
  5. 5.
    0
    c++ beyler... burdadaha once baska arkadaslara yardım eden coder kardeslerm olmstu bi el atın lutfennnnn
    ···
  6. 6.
    0
    arkadaşlarrrrrr hiç mi kod bilen yok ya
    ···
  7. 7.
    0
    @9 dostum mesaj attım sana inbox bakarmısın,,,zor değil ama ben bağlayamadım koda,,, dalga geçmiosn dimi halletmem lazım
    ···
  8. 8.
    0
    @11 panpa al feda olsun yeterki hallolsun bu iş
    ···
  9. 9.
    0
    beyler ilgilenin ilk kez sözlkten bişey istedim
    ···
  10. 10.
    0
    yardım aq yardımmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
    ···
  11. 11.
    0
    lan olm 1 kişiyok mu yaaaaaaaaaaaaav
    ···
  12. 12.
    0
    olm 1 kişi bile bilmyo aq c++ ını
    ···
  13. 13.
    0
    @22 yolladım panpa
    ···
  14. 14.
    0
    beylerrrrrrrrrrrrrrrrrrrrrrrr
    ···
  15. 15.
    0
    hadi bişi çıkcak
    ···
  16. 16.
    0
    hoooooooooooooopppppppppppppppppppppp
    ···
  17. 17.
    0
    toplogic sort eklmek lazım koda olay bu
    ···
  18. 18.
    0
    kğpflfğdlsğğglsdğlg
    ···
  19. 19.
    0
    ++ çıkmıo aq başlıkta
    ···
  20. 20.
    0
    asasddds
    ···