Beginners (Page 9)

Score the race
Some number of teams are participating in a race. You are not told how many teams are participating ...
[1 reply] : how would I split each character out of the string and into an array?... (by Moschops)
Deleting from an array
Hi all, my array has a max size of 10 places; and it contains a string, Im trying to delete a letter...
[2 replies] Last: Your problem is that when you delete the first letter, you're doing tw... (by AbstractionAnon)
I am writing a code that needs to ask a user for their name in the order of " Last, First I. " and r...
[1 reply] : (by cire)
by h3y4w
How to go back to functions without explicitly addressing it
Hello, I was wondering if I could go to a function from another one without explicitly addressing. ...
[1 reply] : Well, when the bye() function terminates, it will return you back to t... (by Ispil)
Error ')' Before string constant
What should i do? Here's my code #include <iostream> #include <cstdlib> using namespace st...
[3 replies] Last: Are you possibly looking for something like this? #include <iostream... (by newatthis)
Hi I need to do the following in C++ but I have no idea what I am doing. Here is my problem questio...
[4 replies] Last: Thank you so much for your help. Dhayden, yes the calc is in a single ... (by mildredx)
Access specifier in Inheritance
The following text is from the link: "Actua...
[1 reply] : It's just common wisdom from object-oriented design, often stated as "... (by Cubbi)
Algorithm ideas for this problem?
I have a series of values in chronological order. I need to calculate the mean of a specific percent...
[no replies]
Having trouble with Random Number Guessing Game
Hello guys I am currently in an intro computer science class, I am currently having trouble with ...
[9 replies] Last: I don't know if it's too late, but here is what I came up with. #in... (by newatthis)
How to x.find(*any element from array*)
On the sole purpose of learning i've created this simple program that recognizes two possible beginn...
[3 replies] Last: std::find() is the droid you are looking for I see that you have... (by Duoas)
find specific line in txt file.
[2 replies] Last: Since the date field is at the beginning of each line, you could read ... (by Chervil)
by vaynex
Comparing Values with Different Data types and getting the largest value
Right now my program works but I would like the program to return the fielddata .Field value with th...
[8 replies] Last: Slightly different from Cervil's suggestion, I'd just maintain a varia... (by dhayden)
by reduxe
Mean, median and mode in arrays
Hey guys, I need a bit of help with arrays. As far as we have been taught, I'm still at the level ...
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
[SOLVED]pugixml parsing
Hi, I have an xml file like this- <char> <npc> <item> <obj bottle="bloo...
[1 reply] : got it :)). (by Turbo82)
replacing char in a string.
Hey guys, so in a bit of a bind, and my project is due in a few hours. I know there is a way, but al...
[1 reply] : #include <iostream> #include <stdlib.h> #include <string> using nam... (by Thomas1965)
by vc98
Array Problem
Hello I am writing a program that gets the minimum(xmin) and maximum value(xmax) of x from the user ...
[6 replies] Last: Ok, just spotted the pesky semicolon on line 22 :+) (by TheIdeasMan)
Anything unnecessary or able to be improved in this code?
This is my first post to the forum, so apologies if it's in the wrong forum or even a useless questi...
[3 replies] Last: Thanks guys I'll try all of the suggestions, have a good one. (by ChangCow)
Convert to upper and back
So I have to create a program that take a string and brings it toupper then brings it back tolower h...
[14 replies] Last: No jib that is not what the program calls for sMav that is great for ... (by theotherguy8883)
by vaynex
data from file into array of struct
How do i take the data from the .txt file and enter it into the array so that I can use it in the lo...
[6 replies] Last: Your code is mixing two different variables. One is an int, the other ... (by Chervil)
by h3y4w
Health bar/Damage system
Hello, I am stuck on how to make a health bar for an enemy. This does the opposite of what I wan...
[5 replies] Last: No worries, I didn't catch it at first either. Keep up the zombie stuf... (by wizebin)
Pages: 1... 7891011... 48
  Archived months: [dec2015]

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