Beginners (Page 6)

Check if it's possible to make an integer array strictly ascending by removing a single element
I am a beginner in C++. Below is the function I wrote to check if an array can be made strictly asc...
[7 replies] Last: Thanks, it's useful to learn different ways of solving the problem. (by ajibpaudel)
by vpham1
i have no idea how to begin with this problem
The Human Genome Project is an international effort to discover all of the approximate 30,000-100,00...
[2 replies] Last: someone please ban the above user ^^ (comologia) for spam and trying ... (by adam2016)
Below Average output
Hello everyone! Im pretty new to c++ and was hoping on some suggestions. I'm working on a program...
[5 replies] Last: I agree with nick2361. std::vector is much more powerful than array. (by Thomas1965)
by Baps
Small help needed to complete an arrays assignment! Beginner programming.
Hello, thank you for checking on my question! So I am making a program declares an array of 100 doub...
[6 replies] Last: Thanks for all your help, Andy! My compiler wasn't recognizing some of... (by Baps)
using getline() in for loop for n times, but will let me enter n-1 times
hello, i'm trying to write a code for entering a number(n) of strings and then fill a vector with th...
[2 replies] Last: Many thanks, I understand now :) (by nick2361)
C++ federal tax program
This was my original code below-- I have to add taxRate -float- 6 tax rates and filingstatus -string...
[no replies]
*operators returning garbage values
Write your question here. The code makes the heroes fight against each other using the *operator. ...
[6 replies] Last: How do you know the number of rounds it displays is off by one? Every... (by Ganado)
Constructor questions
Hiya, just tryin to get a full grasp of constructors. Below are questions that my study guide asks. ...
[6 replies] Last: An important thing to remember is that assignment destroys. The line ... (by Cubbi)
by leorio
Question regarding an if statement inside a for loop
Why does this print 6 times instead of 3? I can't wrap my head around the logic behind this. for(...
[1 reply] : if (i < 3); Remove the ;. It terminates the if.. Your cout is not ... (by AbstractionAnon)
Building an Application Preferences Class
I have just started learning C++ after being a Flex developer for many years. I typically build nati...
[2 replies] Last: I appreciate the suggestion to the JSON parsing library. Ultimately, m... (by jsquared90)
by teppa
Placing blocks issue
Hi, I'm pretty new to programming and I'm stuck with an assignment. I'm trying to place blocks in a...
[1 reply] : shouldn't the Rect() take a variable ? Something like Rect(j,0.0, 32... (by jonnin)
by cash
program not working
What am I doing wrong, there is no output. #include <iostream> #include <string> #include <f...
[1 reply] : Line 14: This if is not needed. If the file didn't open, line 13 pro... (by AbstractionAnon)
Looping when user input is not the specified number.
Hi everyone, this is my first post on here so apologies if it hasn't been done right. I need help...
[2 replies] Last: You haven't shown the declaration for house . I'm assuming it's an i... (by AbstractionAnon)
Need help with my code
Need help with my code. The programm is done in 90% or more, but doesn't work right. I don't know wh...
[1 reply] : There's a problem with the problem. You have a single word: "a1". Yo... (by lastchance)
identifier, member function is undefined
The line 19 gives me an red line error saying identifier apply_damage is undefined. Any guess to ...
[3 replies] Last: Line 16: operator * is not a member function of Hero. Line 19: Wh... (by AbstractionAnon)
undefined behavior output in deque
Write your question here. #include<iostream> #include<deque> using namespace std; deque<string>...
[4 replies] Last: thanx a lot Peter <3 (by zeroblank)
finding largest column
For the array created I'm having a problem finding the largest column. #include<iostream...
[1 reply] : Line 65: sum += a ; should be sum += a [ i... (by lastchance)
Rental System
Guys I need help coding a car rental program. I wanted to know how to make the program update the...
[1 reply] : Keep a record of which cars have been booked for the day. You could do... (by Repeater)
C-string vs string objects
Hey guys. Although I use this website frequently I've never actually needed to make a post. Anyways,...
[9 replies] Last: If you are using Visual C++ then use CString; the CString Class is act... (by Bater)
HELP WITH PROJECT c++ (Array, string file, sort)
Okay, I have this project due today. I have written the codes. I need to read a .txt file and put ...
[2 replies] Last: Thank you so much. Although i don't what std: i see the pattern of th... (by trazafin)
Pages: 1... 45678... 46
  Archived months: [oct2017]

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