Beginners (Page 105)

Make a decision based on a 2d matrix
 
So, I'm making a Black jack simulator. I've generated the deck, shuffled it, dealt the cards, checke...
[no replies]
A Program that Read and Store Student file records (Grading System)
 
hello everyone... I have instructed to create a Grading system that covers following grading peri...
[no replies]
Problem with reading into a double
 
Hello, writing a program I found a small error in reading double. Why if I don't write a double valu...
[2 replies] Last: If I understand what you're trying to do, use a . as the decimal point... (by wildblue)
Program stuck in a while loop given the input XXn
 
Hiya everyone, I'm new to this site and I really like it here. I just started programming and for th...
[3 replies] Last: #include <iostream> #include<cctype> #include <ctype.h> #include <ioma... (by JoshiMoshi)
Arrays
 
I have a few questions on a school project I am doing any help would be greatly appreciated. Ques...
[1 reply] : In your calcMedian function, the if-statement for an odd-sized array n... (by sherre02)
Where the array is stored when I use new
 
When we need an array, we can either: int a ; or int *a = new int ; delete a; ...
[3 replies] Last: Thanks. (by buddha87)
adding two dice - functions
 
This is my function: void displayDice() { int dieRoll = distribution(generator);//randomly ...
[2 replies] Last: Like Ispil said... Throw in some return statements in your "if"-statem... (by sherre02)
array
 
Hey guys I am studying a totally new program and I am really bad at it ...could you please give me s...
[1 reply] : There are 3 things you need to be able to do: 1. simulate the roll of... (by sherre02)
Create Sdisk, files, and put things in them
 
Hello guys I am trying to create a disk Sdisk and load 2 files on it as well as put data into those ...
[2 replies] Last: Ah! thank you I was soo close I could taste it lol. I also put an x i... (by cory244)
by hhhr
function with dynamic array
 
im having trouble making function which takes in two integers, two dynamic arrays and the arrays siz...
[10 replies] Last: okay ill try that, thank you (by hhhr)
Write a program that ccontinues t
 
Requires: variables, data types, and numerical operators basic input/output logic (if statements,...
[17 replies] Last: i just tried the previous and it's fail so we need the if sign :P (by Vandalism)
What are the different ways to access/initialize a private member of a class?
 
Are functions and constructors really the only way to access private members in a class? also, how u...
[6 replies] Last: Hi, Also I have a vague idea that the order the variables are stored ... (by TheIdeasMan)
Question about constructor declaration with different arguments
 
Hi, I've got a question, I do not really understand what happens when I declare a constructor lik...
[4 replies] Last: ah so it works! Thank's, I did not know that I have to explicitly defi... (by Binary91)
Passing and returning a vector
 
I'm trying to figure out how to pass vectors to be able to modify them in a subfunction. This is my ...
[5 replies] Last: cool :) (by mutexe)
-Wall option less picky in c++ than in c?
 
I'm somewhat dangerous in C, not an expert by any means. I decided to rip off the bandaid and learn...
[4 replies] Last: Yes. C89 did not have this provision. In any case, unless both -std=... (by JLBorges)
Array homework.
 
Hi guys. I got a question from my homework i dont understand. My professor gave us the answers but I...
[3 replies] Last: a. just like x , arr is a new variable name for ArrType which is a... (by Lorence30)
Arrays
 
Hi guys, Im having issues with my array program. I would like to get the largest and smallest number...
[3 replies] Last: Thanks guys i got it running. Here is the finished product. I made it ... (by Rashad2)
by csharp
help in writing a class
 
Hello, I am writing class works with three colors intensity Red Green Blue the difficulty starts h...
[6 replies] Last: please need help to finish this assignment I having problem rounding t... (by csharp)
by jbing
Rewritining a code to do the same thing
 
Below is my code and I want to change it up but for it to function the same way. #include <vector...
[3 replies] Last: #include <vector> #include <iostream> #include <cstdlib> #include <fs... (by kemort)
using peek while prcessing an array?
 
So im writing an encryption program for my class in school and i want to use the peek function to lo...
[2 replies] Last: By default, formatted input of char skips white space. #include <i... (by JLBorges)
Pages: 1... 103104105106107... 124
  Archived months: [sep2014]

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