C++ writing/reading a class to file?

I have a complicated class which contains; student name, birthday(this is another class Date), speciality, faculty number, and a conteiner map Now i should save all the data to a file, and then read it. I will write shortly; StudentBook S; cin>>S; ofstream ofs( “students2.dat” , ios::binary ); ofs.write( (char*) &S , sizeof(S) ); ofs.close(); [...]

Read more >>

which regression will be appropriate if dependable variables are binary and independent vari. are continuous

I am doing regression on STATA where my dependent variable are binary (0,1) and independent variable are continuous. but there are plenty of option for logistic regression (e.g. Logit, probit, ologit….). can anyone tell me which one i should choose and why? Answer: Either probit or logistic (logit) regression would be appropriate for a binary [...]

Read more >>

Is God or no God the only options?

With all the complexities of the universe, are these the only possibilities? Do you feel as though it is binary and that is all? Why do you feel this way and how can you be sure? Thats what I’m sayin Taliesin Penn Beirdd How is the universe Happykid? Answer: Why do you ask? You MUST [...]

Read more >>