Beginners - December 2015 (Page 29)

Am I Over Commenting?
 
Am I Over-Commenting, here is a quick snapshot of a BlackJack program I have written, I was just com...
[4 replies] Last: Thanks for the link, I'm going to try and merge the practises that I'v... (by ctrlbadgerxl)
Finding if two matrices are identical
 
I am having some trouble with my current code. It seems to always return false when the only time it...
[2 replies] Last: Oh I just forgot to initialize the array. Can't believe I overlooked t... (by Robert1234)
Using classes (1,2,3)
 
Hello C++ forum users. I am having an issue with my code. I have a project and I am having trouble w...
[54 replies] Last: Best way to check is run the program but it looks OK to me. A bit frus... (by closed account 48T7M4Gy)
by rsood1
Need Help With Program
 
dxf
[3 replies] Last: Thanks! I finally got the array to display correctly, also I made some... (by rsood1)
Outputting to file
 
Hello! I am having a hard time understanding why my increastPct variable outputs 87654.23 to a file....
[6 replies] Last: Sorry if this is the wrong thread. why my increastPct variable output... (by Chervil)
Constructor not working correctly with parameters
 
Hello everyone, I am writing a code for a class that needs to have a constructor that is the startin...
[1 reply] : Hi, You are missing a declaration of that constructor in your class d... (by TheIdeasMan)
by nafy
using Char Array
 
Hİ there i am a beginner and i have a c++ project there is one part of it that i dont understand ...
[5 replies] Last: Whether or not you give the number 20 a fancy name, you should fill up... (by Shadowwolf)
Finding the sum of diagonals in a 4x4 matrix
 
The goal of the program is to randomly generate a 4x4 matrix with both 1's and 0's. Then print out w...
[no replies]
by MaxW20
char Array to int Array
 
I have a char Array with 50 numbers who are seperated with a blank. I want to store each of these nu...
[2 replies] Last: Do you have any code written? Are the numbers contained in a file, bei... (by underoathed)
by yehozz
Array with randome numbers
 
I are having some problems, with fixing my code here. I want the code to write in a randome numb...
[9 replies] Last: > How do i make the function take an array? The same way that you woul... (by ne555)
return value for void
 
The function below has a return type of void. But to end the recursion in it, we call return; ...
[4 replies] Last: return; can be used in a function that doesn't return any variable (... (by Moschops)
by sut
Problem with push() in Stack using array
 
As the program, stack should be overflow when pushing more than 5 data but overflow does not work ti...
[no replies]
by Torex
The 2d array prints incorrect numbers
 
Hi everyone. I'm having issues with this program. This program counts a sum of elements which are ab...
[3 replies] Last: If I want to give back the answer as a value with function, how shoul... (by Chervil)
Generating random numbers
 
Is it possible to generate random numbers not within a range? Like just generating a random number f...
[2 replies] Last: @joshuatz Yes, it is possible. Here's how I would do it. #include ... (by whitenite1)
SFML Resource Manager
 
For my game i decided I want to make a resource manager. I've seen ones but have no clue how they wo...
[16 replies] Last: Thank you for the extra help Zereo :) I will have a look at the links ... (by FighterCoder)
by cb32
reseting a variable
 
How can I reset the number assigned to a variable after it reaches the end of the code within a func...
[5 replies] Last: @cb32 Another problem with your code, is you are using assign instead... (by whitenite1)
Pointer
 
Why p[-1] = 4? *p++ = 1 not 2? #include <iostream> using namespace std; int main() { int a...
[3 replies] Last: I do not know for sure, but I will take a stab at it. Line 6, you set... (by tallyman)
Craps game in C++
 
When I run it, I can get it to ask how much to bet then play once and then ask the user if they want...
[4 replies] Last: what's this: return(saved, bet); ? (by mutexe)
Menu oriented project problems (1,2)
 
Is any of this majorly wrong or just a few errors ? when i run it, it runs fine and displays the men...
[20 replies] Last: Line 24 doesn't display the previously chosen filename. That's beca... (by AbstractionAnon)
Stopping a Loop (C++ Visual Basic)
 
I am supposed to make loop in which I count the number of characters of a license plate. I can only ...
[3 replies] Last: visual basic just shows the system I am using That statement makes n... (by AbstractionAnon)
December 2015 Pages: 1... 2728293031... 43
  Archived months: [nov2015] [jan2016]

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