![]() |
|
#1
|
|||
|
|||
Compilation ErrorCan any body say why this code does not compile?
CPP / C++ / C Code:
|
|
#2
|
||||
|
||||
Re: Compilation ErrorAs a start, some of the ending <, many of the {, and a few ( are improperly positioned. [turned the wrong way]
For example: 1. #include <something>, NOT: #include <something< 2. if ( aCondition ), NOT: if (aCondition ( 3. function [and loop] blocks start with {, and end with } -- NOT the other way around. There may be more problems, but fix these first. __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: Compilation ErrorHi ,
yes, this is the copy and paste fault ...! I do know how to write code in cpp ! I thought that this is going to be trivial ! Thank you any way ! |
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using C command line compilation | aijazbaig1 | CPP / C++ Forum | 4 | 05-Feb-2007 17:59 |
| Alt. Problem: PHP 4.4 GD compilation errors | Fezzen | Computer Software Forum - Linux | 2 | 12-Aug-2005 21:16 |
| Unfamiliar with this compilation error code <compilation of class into object file> | jkube1980 | CPP / C++ Forum | 1 | 24-Apr-2005 14:57 |
| What is "Ambigious symbol" ??*( a compilation error) | small_ticket | CPP / C++ Forum | 2 | 07-Jan-2005 21:10 |
| Compiler that Shows Stages of Compilation? | BobbyMurcerFan | C Programming Language | 2 | 26-Nov-2004 18:03 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The