RSVP

i initially started the program on turbo c++ but i have to switch to visual studio it would be helpful if anyone could tell me whether the following header files would work

#include<iostream.h>
#include<conio.h>
#include<string.h>
#include<dos.h>
#include<stdio.h>
#include<fstream.h>
#include<process.h>
#include<stdlib.h>

closed account (zvRX92yv)
[extremerage] [url=www.cplusplus.com/articles/jLzyhbRD/>How to: Ask Questions The Smart Way[/url] [/extremerage]
Last edited on
All of the would work just fine,

if not remove .h and you'll be just fine :D
You should use this in C++
1
2
3
4
5
6
7
8
#include <iostream>
#include <conio.h>
#include <cstring>
#include <dos.h>
#include <cstdio>
#include <fstream>
#include <process.h>
#include <cstdlib> 

C++ headrs no longer have .h. The old C headers do not have .h and have 'c' added to the beginning.
Last edited on
Topic archived. No new replies allowed.