
please wait
by kradragon94
Confusing in inheritance
|
I do this excercise: Implement a sort function that takes a vector of pointers to an interface class, Comparable, that defines a method, compare(Comparable& o... |
Apr 24, 2013 at 3:36pm
[4 replies] Last: i change as above and stuck in making compare function to write out na... (by kradragon94)
|
by kabuki
Structures help
|
In this program, I just want to input an employee's data and then have it show me the report. My question is what am I doing wrong here because I'm not getting ... |
Apr 24, 2013 at 2:39pm
[8 replies] Last: Okay, I've just fixed it. I just changed all the operators to . operat... (by kabuki)
|
by theco0kie
Array help
|
I have to make the program sort values. My professor told me easiest way would be to put the values in a array first. I am to assume there will be no more the 5... |
Apr 24, 2013 at 2:22pm
[2 replies] Last: wow that was simple, thank you very much (by theco0kie)
|
by SoftDisk
small question
|
I am looking for a specific value in “from_node” edge struct, how do I find it…I need to traverse all edges of adjList, How do I access that? Thank you! ... |
Apr 24, 2013 at 2:06pm
[1 reply] : Each adjList is of type list<Edge>, so you have to iterate over the... (by keskiverto)
|
by lmsmi1
SetConsoleFontEx()?
|
Can someone please give me an example of SetConsoleFontEx() please? I've got the first two parameters down ( GetStdHandle(STD_OUTPUT_HANDLE) & false ), but ca... |
Apr 24, 2013 at 2:00pm
[4 replies] Last: I've not used this function myself. But presumably you need to define ... (by Chervil)
|
by Mustehssun
what graphics to use on Dev C++ 5.4.0
|
I'm trying to make a flowchart(programming flowchart) maker, i.e. the user draws a flowchart through this application. Previously i was using allegro 4.2.1 on D... |
Apr 24, 2013 at 1:56pm
[no replies]
|
Can anyone help me with my arrays please? |
I must use functions and arrays and I am having issues and cant get my code to run. I have even put it through codepad and I am not really understanding what I... |
Apr 24, 2013 at 1:51pm
[5 replies] Last: Thank you for the help screen name will be used to give credit for the... (by ejhernandez381)
|
by Minimacfox
Hangman drawing problem
|
The hangman drawing in the code looks completely fine. But when the program is run in the console it looks awful and changes the drawing?! #include <iostrea... |
Apr 24, 2013 at 1:10pm
[6 replies] Last: Your code has laid out the graphic using whitespace outside the string... (by Chervil)
|
by ashonk226
Functions
|
Write a function named totamt() that uses four parameters named quarters, dimes, nickels, and pennies, which represent the number of each of these coins in a pi... |
Apr 24, 2013 at 10:32am
[5 replies] Last: For all those that helped thank you. Here is what I ended up with: ... (by ashonk226)
|
by omegam1
a project
|
hi body; please help me do my own homework . i must write a program that takes 2 Polynomial and do it with The four main operation (+ - * / ). thank u; |
Apr 24, 2013 at 9:47am
[1 reply] : Please note, that it is not a homework site. We won't do your homework... (by MiiNiPaa)
|
by aflangdon
debugging
|
I can't get this to run for anything. Any ideas where I went wrong? #include <stdio.h> #include <iostream> #include <conio.h> #include <time.h> #in... |
Apr 24, 2013 at 9:35am
[3 replies] Last: I don't get an error. It runs, but does none of the calculations. It... (by aflangdon)
|
Counting characters |
I'm currently trying to count the number of specific character a file has and output it out as data but my program counts the letters only up to the letter "s" ... |
Apr 24, 2013 at 8:58am
[6 replies] Last: It may help to note that the fourth parameter to std::accumulate (on l... (by keskiverto)
|
by Lazerah
My first Allegro game
|
Hi guys so lately I've been working on a basic 2d shooter and I've run into a problem, my game starts up but doesn't do anything, and closes outputting The prog... |
Apr 24, 2013 at 8:36am
[14 replies] Last: bool Collision(float spaceship_x,float spaceship_y,float asteroid_x... (by Lazerah)
|
by ausairman
system("CLS") is too slow
|
First, a preamble; I don't care that System() is unsafe, and I don't want to implement some sort of graphics interface/layers/windows. I just want to use the co... |
Apr 24, 2013 at 8:14am
[6 replies] Last: Cool thanks :) (by ausairman)
|
by Miki Patel
Playfair Cipher
|
So im trying to create a 6 by 6 grid of a playfair cipher code. This is how it works...I enter a keyphrase and that keyphrase is put into a 6 by 6 grid ignoring... |
Apr 24, 2013 at 7:57am
[1 reply] : the problem is this: fc++; if (fc == 6) { fr++; // fr is increased, bu... (by coder777)
|
by Olysold
istream_iterator read text file.
|
How do you get an istream_iterator to read an entire text file word by word? Apparently its' continuously reading the first word in the sentence. #include... |
Apr 24, 2013 at 7:36am
[2 replies] Last: That was simpler than expected =p. Thanks Cubbi for that and the tip. (by Olysold)
|
by ausairman
How do I create a vector of new'd vector pointers
|
I've recently discovered that I can call the destructor for a vector of pointers using this: // call destructor of all pointers in this vector: std::for_... |
Apr 24, 2013 at 7:30am
[5 replies] Last: [quote=cire]My question is, why add 100 new'd elements to a vector? Wh... (by cire)
|
by suraya
fatal Error C1083
|
hey guys, i am writing this code and i got 8 errors i have no idea were did they come from but the first error is fatal error C1083 cannot opn program database ... |
Apr 24, 2013 at 7:25am
[4 replies] Last: thank you guys i will try that zhuge :) (by suraya)
|
by Wesley6694
while with a string? Help please.
|
Hello. My objective with this program is to get a name, and two test scores from the user. Then, get the average of the two scores and print the user's name wi... |
Apr 24, 2013 at 7:18am
[1 reply] : The loop condition is only checked at the beginning of the loop so it ... (by Peter87)
|
by ccwhat
can't reference have a type cast?
|
A simple question, just wanna make sure. int a = 10; double& b = a; |
Apr 24, 2013 at 7:13am
[1 reply] : It is possible, but be careful and know what you do. int a = 10; doubl... (by Peter87)
|