P
Philip Goisman
Hi,
Hope someone can help. I have the following c++ program which compiles
fine in gcc2.96, but won't compile in gcc3.2.2:
//FMain.cpp
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
int main()
{
int RunCurr = 66;
char* before = { "data/geom." };
char* after = { ".xml" };
std:stringstream GeomFileName;
GeomFileName << before << setw(6)
<< setfill (48) << dec << RunCurr << after << ends ;
cout << GeomFileName.str() << endl;
return 0;
}
Any help is appreciated.
Regards,
Philip
Hope someone can help. I have the following c++ program which compiles
fine in gcc2.96, but won't compile in gcc3.2.2:
//FMain.cpp
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
int main()
{
int RunCurr = 66;
char* before = { "data/geom." };
char* after = { ".xml" };
std:stringstream GeomFileName;
GeomFileName << before << setw(6)
<< setfill (48) << dec << RunCurr << after << ends ;
cout << GeomFileName.str() << endl;
return 0;
}
Any help is appreciated.
Regards,
Philip