Beginners - February 2015 (Page 17)

Problem with fixing a specific error code
 
I'm new and I don't really know how to fix the error. "First-chance exception at 0x6499E541 (msvcr1...
[2 replies] Last: Thank you so much for catching the mistake, you just saved my hide (by Volgin212)
by odium0
SelectionSort craziness.
 
I'm currently doing a project but my selection sort isn't sorting properly. The jist is that i m...
[1 reply] : There's a little too much swap() ing going on in there. I recommend ... (by Duthomhas)
Stuck in calling function in case statement.
 
Hey guys, I'm a little stuck here trying to work on this program. For the life of me I can't figure...
[8 replies] Last: Thanks for explaining it that way i got it. I was up late last night a... (by Hidden Squid)
Loan payment calculator, payment too high
 
This is a project for school, and the program will build and run just fine, but the amount calculate...
[3 replies] Last: dhayden - that was exactly what was wrong, thank you for pointing that... (by Flakjacketx)
Syntax Meaning of (x)(y) and x | y
 
What do these two types of syntax mean? wndClass.hbrBackground = ( HBRUSH )( COLOR_WINDOW + 1 );...
[1 reply] : 1. Cast the result of the expression on the right to type HBRUSH htt... (by LB)
Combinations Help
 
I need to find all the possible ways to walk up a flight of stairs using a recursive function. Each ...
[7 replies] Last: can it be done without global variable? The function should return ... (by dhayden)
Eight Queens problem
 
I'm working on a unique Eight Queens (N Queens, but always 8) problem that, instead of printing out ...
[10 replies] Last: oh my god, if you don't understand this.... actual program is 10x hard... (by anup30)
input stream problem v2.0
 
Before several hours i posted this question, i got good answer by tipaye and closed the topic but ...
[3 replies] Last: Ohh dint see u posted before so tnx a lot :) With this example i just ... (by etrusks)
Problem with While Loop termination
 
I am currently trying to fill a double array with a while loop with a terminating condition (entered...
[1 reply] : I don't see anything wrong, other than undefined behavior when i == 6.... (by LB)
can someone find the error in this code?
 
It's solved:)
[6 replies] Last: oh wow looks like that was a mistake on my part. i accidentally copi... (by TarikNeaj)
class employee, variable problem
 
im trying to make a program that prints out the yearly salary of two employees and first prints the ...
[3 replies] Last: all good then :) (by mutexe)
friend function doubt
 
Hey guys! Suppose i have a class named a. a has a private variable b; i have created a friend functi...
[1 reply] : can you show us an example in code and then ask us again please? (by mutexe)
Need help with finishing this code for school ASAP
 
This is what needs to be done Ensure that the SadPirate class inherits publically from the Pirate...
[5 replies] Last: ty (by stixkid11)
Help Please ( Homework due in 5 hours )
 
So the homeworke ask to open a text file and count the words in that file. I got this part right but...
[6 replies] Last: yeah i closed it when i finished part 1. and now after i started to wo... (by firask21)
Problem adding info to Array of Structs
 
I am trying to add data to an array of structs in the following function. It complies fine and i get...
[3 replies] Last: Yep. It was something as simple as braces. I woke up this morning and ... (by forbesthebrit)
next item Vector and Map
 
Hello everybody, How can I get the next and previous items in a Vector or a Map? for example,...
[1 reply] : For the posted map: std::map<std::string,double>::iterator i = Rate... (by Texan40)
Inheritance problems
 
I have just begun implementing an inheritance program from my course. Unfortunately, the sample prog...
[5 replies] Last: OMG ARE YOU SERIOUS?! I forgot to include iostream in inheritance.h f... (by hornet07)
Vector Iterator Issue
 
Hello everyone, I have a question regarding iterators on vectors. To begin, I have the code belo...
[8 replies] Last: The caller expects a value no matter what. You have to indicate failur... (by keskiverto)
Need help for school
 
Hi guys, I have started learning C++ in school, and we had exam today in informatics class. So my qu...
[2 replies] Last: Perhaps she meant this?: int a = 5; int b = 3; a += --b; cout << a... (by Texan40)
by Glyk
Need help
 
Hi, im trying to complete a drill from a stroustrup book and i have encountered a problem,in the dri...
[4 replies] Last: it works great now thanks alot! but i dont get it why do i need quot... (by TarikNeaj)
February 2015 Pages: 1... 1516171819... 52
  Archived months: [jan2015] [mar2015]

This is an archived page. To post a new message, go to the current page.