Beginners - April 2010 (Page 11)

how do i fix these warnings / errors from using multiset?
 
I am trying to learn how to use multiset, but my tests keep throwing errors from xtree rather than m...
[2 replies] Last: Damn I'm dumb, that was it. Thanks! (by AlwaysLearning)
Declaring things from a class with a variable...
 
Okay, so I have this program, and it has a class "Hero" class Hero{}; I declare things from it...
[2 replies] Last: OH! I see now. Someone else suggested something about a vector array t... (by Oni Kami)
Stack
 
Hey guys, I have been looking into queue's and stacks this week guys and I decided that I would like...
[17 replies] Last: I followed my book example and it was set up similar to this! I knew ... (by tarheelfan08)
Keep getting errors c2601 local function definitions are illegal any thoughts
 
My header is as follows const int TURN_ON=1; const int TURN_OFF=0; class lightControl { priva...
[1 reply] : This is illegal: lightControl lightControl(x,y,TURN_OFF); You ca... (by jsmith)
Problem with cout <<
 
This code seems like it should work, but my compiler is giving me this message: error C2679: bina...
[1 reply] : Try to #include<string> (by Bazzy)
Pancake Glutton Hit and Miss Program
 
I made this for the Pancake Glutton exercise and although it does work, it seems to be hit and miss....
[2 replies] Last: You mean as in: int NumberOfPancakes = {p1, p2, p3, p4, p5, p6, p7... (by MottMan)
Whats a good C++ compiler?
 
I have been looking for a good C++ compiler without success. Could someone help? (Preferably free)
[5 replies] Last: I've heard that some people also like the Intel C++ compiler. For m... (by Albatross)
I get an error code after the output: CRL 80004005
 
//This program calculates the maximum value in a matrix and divides that value by the other members...
[8 replies] Last: Thank you so much for your feedback I realize now I have to rewrite m... (by marty09x)
by kodera
error with using a binary search
 
The program takes in a list of names, then sorts them, then asks for a name to serach for, and shouj...
[3 replies] Last: first of all, change the if to if(Name==TwoDArray) and second, try to... (by justAbeginner)
Getting a type from a generated class
 
Hello everyone! I got a question/problem concerning templates. Consider following code: te...
[2 replies] Last: Ahhh ... everything seems so obvious now. Thanks alot! (by Haderes)
Running total outside a loop.
 
Hi guys, let me begin by saying thanks to all involved in the site. What a great resoarce for anyone...
[7 replies] Last: Its just an exsorsise, the k variable should actually be 1.234 as it i... (by Smoothy8r)
by hatt
new to c++, ran into a problem
 
hey I'm new to c++ and i've done a few tutorials, but i find i learn better by experimenting with s...
[16 replies] Last: another question, i tried googleing this but got nothing, is there a c... (by hatt)
Error in Binary'<<'
 
error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'void' (or the...
[1 reply] : You have defined printPatientDateofBirth() as returning void; make it ... (by Zhuge)
by kodera
Ending out of loop without return 0
 
In my code, I am trying to end out of the for loop to continue with my next list of arguments, but d...
[6 replies] Last: New problem... if you know how to fix, chime in!! When it gets to the... (by kodera)
no match for operator>
 
What am I doing wrong here? I really can't tell.. I'm pretty lost struct graph::path { vertex* d...
[2 replies] Last: yeah...missed that. Thanks! (by adikid89)
factors of positive numbers
 
I need to find the factors of positive numbers greater then 0 in an array. i need to count the facto...
[1 reply] : does anyone have any suggestions. I guess what is confusing me is how ... (by flyraf821)
winner anouncment, in a game
 
hey guys, i wrote a code for a tic tac toe game, nothing to beautiful, but i hade some ishues(i ...
[4 replies] Last: thx bluezor i will try that :) (by justAbeginner)
what do you think?
 
hi 2 all... what do you think? what is the output of this form of for loop:a nested loop without{}...
[9 replies] Last: friend, never mind.. just edit it well.. good luck in your assignment.... (by Maimaje Bello Abdullahi)
by zoerb
Extern Const int in header file
 
Hello, I am trying to create a unique ID for each World_Object that is created. //World_Object.h...
[6 replies] Last: How would I use an initialization list to initialize two const ints? ... (by zoerb)
clear terminal screen on ubuntu?
 
how can i do so without using system("cls") or system("clear")?
[3 replies] Last: First off, you probably shouldn't be clearing the screen for what you ... (by Duthomhas)
April 2010 Pages: 1... 910111213... 35
  Archived months: [mar2010] [may2010]

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