i have to read input from .sql file .but that file name should be read from command line instead of cin.how to do that command?
if my file t.sql ,how it would be?
i tried like this but i couldnt get the output
int main(int argc, char* argv)
which file i need to execute?
or g++ t.sql?
All 4 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.