#include <algorithm>
#include <iterator>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>

using namespace std;

class file{               //class of program file
private:
    istringstream File;        //file
    vector<string> text;      //code from file
public:
    file(const string& path) : File(path) {
        for(string i; getline(File, i); text.push_back(i));
    }
    
    void write() {                        //write the text file
        copy(cbegin(text), cend(text), ostream_iterator<string>(cout, "\n"));
    }
    bool no_zero(int cx ,int cy){
        if(text[cx][cy] != ' ') return true; //I change this string then
        else return false;                   //using the number of char 
                                             //betwen 32 to 124 but number of'�'
    }                                        //is -1
    char ret_char(int cx,int cy){
        return text[cx][cy];
    }

};

int main() {
    file a = file("    start:\n    	var: a , b , c;\n    	a = 4;\n    	b = 2;\n\n    	c = a + b;\n    	wuw c;\n    	end;/");

    int u = 4;
    cout << a.ret_char(u,0) << endl;
    cout << a.no_zero(u,0);

    a.write();
}