This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename T> | |
void csv_parser<T>::set_line(string input) { | |
line.clear(); | |
T buffer; | |
stringstream converter; | |
while (input.size() > 0) { //get field from input and delete this segment until | |
//input is empty | |
if (input.find_first_of(",") != -1) { //(not the last segment [one ',' left]) | |
converter << input.substr(0, input.find_first_of(",")); //add segment to converter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
public class programm { | |
public static void main(String[] args) { | |
start(); //start prozedure |
NewerOlder