assertion error

Posted on 2009-03-30
Last Modified: 2013-12-14

I am getting error on this
assert(cellPosX < m_pageWidth);
Error --> Assetion Failed.
Question by:KaranGupta
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 19

Accepted Solution

alb66 earned 250 total points
ID: 24016931
It means that cellPosX is >= m_pageWidth
LVL 31

Assisted Solution

Zoppo earned 250 total points
ID: 24016934
Hi KaranGupta,

this assertion happens because cellPosX is equal or greater than m_pageWidth.

Where does the error occur? Is it your own source code?

LVL 31

Expert Comment

ID: 24016935
Sorry alb66, you were faster ...
LVL 19

Expert Comment

ID: 24016945
Hey Zoppo, don't worry... I think we press submit at the same time... ;-)

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dialogbox API leak? 18 119
Beginner to Unreal Engine 4 5 120
Angular JS Route 3 125
parameter pack in c++11 2 23
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question