#include<stdio.h>
int main()
{
     printf("hai;");
     return 0;
     }
     
when i compile this using dev c++ i get a error message as [build error][project.exe]error1

Recommended Answers

Your code is fine. The problem must be with Dev-C++. I suggest you use something better. Dev-C++ has lots of problems and there are far better alternatives.

Jump to Post

All 2 Replies

Your code is fine. The problem must be with Dev-C++. I suggest you use something better. Dev-C++ has lots of problems and there are far better alternatives.

i have also used devc++.its just a mess .i would suggest u download.QUENCY c.its gud and compatible with all os....but keep in mind to save the files in bin of that programm.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.