Beginners - April 2013 (Page 18)

Confusing in inheritance
 
I do this excercise: Implement a sort function that takes a vector of pointers to an interface clas...
[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 que...
[8 replies] Last: Okay, I've just fixed it. I just changed all the operators to . operat... (by kabuki)
Array help
 
I have to make the program sort values. My professor told me easiest way would be to put the values ...
[2 replies] Last: wow that was simple, thank you very much (by theco0kie)
small question
 
I am looking for a specific value in “from_node” edge struct, how do I find it…I need to trave...
[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 parameter...
[4 replies] Last: I've not used this function myself. But presumably you need to define ... (by Chervil)
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...
[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...
[5 replies] Last: Thank you for the help screen name will be used to give credit for the... (by ejhernandez381)
Hangman drawing problem
 
The hangman drawing in the code looks completely fine. But when the program is run in the console it...
[6 replies] Last: Your code has laid out the graphic using whitespace outside the string... (by Chervil)
Functions
 
Write a function named totamt() that uses four parameters named quarters, dimes, nickels, and pennie...
[5 replies] Last: For all those that helped thank you. Here is what I ended up with: ... (by ashonk226)
a project
 
hi body; please help me do my own homework . i must write a program that takes 2 Polynomial and do...
[1 reply] : Please note, that it is not a homework site. We won't do your homework... (by MiiNiPaa)
debugging
 
I can't get this to run for anything. Any ideas where I went wrong? #include <stdio.h> #in...
[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 ...
[6 replies] Last: It may help to note that the fourth parameter to std::accumulate (on l... (by keskiverto)
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 start...
[14 replies] Last: bool Collision(float spaceship_x,float spaceship_y,float asteroid_x... (by Lazerah)
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 ...
[6 replies] Last: Cool thanks :) (by ausairman)
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 key...
[1 reply] : the problem is this: fc++; if (fc == 6) { fr++; // fr is increased, bu... (by coder777)
istream_iterator read text file.
 
How do you get an istream_iterator to read an entire text file word by word? Apparently its' continu...
[2 replies] Last: That was simpler than expected =p. Thanks Cubbi for that and the tip. (by Olysold)
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: /...
[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 f...
[4 replies] Last: thank you guys i will try that zhuge :) (by suraya)
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, ge...
[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;
[1 reply] : It is possible, but be careful and know what you do. int a = 10; doubl... (by Peter87)
April 2013 Pages: 1... 1617181920... 83
  Archived months: [mar2013] [may2013]

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