My Math Forum  

Go Back   My Math Forum > Science Forums > Computer Science

Computer Science Computer Science Forum


Thanks Tree2Thanks
  • 1 Post By Joppy
  • 1 Post By skipjack
Reply
 
LinkBack Thread Tools Display Modes
April 12th, 2017, 03:34 PM   #1
Member
 
Joined: May 2014
From: Allentown PA USA

Posts: 98
Thanks: 6

Math Focus: dynamical systen theory
Unexplained error message

Dear MyMathForum Community :
I am running the Dev-Orwell C++ compiler v. 5.11 on a Windows 10
operating system. When I implement the program, I get the error message
concerning a single { token : [Error] expected unqualified-id before '{' token.
What am I doing wrong? Thank you.

Best regards,
Carl Mesaros
Carl James Mesaros is offline  
 
April 12th, 2017, 04:29 PM   #2
Senior Member
 
Joined: Feb 2016
From: Australia

Posts: 1,359
Thanks: 466

Math Focus: Yet to find out.
Could post the code snippet where this is occurring?

Sometimes error messages in c++ can be pretty cryptic. Often it will arc up about one specific line, even when it's referring to a problem on the previous line!
Thanks from Carl James Mesaros

Last edited by skipjack; April 13th, 2017 at 12:49 AM.
Joppy is offline  
April 13th, 2017, 12:49 AM   #3
Global Moderator
 
Joined: Dec 2006

Posts: 18,059
Thanks: 1396

For each '{' in the program, check what character immediately precedes it for any syntax error.
Thanks from Carl James Mesaros
skipjack is offline  
Reply

  My Math Forum > Science Forums > Computer Science

Tags
error, message, unexplained



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
possible error/relative error jkh1919 Calculus 5 August 4th, 2012 06:30 PM
Relative error Percenttage error esther Calculus 1 October 25th, 2011 03:57 AM





Copyright © 2017 My Math Forum. All rights reserved.