Hey,
I have tried without much success to locate a non-commercial C++
library that would allow me to create .chm files.
Basicly all I need is to compile one directory of generated .html files to one .chm Can anyone recommend a good one? I'm not interested in freeware closed source programs.
Thanks,
Philia
User Profile
Collapse
-
Yes, it works. Thank you rski. :)
But for me it looks like way around the problem, is there a better way to do this?
I'm migrating to postgres to speed up my aplication so I'm concerned about the speed of this query.... -
'case column' in HAVING clause
Hello,
I'm having problem migrating to postgreSQL from MySQL, some of my queries does not work in postgres.
Query(simplifie d):
Error:Code:SELECT t1.bus_stop, t1.time, (case when t1.time >2200 then t1.time + 10000 else t1.time END) AS sort_column FROM routes AS t1 GROUP BY t1.bus_stop, t1.time HAVING sort_column > 2200 ORDER BY sort_column LIMIT 1
...Code:ERROR: column
-
Thank you for reply.
I made it this way:
...Code:class sorting { public: bool operator() ( const kurs & s, const kurs & t) { return s.wspolczynnik_sort < t.wspolczynnik_sort; } };
Hope it will be helpful to someone :)Code:std::sort(kursy_2.begin(),kursy_2.end(),sorting());
...Leave a comment:
-
Sorting a vector of structs
Hi there,
I have struct like this one:
// and a vector like this oneCode:struct kurs { unsigned short int var1; string string_var; int sort_var; };Code:vector < struct kurs> kurs_2;
thing is that I want to sort a vector by sort_var.
How can I do that?
Regards,
Philia
No activity results to display
Show More
Leave a comment: