Beginners - December 2015 (Page 35)

by rigged
blackjack game
 
Hello, so this is a last minute call for help. Now I am pretty much a beginner, been doing programm...
[1 reply] : Heres the second bit :/ int main() { int playerTotalPts, compTotalP... (by rigged)
please help me to compile this
 
I dont know why this wont compile.. please help #include <iostream> using namespace std; int m...
[1 reply] : > I dont know why this wont compile.. please help You have a period a... (by JLBorges)
Problem with getline
 
My code seems alright to me. Then when I run it, it doesnt let me get input for the title for movie ...
[1 reply] : PLEASE learn to use code tags so your code is easier to read. (You can... (by closed account E0p9LyTq)
Help involving arrays and strings (1,2)
 
Hello. I was wondering if perhaps some assistance could be given to me. The assignment is as foll...
[25 replies] Last: A nickel's worth of free advice: The error messages you posted were q... (by closed account E0p9LyTq)
I am getting a segmentation fault, why?
 
#include <fstream> #include <iostream> #include <vector> #include "printFunctions.h" using ...
[1 reply] : In function calcAverages what is the value of averages.size() ? B... (by Chervil)
Finding the sum of individual columns in matrix
 
I need to write a program that prints the sum of each individual column in a matrix. My code current...
[4 replies] Last: Oh okay that makes sense. Thanks! (by Robert1234)
by Dofzky
Input file deleted whenever I run the program
 
I am trying to make a program that calls an input and output function to a file. My goal is that a u...
[4 replies] Last: That worked great, thanks for the help. (by Dofzky)
I need help with arrays
 
Q1. What is a character array? Q2. How do we add another element in an array? For example; in...
[1 reply] : I suggest you first of all go through these tutorial pages: http://www... (by Chervil)
How to write a recursive function that works it's way through every element in an array?
 
Hello, so I have this array: Now I have to work my way through this array, by increments of 1 I hav...
[6 replies] Last: oh...okay! I see! I got it working, thank you! (by vaultDweller)
Array/Function issues... Things are going horribly wrong kind of
 
So Information is feeding great through my first function... Way to go first function! then I get a ...
[2 replies] Last: jlb!! Thanks I thought I was going crazy... This is why it's great to ... (by StoriesOfRen)
Prime Number Counter
 
I need this to print out the amount of prime numbers that the user inputs, however my code stops to ...
[1 reply] : Two problems: 1) Your loop at 19 is counting both prime and non-prime... (by AbstractionAnon)
array math
 
I'm trying to make this function add 4 to the array until the array hits the flag then the adding st...
[5 replies] Last: I'm still trying ... my head That's the spirit! Cheers :)... (by closed account 48T7M4Gy)
How do i make Char without constant value ?
 
hello how do i make char without constant value n will be typed by user from this #define GRID_...
[2 replies] Last: thanks i got it know (by totalnooob)
Pointer of an array in recursive function
 
I've made queens problem , it works if I declare the array in which I calculate the solution global,...
[2 replies] Last: thanks, seems that was the problem (by closed account E3h7X9L8)
How do I go about reversing the numbers in an array to what they where imputed
 
I am a bit stuck on how to approach reversing the order of an array so that for example i enter the ...
[3 replies] Last: BTW, your variable declarations is a bug lurking to strike: int big,... (by closed account E0p9LyTq)
Search Function with Two String Vectors
 
Im trying to create a searchable database, where it takes in 5 ingredients from the user as a string...
[2 replies] Last: _ # *Cheese-y Ramen* Prep Time: 5 minutes Cook Time: 20 minutes Tota... (by oconnora2)
C++ Structures
 
Sorry this is so long but I'm really stuck. Some parts of my code are not working and I don't know w...
[2 replies] Last: Lines 50-56: Style issue. Keep your structure declarations together ... (by AbstractionAnon)
pass array w pointer & "new operator" help plz!
 
K, here's my assignment: "Write a function named reverse that accepts an int array and the array'...
[2 replies] Last: 1. I'm having a hard time understanding how to pass the array from ma... (by cire)
graphing
 
Hi Everyone, Let's say I have coordinates for a graph, (1, 2), (3,2), (4,5) .. etc I want a...
[no replies]
weird Error error in compiler???? ANYONE know
 
error within compiler- What does this mean, how do i fix this? #include<iostream>//error is h...
[3 replies] Last: What compiler? Are you sure you're pointing at the correct iostream ... (by AbstractionAnon)
December 2015 Pages: 1... 3334353637... 43
  Archived months: [nov2015] [jan2016]

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