C++
I used C++ for my programming. I want to make Visual Studio 2010 with the C++ programming language. But when I want to run this software this shows an error message and while Debugging this I cant do it. So what can I do now. Here are the picture is given below:
Error:
Microsoft Visual C++ Debug Library
Debug Assertion Failed!
Program: " "
Line: 108
Expression: string iterator not incrementable
For more information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
- 1621 views
- 2 answers
- 0 votes
I am learning C++.
I have learnt basic concept of C++ like class,object. I have trouble learning template class in C++. Anybody will tell me what is a template class in C++.
Why we use this in our program and i have given a template class program here i don't know Why is the namespace used here?
- 1462 views
- 1 answers
- 2 votes
My Dell laptop is installed with COM+, programming software that helps me to perform tasks such as group resources, disengage applications as well as broadcast some events. During one of my normal programming procedures, when I tried to insert text media, a pop-up message suddenly appears with the following error. What could be causing this?
Error:
Vegas Pro 9.0
An error occurred during an edit operation.
The COM object failed to initialize.
0fe8789d-0c47-442a-afb0-0daf97669317 – Media Generator
- 848 views
- 1 answers
- 0 votes
I have a problem about how will I connect my Program or Software to the Database using C++ Programming Language.
Do I have to make a code for connecting my database?
How can I also create a database and what database that could be compatible with C++ Programming?
- 1312 views
- 2 answers
- 0 votes
Hi,
I made an algorithm which generates binary numbers (with certain specifications), their minimum length is 15 bits.
Some of these numbers can't be stored in any integer data type (long data type has a maximum of 2147483647 using VS 2008's compiler).
I tried to store the numbers using string but failed.
Is there any way to store these numbers ? As I need them to be sorted too.
And if strings are possible, is there an easy solution to sort these numbers ?
Thanks
- 866 views
- 1 answers
- 0 votes
Hi,
I'm using Visual Studio 2008, and please take a look at the code attached.
It doesn't compile correctly as it builds fails.
And the error message appears : error C2668: 'Pow' : ambiguous call to overloaded function. (I attached it)
Any idea what happens ?
Thanks
- 736 views
- 2 answers
- 0 votes
Hi,
I'm a beginner at coding, I know that int main () is where the program starts but on some websites I found instead of using int main () ( and return 0; before the last bracket), it was void main().
Is there any difference ? And does it affect the compiling speed ?
Thanks
#include <iostream>
- 846 views
- 1 answers
- 0 votes
Hi,
Please check the code I wrote.
The results I get are "0 0 0 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7 8 9 "
and what I expected is "0 1 2 3 4 5 6 7 8 9 "
Can anybody explain what the results?
Thanks
- 739 views
- 1 answers
- 0 votes
What is constructor and destructor in c++ ? Is every constructor is default constructor? Is it necessary to use destructor with constructor and what is their return type?
- 1491 views
- 2 answers
- 0 votes
What do you mean by dynamic initialization of a variable? Give an example.
- 14800 views
- 2 answers
- 4 votes