Beginners (Page 6)

New! Join the C++ community on Google+
problem with my code
 
here is my code, when I run it it wont calculate the average. Also I dont know how to make the avera...
[2 replies] Last: Thank you! (by farooroo)
by Bartek
Code optimization (for a competition)
 
Hi, can we optimize more this code? #include<stdio.h> main(){int n,i;scanf("%i",&n);while(n--){...
[3 replies] Last: Write it in J (by ResidentBiscuit)
Which graphics library?
 
I have 2 years learning C++ and I have just scratched any of the graphics apis, only by their names....
[7 replies] Last: I've played with both and do have to say the documentation in DirectX ... (by ResidentBiscuit)
i tried to make a program but didnt work :( help plz
 
i entered this code #include <iostream> using namespace std; int main () { int a,b,c,sum,av...
[3 replies] Last: Take the example of Bartek as a good one. But, when you will be develo... (by EssGeEich)
Binary Search try
 
I cannot get my insert function to work for my binary search tree. Says i need to return a value i d...
[no replies]
Simple solution, major frustration
 
#include <iostream> #include <ctime> #include <string> #include <cstdlib> using namespace std; ...
[9 replies] Last: Just use if to tell it not to go above or bellow those numbers.... (by Forseth11)
abstract base class - private members?
 
Hey folks one question: if i make an abstract baseclass... then all the private members in tha...
[1 reply] : Not if the abstract base class has public or protected member function... (by Peter87)
help please urgent
 
how can i fix this double *myarray = new double ; because i get lenght as an undeclare identifier pl...
[7 replies] Last: +1 for Raezzor : Just learned something Lol I didn't see the mistake ... (by alistjazz)
why does cout give me 0 and not the contents of the file?
 
ifstream letterfile ("letters.txt"); cout << letterfile; theres a file filled with stuff but i...
[4 replies] Last: oh, k thanks. (by devonrevenge)
by dusty
Replacing an integer value with a blank space
 
If the number zero is acquired via ifstream, how can you replace it with a blank space? I've looked...
[5 replies] Last: while (!inFile.eof()) { int tf = 0; cnt++; avg... (by dusty)
SDL_Surface not going where I place it on screen...
 
So I tried making a simple program that has a button on screen and when the user hovers there mouse ...
[2 replies] Last: ty! lol (by Wil Prim)
code please_12/10/2012
 
// Devleop a C++ program that will determine if a department store customer has exceeded the crdit l...
[2 replies] Last: #include <iostream> using namespace std; int main() { int accountN... (by dipen45)
HALP!
 
How do I make it so if the person has 2 or less absences, it adds 2 points to their average? Help! ...
[1 reply] : I assume this is copy pasta'd code? Why is absence a string? Maybe hav... (by ResidentBiscuit)
How to add a second player for trivia game.
 
I have my code complete, it works and everything, and I find out it has to have two players. Stupid ...
[no replies]
Sorting Help
 
I need to take my code here and in the output report sort it so its the people with the highest aver...
[3 replies] Last: Not sure why you'd name the two overloaded operators as friend functio... (by Raezzor)
Convert inches to feet?
 
Hi i am wondering how to convert inches to feet from the user input? i am doing overload programs wi...
[4 replies] Last: If it's not an actual member function then the only thing that it woul... (by Raezzor)
Inherritance Advice
 
Hello, I am having trouble putting together a program design which fulfills certain needs for me....
[no replies]
allegro help
 
ok I am just starting to get into graphics. I have the allegro file and everything that it needs but...
[3 replies] Last: Ok, 2D I'm guessing? It maybe be worth it to learn OpenGL BUT it is al... (by snow 56767)
C++ Visual Programming
 
I am want to get tutorial of C++ Visual programming . But i can't find something about it . Please g...
[no replies]
operator *= function
 
This program Should write by friend operator *= function .unfortunately It only answers triangle are...
[5 replies] Last: I seem to remember this question: http://cplusplus.com/forum/beginner... (by Stewbond)
Pages: 1... 45678... 113
  Archived months: [oct2012]

Cannot post in this page. To post a new message, go to the first page.