|
|||||||
This is a discussion on "Simple Coding" in the Top Mud Sites MUD Coding forum : Hello. I've been interested in learning some coding and just today bought C++ for Dummies. I only got several pages into the book when it had me do a really basic code on Devcpp. I put in cout << "Hello, this is your computer talking." << endl; and I compiled it and it told me there was an hour in the cout, it was undescribed or something like that and in the endl. Any ideas to what is wrong? Thank you.... |
|
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our MUD community today! If you have any problems with the registration process or your account login, please contact us. If you are a registered member of the old TMS forums, please click here
|
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
New Member
Join Date: Jul 2003
Posts: 28
![]() |
Hello. I've been interested in learning some coding and just today bought C++ for Dummies. I only got several pages into the book when it had me do a really basic code on Devcpp. I put in cout << "Hello, this is your computer talking." << endl;
and I compiled it and it told me there was an hour in the cout, it was undescribed or something like that and in the endl. Any ideas to what is wrong? Thank you. |
|
|
|
|
|
#2 |
|
Member
Join Date: Jun 2003
Posts: 125
![]() |
First rule of coding: a vague error description is barely any better than no description at all. Always give the exact error in question. In this case, it's probably because you didn't #include <iostream>, or didn't use 'using namespace std;', or maybe something else.
|
|
|
|
![]() |
| Thread Tools | |
Simple Coding - Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple C++ MUD Code | Rathik | MUD Coding | 5 | 09-04-2006 04:00 AM |
| A few simple questions | HJFudge | Newbie Help | 2 | 05-13-2006 05:44 PM |
| Coding | macdaddy7 | MUD Coding | 2 | 08-28-2003 07:02 PM |
| Coding? | Corhean | Advertising for Staff | 0 | 10-26-2002 10:27 PM |
| A simple question... | WagesofSin | Newbie Help | 5 | 08-26-2002 08:39 PM |
|
|