Hello i have done C++ in my Institute in 3rd semester.. I got little of it.. However, now i am trying to master it..When i put "Using namespace std" like the Textbook.. i got error.. Even when i used #include<iostream> and #include<vector> ..But it shows no error when i use .h but my book shows no .h.
ohhhhhhhhh I see.. OK I will try iit..But we are taught with this.. but when i use <iostream> it is not working. but when i put <iostream.h> it works..Even in my complier the <vector.h> not working as well..
Your compiler is old. The header names ending with a .h extension have been deprecated since 1998.
The current header names of C++ are iostream, vector, cstdlib etc. instead of iostream.h, vector.h, stdlib.h.