Public feed #602381

Mine

public text v1 · immutable
Raw Edit
·published 2007-07-04 01:27 UTC
rendered paste body
class country_class
{
private:
public:
Sint16 x;
Sint16 y;
string country_name;
};

list<country_class> country;
list<country_class>::iterator country_iter;
/*
 1:22 <VeNoMouS> country_class countryp;
 1:22 <VeNoMouS> countryp.country_name=(char *)malloc(len);
 1:22 <VeNoMouS> memset(countryp.country_name,0,len);
 1:22 <VeNoMouS> memcpy(countryp.country_name,country_split[0],len);
 1:22 <VeNoMouS> country.push_back(countryp);
*/

country_class countryp;
countryp.country_name = "NAME OF COUNTRY";
country.push_back(countryp);