Beginners (Page 110)

New to the boards and to C++
 
currently working on a problem that I just do not understand. so far C++ has been smooth, until I...
[3 replies] Last: this worked when I added the line "using namespace std;" the cout fu... (by closed account 1CfG1hU5)
Parking Program
 
I have a program where a parking garage charges 6 dollars for 3 hours. for extra hours, they charge ...
[1 reply] : Your problem probably lie int his line: else if (hOurs >= 3) You hav... (by Keene)
Compiler error
 
hey this is a code written by one of my friend.It has a lot of errors and i am yet to debug them..ho...
[2 replies] Last: that worked....thank you.. (by sohom15)
counter with specific if statement
 
Hello Everyone, How can I make an if statement to do something when 1 has been added to that intege...
[3 replies] Last: Something like if(prev_tie + 1 == tie) ? (by Zhuge)
C++ T/F questions
 
Questions : answer True (T) or False (F) #1: An identifier can be any sequence of digits, letters, ...
[1 reply] : What are your guesses and why do you think them? (by Ganado)
by davez
Problem with 0
 
Good day guys how can i display the 0 when i enter a number like 00005? #include <iostream> u...
[2 replies] Last: As there is no difference between 5 and 00006 cars LOL. Only for use... (by Duoas)
Get rid of empty line in QTreeWidget
 
I have created a QTreeWidget and filled it. When i delete an item from the tree,an empty line mov...
[no replies]
Strange errors
 
This is the first c++ scripting i have ever done, but there was an error that i don't know how to fi...
[5 replies] Last: Oh thanks. (by nafiz12345)
by anshe
food ordering system
 
hello, i'm new here. can someone help me how can i fix my system... my total amount purchase ...
[18 replies] Last: Not many people are going to go through all that, but: In your functi... (by Ganado)
Replace a word in string
 
So I have this function string replace_sentence(string s) { s = string(s.begin(), s.end()); i...
[3 replies] Last: This is the line I was referring to: s = string(s.begin(), s.end());... (by jlb)
Custom vector class
 
I have written a custom vector class for an assignment, and am having trouble with the driver code. ...
[9 replies] Last: No, I think they want him to throw an exception, since there's a try/c... (by EssGeEich)
Overloading operators to add a class and an integer
 
I need to overload an operator, actually all of the binary and I am struggling to why my code doesn'...
[1 reply] : All you say is possible but the way you do it isn't right Here ↓ {r... (by andy1992)
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)
Pages: 1... 108109110111112... 130
  Archived months: [sep2014]

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