Whats c++ equivalent of this?
while(scanf(*)!= eof){
//code
}
That's not even valid C code. Unless you specify what scanf(*)
does and what eof
is there is no way to answer this quetion.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.