検索結果 5 件

by もこ
3年前
フォーラム: C言語何でも質問掲示板
トピック: クイックソート反映されない、というかエラーでる(; ;)
返信数: 5
閲覧数: 7703

Re: クイックソート反映されない、というかエラーでる(; ;)

あ、 反映されてました!2回出力してましたね、アセアセ nanndemonaidesu☆ #include <iostream> #include<string> #include<fstream> #include <vector> #include <algorithm> #include <functional> using namespace std; int main() { vector<vector<double>> point; ifstream fin("C:\\Users\\CGS03\\Documents\\森田\\Part3.STL");//ふぁいるのありか if (!...
by もこ
3年前
フォーラム: C言語何でも質問掲示板
トピック: クイックソート反映されない、というかエラーでる(; ;)
返信数: 5
閲覧数: 7703

Re: クイックソート反映されない、というかエラーでる(; ;)

エラーは出なくなりましたが、ソートが反映されません( ノД`)シクシク… なぜでしょうか? #include <iostream> #include<string> #include<fstream> #include <vector> #include <algorithm> #include <functional> using namespace std; int main() { vector<vector<double>> point; ifstream fin(" .STL");//ふぁいるのありか if (!fin) { printf("don't open file."); }...
by もこ
3年前
フォーラム: C言語何でも質問掲示板
トピック: クイックソート反映されない、というかエラーでる(; ;)
返信数: 5
閲覧数: 7703

クイックソート反映されない、というかエラーでる(; ;)

全てmain()関数の中で STLデータの座標をファイルから読み取り、 x,y,zの昇順で並び替える、、 というところまで来たのですがエラーが出ました。 読み取って出力することはできたのですが、クイックソートを入れたら途端にエラーが出るようになりました。 エラーがなぜ出るか分かりません! ご教授下さい! #include <iostream> #include<string> #include<fstream> using namespace std; int main() { double** prepoint; ifstream fin(" ");//ふぁいるのありか if (!fin) ...

詳細検索ページへ移動する