#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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.