DIGIT-ARC read-only archive · snapshot: July 23, 2026

Help!!Problem With C++

11 posts · originally from https://geek.digit.in/community/threads/help-problem-with-c.72160/

Josan
Josan Original post #1
Nov 1, 2007 at 3:45 PM
I m new to programing and i use DevC++ Compiler but when ever i tries to make a program by coping word to word from a c++ book it give me a errors
what could be the reason ..Plz help me out
Sykora
Sykora #2
Nov 1, 2007 at 3:50 PM
It means that most probably the code you're using is from a book which is older than the compiler you use. Post the code here, and we'll tell you in general what is wrong.
MetalheadGautham
Nov 1, 2007 at 4:17 PM
Josan said:
I m new to programing and i use DevC++ Compiler but when ever i tries to make a program by coping word to word from a c++ book it give me a errors
what could be the reason ..Plz help me out

maybe its because most books use turbo C++. download it by typing in google search: <download turbo C++ 3.0> its available in one of the first five links in an abandonware site. try installing it.

I tried coppying its headder files to a folder named includes(not include) in the root of Dev C++ install folder. then I replaced #include<iostream.h> with #includes<iostream.h> and so on for all headder files, so that dev cpp uses turbo's headder files. It really impressed my computer teacher back at school, and it worked to an extent.

OR, you may try learning the way Dev C++ is different from turbo and also about the headder files and commands you may need to use.
Garbage
Garbage #4
Nov 1, 2007 at 6:47 PM
Josan said:
I m new to programing and i use DevC++ Compiler but when ever i tries to make a program by coping word to word from a c++ book it give me a errors
what could be the reason ..Plz help me out
can u please mention which Book u r referring and what type of errors u got ???
Josan
Josan #5
Nov 1, 2007 at 11:28 PM
@MetalheadGautham Can You Plz help me hoe to install turbo C++
MetalheadGautham
Nov 2, 2007 at 5:03 AM
How To Install Turbo C++ 3.0

This is how you install Turbo C++ 3.0
​
  1. Go to THIS google search and use the first link(the vetusware one) to get your coppy of turbo C++.
  2. Extract the contents to a folder.
  3. It has a few zip files in it. Unzip them all to the current folder. don't worry about replacing files. nothing bad happens.
  4. double click the install.exe file.
  5. follow the on screen instructions. leave the installation directory as it is - TC folder in the C drive.
  6. let it install.
  7. coppy the TC.exe file and paste a shortcut on the desktop.
  8. use it to access Turbo C++!
  9. Warning: Turbo runs on DOS, so make sure you have it. The editor is pretty old fashioned(I mean it), but it has cool syntax highliting and all that, so you will still be happy. Just get to know how to use its windows.
QwertyManiac
Nov 2, 2007 at 6:02 AM
^^
And that is how you will grow up to be blind, too. ;)
Garbage
Garbage #8
Nov 2, 2007 at 8:27 AM
@ Josan,

I will recommend u to LEARN "Dev C++" instead of downgrading to "TurboC++".

Learning "Dev C++" will surely help you in "Windows Programming in C++"
A
Ankur #9
Nov 2, 2007 at 4:26 PM
@Josan ....

Try Dev C++ or MS Visual Studio 6 instead of TC++. Dev C++ is recommended as its a freeware. Follow Public Poll Dude ;) .....
A
Nov 4, 2007 at 12:20 AM
See man the difference b/w turbo and dev is that one is in DOS (former) and the other one in Windows (latter) ie all handles, values etc are returned by OS.
And Dev C++ is a project by free software foundation.

The difference in syntax is.
1. conio.h and graphics.h is not available in dev c++, but if u still want it u can get it( serach on their forum for this, u'll surely get it).
2. use <iostream> instead of <iostream.h>
3. use int main in place of void main and retuen 0 before completing thebraces ( {} )
4. use system("pause") statement at the end...its like conio.h....and there are few other differences which u can figure out later.
Obviously, None of the conio and graphics functions will work in dev C++ unless u get their header files.

BYE..PM me if u want to clarify anything
Josan
Josan #11
Nov 16, 2007 at 8:22 PM
Thanks U All ,all this ingormation realy helped

thanks again ...