Beginners - February 2014 (Page 12)

rand() - simulation program - seed
 
I had a previous post about this same program, but now I am at a new topic, so I created a new thread. Below, I am using cout << jumps << endl; cout << los...
[9 replies] Last: You are accessing out of bounds in the `jumpFleas()' function by insta... (by ne555)
by BaneX
HW HELP!
 
I'm taking introduction to c++ and i'm stuck at this problem PROBLEM: What is the result after each statement(s). If the assignment is not valid, state the ...
[2 replies] Last: I don't know how to start this problem, bear with me because all this ... (by BaneX)
Can someone help me out about homework?
 
I'm getting stuck of making c++ coding. I already have a bit coding. but I'm not really sure if this is the right one. The question is: A parachutist of mass 68...
[no replies]
Help please, cant figure out equation.
 
Can anyone spot what I've messed up in case b, its giving out completely wrong answers for the fondant and butter-cream variables. #include <iostream> ...
[no replies]
Weird pesky tilted ' and ’
 
hello, I am writing a piece of code that replaces caracters in a string and i need some help. The problem is is that i do not know the code for ’ .. whil...
[5 replies] Last: like MiiNiPaa said. '\342\200\231’' is a string of 3 chars you need ... (by Jaybob66)
Issue with sdl mixer...
 
When I attempt to load a wav file it fails to load. I have checked the path over and over and even Used other wav files to see if it made a difference and noth...
[5 replies] Last: The human readable string just said "can't load file". I am using code... (by Hambone)
Invalid calculation?
 
This is a program for my school class. When I input $30,000, I always get -$9,107 or something like that. What am I doing wrong?? #include <iostream> #in...
[2 replies] Last: I've changed that, and it works perfectly. I CAN NOT believe I missed ... (by Icyboom15)
Help With Classes
 
Working on a program using classes: I cannot figure out to write my default constructor. Report Heading- uses a class named Heading that has 2 data mem...
[3 replies] Last: I am getting error on line 38 - 41 on the couts << it says there is no... (by kmartar)
Bracketing Search
 
Hello, I'm very new to C++(you can see this is my first post here) and I'm doing a beginner exercise called Bracketing Search, I'm pretty sure that most of you ...
[8 replies] Last: Ah, I see.. yeah maybe rather than restart the program, it's more conv... (by LuminaChen)
Need help with how to delete a record
 
This is my first time using this forum so I am a bit unsure of what exactly to include for my code. My assignment for class was to create a Student ADT. I have ...
[2 replies] Last: My assignment for class was to create a Student ADT. An abstract data... (by kbw)
Problem with debugging
 
Hello, if I try to debug then comes this error: http://gyazo.com/97152f10b0b2afbb5f79b3df46085bbb.png I'm a beginner in scripting :( Would be great if you...
[2 replies] Last: Solved it. Thanks. (by ToxicBear)
Revising an arkanoid game
 
Hello there guys! :D I've decided to create a revised version of the game arkanoid that will make it different from the original one. Any suggestions? :) I don'...
[1 reply] : http://gaming.wikia.com/wiki/Ricochet_Infinity#Powerups (by MiiNiPaa)
Suggestions in making a simple game in c++?
 
Hi guys. Just wondering, can any of you guys suggest a simple 2D game that I can do in c++? I'm gonna be using data structures, recursion, and other more concep...
[3 replies] Last: Do you want it to be console or you will use some graphic library? Con... (by MiiNiPaa)
Not Declared In Scope
 
...
[6 replies] Last: Oh wow, it actually works. Thanks, you guys are awesome. :) (by Kroggor)
Where to start?
 
Hello i am very new to this and need pointing in the right direction. i have always wanted to be able to write my own programs but i do not understand 1 bit ...
[1 reply] : Just click on tutorials in the panel on the left. Seems a good place t... (by mutexe)
Error Shadow Parameter
 
// This program demonstrates the use of structures. #include <iostream> #include <iomanip> #include <string> #include <cstdlib> using namespace std; c...
[9 replies] Last: GrossPay(employee); (by ne555)
breaking out a loop
 
Here is my question, I want to test to see where names array is equal to a space " " an when the first space comes up I want to exit the whole thing. In short I...
[2 replies] Last: Use a loop that's more appropriate for the purpose. int i=0; ... (by cire)
Destructor of linked list
 
Hey all, So I have a pretty basic question. I need to call the destructor of a linked list that I created. I don't know why I cannot figure out the syntax ...
[2 replies] Last: @KvltKitty, You cannot call a destructor by yourself. It is called aut... (by NPcomplete)
Outputting Character Array. Help please?
 
Hello, My program takes the firstName and lastName c_string null terminated arrays and combines them into the fullName array. The fullName array is sent to t...
[1 reply] : use strlen( fullName ) in place of 20 or even for( /*int*/size_t i ... (by nvrmnd)
Program only returning 1st value of array
 
I'm writing code that declares 3 arrays in main then sets the 3rd equal to the 1st multiplied by the 2nd in another function. It's then supposed to give display...
[1 reply] : Your calcVolts function doesn't need to return anything, make it void ... (by i2Fluffy)
February 2014 Pages: 1... 1011121314... 60
  Archived months: [jan2014] [mar2014]

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