Beginners - March 2014 (Page 50)

static method inside class
 
Provide a public static class method to test a tax rate percentage value passed to it as a paramete...
[no replies]
by Arcie
Getting extra cin line before while and if
 
This is a very odd problem that I just can't seem to figure out! I am getting a cin line twice when ...
[2 replies] Last: The reason I mentioned while is because if I switch while in for if, I... (by Arcie)
by dero
text file
 
hey all Guys can anyone plz tell me how can I delete the first and last line in an interval s...
[6 replies] Last: Could you read two lines (both 's' and 'r') at a time, test that both ... (by keskiverto)
Array problems, need help!
 
I'm having troubles with calculating the new score and calculating and displaying the difference bet...
[6 replies] Last: Edit** I just read the name of who posted that question, lol... Sorry... (by MikeyBoy)
Step 3 Disch's Binary Tutorial, File Format
 
Hi, I'm sorry to bother y'all but I'm a bit confused by what Disch's Binary Tutorial meant on Step ...
[2 replies] Last: Ah I can visualize it much better now, thank you! But now the questio... (by Peppercorn142)
more text based game trouble!
 
I've got 5 files: main.cpp character.h character.cpp storyboard.h storyboard.cpp when ...
[2 replies] Last: where should I put it so it won't be declared more than once? -ASCII1... (by ASCII14)
std::endl or /n
 
What do i end my input output streams with endl flushes the buffer while newline dosent wh...
[10 replies] Last: That depend. If you would want to learn C after you good In C++, go fo... (by MiiNiPaa)
Overload error
 
I have RestaurantCheck.h and RestaurantCheck.cpp files. This is from RestaurantCheck.cpp error s...
[1 reply] : Post full error text (by MiiNiPaa)
by enemy
why is new int[] changing its adress???
 
Write your question here. int* po(int b){ int d1; d1=3*b; int d2; d2=d1+5; ...
[2 replies] Last: It doesn't. You're misreading the output. I got this output from ID... (by Disch)
I am struggling with a while loop please help
 
Write your question here. I am making a program that that determines if someone has exceeded their c...
[18 replies] Last: It's got them flipped. im switching stuff around and it still looks li... (by adamcampbell)
by Arcie
Does Not Equal in relation to multiple possible inputs
 
Hi everyone! I am new to the forum. Before I start, I will say I have googled this question, checked...
[6 replies] Last: Thanks again! You guys rock! -Arcie (by Arcie)
Help with Pointers and Classes
 
I'm trying to write a class Person that has the following fields: name (string), best_friend (Person...
[1 reply] : You were trying to assign an object to a pointer to that object. Then ... (by MiiNiPaa)
destructor
 
Why is this class destructor declared wrong? class RestaurantCheck { // Public Interface pu...
[3 replies] Last: Yup. All constructors and destructors must have the same name as the c... (by MrHutch)
Why won't my code go to the second option I want avaliable?
 
Trying to make a super basic proof of concept game with my very limited knowledge, I want to type 1 ...
[1 reply] : Hi @josephbraun99, if (Variable = 1) else if (Variable = 2) you... (by eyenrique)
by enemy
Where to put delete (from with new created array) in function?
 
Write your question here. #include<iostream> using namespace std; int new_int(...
[8 replies] Last: Thanks!!! Is it written ok: delete z? (by enemy)
by enemy
new- delete at the right place???
 
Hello! Is that array deleted on the right way? Should not a be deleted instead of z? Many thanks! ...
[4 replies] Last: Thanks a lot! And I was also told different, that made confusion!:tup (by enemy)
by Leon23
What am I doing wrong?
 
Hey guys! I'm trying to make a deque in C++. According to dry run, my code is right and the function...
[4 replies] Last: ok, back home... here you go with the example i provided.. #include... (by Codermik)
[Help Please] looping
 
Write your question here. hi there cplusplus comunity im new here and im having a problem with my c...
[2 replies] Last: thankyou for the answer sir ill try the cin and get back for some more... (by troyzkie)
Some mistake with creating .h Files
 
Hey Guys! I just wanted to tryout using header files recently and just can't figure out my error....
[6 replies] Last: dang....what a trivial error. I should only use scope operators :: fo... (by Falke88)
Fractions calculator
 
Write your question here. #include <iostream> #include <cmath> #include "test.h" using na...
[5 replies] Last: void reduceFracc(int &numerator, int &denominator) { int *pNum; in... (by Verance)
March 2014 Pages: 1... 4849505152... 79
  Archived months: [feb2014] [apr2014]

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