Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 13th, 2005, 08:54 PM
Registered User
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need Quick Help

I am trying to compile my code but it says its successfull but two errors and theres no exe file being made either way.. heres my code

//Program 1.2 Using The Escape Sequence

#include<iostream>

int main()
{
    cout << "Hey Lewis";
    return 0;
}

I have a project file and this code is under the project in a .cpp source file theres no header files.

 
Old September 1st, 2005, 05:33 PM
Authorized User
 
Join Date: Jul 2003
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to merediths
Default


Check that you don't have ANSI C turned on or something like that -- the code looks like valid C++ -- the only reason I could think of that it would error out is if you weren't compiling it *as* c++. That wouldn't valid in ANSI/ISO C.


Regards,
Meredith Shaebanyan






Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a quick job done iced1992 Beginning PHP 0 January 9th, 2008 11:11 AM
i need help quick linkinboy Visual Basic 2005 Basics 11 October 25th, 2007 09:44 PM
another quick question andyhague XSLT 2 March 21st, 2006 12:13 PM
Just a quick one!!!(again) satts Access 11 February 22nd, 2005 06:36 PM
Need quick help please! lryckman Access VBA 2 January 12th, 2004 12:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.