Beginners - April 2014 (Page 10)

New variable or compound math statement
 
I'm writing a program to calculate the miles per gallon that a vehicle delivers. The user inputs th...
[1 reply] : It does not actually matters. Both are fine. I would use second probab... (by MiiNiPaa)
graphics, sierpinski carpet
 
hi! i have this project that i have to do... and i really dont know how to do it. it is using graphi...
[8 replies] Last: Are you sure its not related to Turbo C, and not your code? Sorry I c... (by Codermik)
Set/Get Constructors, Pointers and Classes
 
I have an assignment to create a gradebook program using C++. I am not allowed to use vector or list...
[9 replies] Last: course_id shouldn't be the id of the students should it? course_id s... (by Codermik)
by blabla
Reading from a txt file
 
Hello! Does anyone know why this is not working? what did I wrote wrong? This is the txt file: ion...
[1 reply] : fscanf(f,"%s",&denC); First line of file way larger that 30 symbols:... (by MiiNiPaa)
Car Wash program. Any ideas?
 
I am creating a car wash program and so far this is what I have come up with. I think my program loo...
[1 reply] : You could add options specific to certain wash. Like extra drying or t... (by Annatar)
how to put back into fstream the last character read
 
I have been struggling with this for a while. I would like to put back the last character read by fi...
[7 replies] Last: I was using eclipse with same c++ plug in and when my program crashed ... (by tdeluce)
by ashash
computational physics
 
Write your question here. this is an incomplete code , what it should do is ask to input 2 .TXT fil...
[3 replies] Last: First things first, after your include statements, put 'using namespa... (by closed account 3R5fjE8b)
by moeby
Dawn of Time
 
Hi all, I'm working with this mud codebase and I'm trying to change up the character customization p...
[4 replies] Last: oh its http://www.dawnoftime.org/download/ and http://www.forums.dawno... (by moeby)
random friend to text using an array?
 
hi i need help figuring out how to find the a random friend to text, i must input a seed ex. 21, 42,...
[7 replies] Last: is this what you mean. i only added the new string. then idk what else... (by JulyZerg)
by Kazza
Moving sprite in all directions?
 
I've been following a tutorial on how to create a basic c++ game of pong, however I want to change t...
[4 replies] Last: Sorry, I just noticed an error in my example in my last post - I got t... (by TwilightSpectre)
by strife
constructors & default constructors
 
Hello all, I am trying to understand a little bit more about constructors and default constructors ...
[3 replies] Last: Hi strife, Here is a little improvement: class Employee { public: ... (by TheIdeasMan)
'defaultHealthCalc' is not a member of 'GameStuff'
 
Hello! Why I received this message: GameCharacter.h:13: error: 'defaultHealthCalc' is not a membe...
[4 replies] Last: Thanks! I just removed #include "GameCharacter.h" from functionsForHea... (by Observer)
Problems in do/while loop
 
I think I'm having problems with my do/while loop in my program. I am creating a car wash program...
[15 replies] Last: [quote=MaxDaniels]A break simply ends the current function prematurely... (by TheIdeasMan)
Is this correct?
 
I obviously don't want anyone to do my work for me here, but did I read this and do it correctly? Th...
[4 replies] Last: Undo what you just did, because you already had a globally defined con... (by closed account j3Rz8vqX)
by Mousus
From Mac to Unix
 
Hi everone, I am using Mac for writing my codes and I use the following to compile my code in term...
[3 replies] Last: I think it's a good idea to make sure your program is correct. (by Duthomhas)
by Aceix
Any replacements for getch(), kbhit(), ...?
 
I want to know if there is any standard function that can respond to instantaneous keyboard state....
[2 replies] Last: Thanks, Aceix. (by Aceix)
Pointers to Class crashes, Bad Alloc
 
I've been writing a crude Text Based adventure for practice, but I've run into this problem and I ca...
[3 replies] Last: I was able to fix the crashing problem by sending in the Locations fro... (by closed account SwMDizwU)
[Operator Overloading] Finding the product of two class objects
 
I have an assignment that requires me to overload the * operator to find the product of two objects ...
[2 replies] Last: I see, that makes sense. Thank you for the insight! (by hinesro)
Overload function
 
hi i need to create to overload function i have the code done but do not know how to make them overl...
[1 reply] : You need to edit this post to show the source code format. (by AnonUser)
Creating a password...help needed
 
Hello fellas, Last thing you want to do is probably help me with some HW, but just in case there ...
[5 replies] Last: Alternatively, because I advocate the STL and C++11: #include <iostr... (by xismn)
April 2014 Pages: 1... 89101112... 67
  Archived months: [mar2014] [may2014]

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