Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Assalam O Alaikum all new comers of course CS201,

I saw many students facing the below problem

so heres the solution and some things u should know about.

the header file <iostream.h> is no more supportable in new versions of DevC++ so this header file does not exit in Dev Library.

So here's the Solution:

Solution :1

If u want to do same as given in handouts, the old version

then download the attached file and add  that file in the following directory

C:\Program Files (x86)\Dev-Cpp\MinGW64\include

You will see the warning , but your code will be compile and will run In shaa Allah

Solution : 2

1. Use #include <iostream> instead of <iostream.h>

2. As all the all the library classes are in the std:: namespace, so add using namespace std;

3. and whenever you will use cout or cin or other iostream functions add std:: with them

here's a sample of your first program.

same as if u want to take some Input from user here it is:

I hope it will be Help u all.

Assalam O ALaikum

Views: 664


Replies to This Discussion

mujhe ye programme download krna hai plz link send krain

yeah, just slight difference it have.

thanks for sharing dear.

u most welcome :)

but sis new comers k liyae problem hoti hai because wo as it is video lecture and handouts jaisa karna chahtae hain


you did great. :)

jazakAllah khair sis :)

windows 8.1 me Dev_c++ ka compiler ksm nai ker rha kiya koi help ker skta ha k kis trh is ko set kr lo.

and ager koi dosra IDE ha jo windows 8.1 me chalta ho please wo suggest ker de ...i am using windows 8.1 32 bit version...

thanks in advance

work kar raha hai 8.1 main bhi

ap ka kiya error aa raha ahi ?

 can u plz share screenshoot ?

I am still facing problem when click on Compiler it gives me following error.

   The system cannot find the file specified 

Please guide me...

come online on chat.

mira compile hojata but output show nhi krta..?

add this before last } bracket



© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service