15,890,579 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 8060663 (Top 2 by date)
Member 8060663
6-Jul-11 10:56am
View
What is CodeBlocks? Do you mean I can't do these kind of programs in Dev-C++?
Can you suggest some good compilers in which I will be able to compile programs involving iostream.h, math.h and conio.h? I am new to C++ and I am studying C++ in 11th. So, I need to do only such easy programs for practice and not complicated programs. Can you also tell which C++ compilers are used for developing games?
Member 8060663
6-Jul-11 2:16am
View
This is a program that I tried out.
#include<iostream.h>
void main()
{
cout<<"Welcome to microchip Computer Education";
}
These are the errors that are shown-
Line:1
File:C:\Dev-Cpp\include\c++\3.4.2\backward\iostream.h:31,from D:\CPPdoc\welcome to microchip computer education.cpp
Message:In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31, from D:\CPPdoc\welcome to microchip computer education.cpp
Line:1
File:\CPPdoc\welcome to microchip computer education.cpp
Message:from D:\CPPdoc\welcome to microchip computer education.cpp
Line:32:2
File:C:\Dev-Cpp\include\c++\3.4.2\backward\backward_warning.h
Message:#warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <x> header for the <x.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
Line:3
File:\CPPdoc\welcome to microchip computer education.cpp
Message:`main' must return `int'
This program compiles properly in Turbo C++. I don't understand why Dev-C++ 4.9.9.2 is giving errors.
Please help me!