473,385 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Help with error message.

expected primary-expression before "else"
I keep getting that error message, and after that it says (for the same
line)
expected ";" before "else"
The problem is that I have the ; and it still keeps popping up as an
error message when I try to compile it. Does anyone know what I should
do?

Feb 11 '06 #1
5 2631
C++Begginner wrote:
expected primary-expression before "else"
I keep getting that error message, and after that it says (for the
same line)
expected ";" before "else"
The problem is that I have the ; and it still keeps popping up as an
error message when I try to compile it. Does anyone know what I should
do?


Post the damn code so we can see what you've done wrong.

V
--
Please remove capital As from my address when replying by mail
Feb 11 '06 #2
C++Begginner wrote:
expected primary-expression before "else"
I keep getting that error message, and after that it says (for the same
line)
expected ";" before "else"
The problem is that I have the ; and it still keeps popping up as an
error message when I try to compile it. Does anyone know what I should
do?


The FAQ will get you started. See:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.8

Best regards,

Tom

Feb 12 '06 #3
On Sat, 11 Feb 2006 17:56:23 -0500, "Victor Bazarov"
<v.********@comAcast.net> wrote:
Post the damn code so we can see what you've done wrong.

V


So how long have you been working for the Government V?

Senor Ferrari: "As the leader of all illegal activities in
Casablanca, I am an influential and respected man."
Feb 12 '06 #4

"C++Begginner" <li*************@hotmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
expected primary-expression before "else"
I keep getting that error message, and after that it says (for the same
line)
expected ";" before "else"
The problem is that I have the ; and it still keeps popping up as an
error message when I try to compile it. Does anyone know what I should
do?


Fix your code.

Hopefully, you'll find my answer as useful to you
as your question was for me in answering it.

-Mike
Feb 12 '06 #5
C++Begginner wrote:
expected primary-expression before "else"
I keep getting that error message, and after that it says (for the same
line)
expected ";" before "else"
The problem is that I have the ; and it still keeps popping up as an
error message when I try to compile it. Does anyone know what I should
do?


You have errors on lines 4, 8, 15, 16, 23, and 42.

Feb 12 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: mike | last post by:
Hello, After trying to validate this page for a couple of days now I was wondering if someone might be able to help me out. Below is a list of snippets where I am having the errors. 1. Line 334,...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
2
by: Amanda | last post by:
From a guy in Microsoft newsgroups: | In *comp.databases.ibm-db2* there are always IBM guys | from the Toronto labs on line.Post with the | -for the love of god please help- | line...
7
by: tyler_durden | last post by:
thanks a lot for all your help..I'm really appreciated... with all the help I've been getting in forums I've been able to continue my program and it's almost done, but I'm having a big problem that...
5
by: Marc Violette | last post by:
<Reply-To: veejunk@sympatico.ca> Hello, I'm hoping someone can help me out here... I'm a beginner ASP.NET developper, and am trying to follow a series of exercises in the book entitled...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
11
by: tracy | last post by:
Hi, I really need help. I run this script and error message appeal as below: drop trigger log_errors_trig; drop trigger log_errors_trig ERROR at line 1: ORA04080: trigger 'LOG_ERRORS-TRIG'...
12
by: =?Utf-8?B?ZGdvdw==?= | last post by:
I designed a "contact_us" page in visual web developer 2005 express along with EW2 after viewing tutorials on asp.net's help page. Features work like they should, but I cannot figure out how to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.