Recent content by skavt

  1. S

    C++ sorting structure

    Sorry for not answering earlier, but i got pulled into the program and when i completed it, i totally forgot about you guys. Anyway, I ended up doing an array of objects as Ijack suggested, but i didn't know that was possible till i saw your post, and from there on everything went pretty easy...
  2. S

    C++ sorting structure

    I do understand the synthax and how it works, but i dont know how to shift between the objects(t1,t2,t3,t4,t5,t6) to compare.
  3. S

    C++ sorting structure

    yes i am :) thanks
  4. S

    C++ sorting structure

    So, i need help sorting a structure in a c++ simple console app, i need to sort it by the variable "cas"(time), and i can't figure out how to do it because the objects dont have the same name...would apreciate some help, here is the code: struct tekmovalec { int sstevilka; char ime[10]...