Beginners - April 2016 (Page 3)

c++ looping string array
 
We would like to question about the condition of for loop that can make us store the 4th element in ...
[1 reply] : You just need to increment the value of counter-variable "i" by 4. The... (by brijeshjain13)
Calculation error
 
Hi,
[4 replies] Last: Original code for reference: #include <iostream> using namespace st... (by MrHutch)
Loop shows last line instead of all relevant
 
i need my output to display both names of people who inputted the word "Fairytale" under UrType vari...
[4 replies] Last: Thanx a milli. It worked. (by silent one)
member selection operator program
 
Why this program is not working?? #include <iostream> #include<cstring> using namespace st...
[2 replies] Last: I did make some changes, and it worked. Thanks using namespace std;... (by rajhansk)
Final Exam Code
 
This is due tomorrow night and the code compiles but when I run the program fails to work. #incl...
[1 reply] : What do yo mean by "fails to work"? In other words what do you expect ... (by tipaye)
C++ and Java
 
C++ is basic for learning Java..After learning C++ it is easy to learn Java, JSP, etc.. I have give...
[no replies]
Adjacent list
 
I am trying to find out the adjacent list of my cities class. I did this function but there are a b...
[1 reply] : There are several errors. Line 26: The type to push_back is std::lis... (by coder777)
by abeke
2048 game
 
#include <iostream> #include <vector> #include <cstdlib> #include <algorithm> using namespac...
[6 replies] Last: sorry ,I do not know what you say,can you statement clearly ? Now... (by daguanqiao)
Cannot resolve overloaded function based on conversion to type
 
Hello everyone, I am testing a function--viz., "mymaximum," which is supposed to give me the maxim...
[4 replies] Last: Yes, that makes sense. I simultaneously changed the scope of the decl... (by Pegasus1)
C++ Word Count Program (with sorts) Error
 
Trying to take a file and essentially write a program for a word counter, reading a line from a file...
[no replies]
Keeping Score and Declaring a Winner Assistance
 
Creating a word game with players and rounds and then at the end it should total up the scores and d...
[3 replies] Last: What exactly is that telling me I need to do to fix that? I don't kno... (by coder777)
What's wrong with this pointer?
 
So I'm breaking my head here. I've been reading up and down and I just can't figure out why my progr...
[1 reply] : Hi, You don't seem to have defined any of the class functions :+) Do ... (by TheIdeasMan)
Trying to pass an Array into an argument as a pointer, but sumTINGwong
 
I am having trouble passing the array as an argument into the function, it is saying the "&" in the ...
[6 replies] Last: Here is the completed program / Assignment. Thank you for helping me u... (by Guardian2013)
Else if statements not working properly
 
Hey. So I am pretty new to C++ programming only been doing it for a few weeks now. I have a midterm ...
[3 replies] Last: Hey it works now! Thanks so much guys I appreciate it. (: (by alphamonkay)
DUNGEON CRAWLER HELP!!
 
I have just started with this dungeon crawler game and i am just trying to get the while loop to wor...
[3 replies] Last: If you want the grid to be displayed in the loop, and you're wondering... (by cire)
overload error
 
Hello, so im getting overload function with no contextual type information at lines 124 & 131 . Any ...
[3 replies] Last: What are the down sides? and what are the benefits to using std:: W... (by TheIdeasMan)
All Prime Numbers in interval [2,n]
 
Hello everyone, My goal is to make a program that asks the user to input a positive integer n that ...
[2 replies] Last: Thank you! (by Pegasus1)
C++ Composition Not Working?
 
The code keeps returning the values from the default constructor, instead of returning the values th...
[4 replies] Last: Thank you. Figured it out. This is what i ended up doing. int mai... (by ItsGary)
Question about bool and a loops in it
 
hello, sorry i'm a beginner to c++ programming so i don't really understand everything clearly. i've...
[1 reply] : return transfers control back to the caller immediately, so if both br... (by helios)
April 2016 Pages: 12345... 43
  Archived months: [mar2016] [may2016]

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