Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~200 People Reached
Favorite Forums
Favorite Tags
c++ x 3
Member Avatar for biesczadka

I have a template which can be initialized with container list, vector or my own create container zbior and struct element as an El: [code] template<typename El, int colsNo, typename Container> struct CSVReaderWriter { Container m_cont; void read (std::istream & _input) { string linijka; vector<string> entry; string laaa, naa; int …

0
65
Member Avatar for biesczadka

[code] void read (std::istream & _input) { string linijka; vector<string> entry; string laaa, naa; int ii=0; while (getline(_input,linijka,'\n')) { cout<<"current line:"<<linijka<<endl; while(linijka[ii] != ',') {laaa+=linijka[ii]; ii++;} entry.push_back(laaa); ii++; cout<<entry[0]<<endl; laaa.clear(); while(linijka[ii] != '\n') {laaa+=linijka[ii]; ii++;} entry.push_back(laaa); //doing something with entry ii=0; laaa.clear(); linijka.clear(); entry.clear(); } } [/code] my csv file …

Member Avatar for mrnutty
0
80
Member Avatar for biesczadka

Can anyone show me how I should split my code for makefile???? and how makefile would look like?? I must say that I have NO IDEA how to do that Actually I think that I don't understand how makefile works I'll be gratefull for help!!!!!! MY CODE: [CODE] #include <iostream> …

-1
55