Beginners - April 2016 (Page 27)

needing help with converting
 
trying to convert to a do loop and a for loop having a hard time with the do loop anyone have any s...
[1 reply] : All you need to do is take your code within your while loop and then m... (by tehHuzzlenut)
Receiving and splitting input from user
 
Hello, I am writing a code that will take in a string input from a user that will be read by my com...
[no replies]
by Argus
Can someone help me figure out a memory problem with my algorithm?
 
I asked this question in another C++ board, but I didn't really understand what they told me. So I w...
[6 replies] Last: I see, thank you very much for your help. I will proceed to fix it the... (by Argus)
How to convert this to use functions, instead of hard code
 
How would I go about converting the follow code from a former project, into a system that imports in...
[1 reply] : Something like this? #include <iostream> #include <string> #include... (by AbstractionAnon)
by HG319
Inserting element in vector of vector of type class
 
I have a vector<class>v1 and vector<vector<class>> v2; I ask the user how many vectors they need th...
[2 replies] Last: for(int i=0; i<=printers ; i++) { v2.push_back(v1); } I see tw... (by AbstractionAnon)
Using Array To Hold Five Class Members
 
I want to use an array to hold five vehicle class members. Am I writing the array correctly? ...
[2 replies] Last: vehicle .setALL("Unicycle", 1, 1, 80); and etc. This is how I ended up... (by joshuatz)
by Danky
Need help returning an index of a vector
 
Ok so what this does is puts in crimes of non violent, violent, and domestic crimes. Part of this is...
[2 replies] Last: THANK YOU SO MUCH!!!!!!!!!!!! (by Danky)
Linked List Selection Sort duplicating value
 
This is for an assignment which involves using selection sort to sort a linked list. The linked l...
[6 replies] Last: You're welcome. I would double check on the requirement to perform a f... (by closed account D80DSL3A)
by enesdl
Setting string to set number of charecters
 
Hello, I have some homework and I needed some help with finishing my code. The question is this: ...
[6 replies] Last: Hello so quick update I am able to make each sentence a set number of ... (by enesdl)
Basic math always returning a value of "0"
 
Hey guys, I'm sure I'm making a silly error somewhere, but every time I run my code, I'm getting bac...
[2 replies] Last: I see that you are trying to calculate totalZ on line 4, before the ... (by Moschops)
by mmgh
Unknown data type
 
Hello, I have defined a new data type in MyClass, but the compiler complains when I use that data t...
[3 replies] Last: Thank you so much. The problem is solved. (by mmgh)
Putting 2 points in to point-slope form
 
I am attempting to write a program that will allow you to enter 2 points and it will place them in t...
[1 reply] : Lines 7-10. You do create four variables, but do not set their values.... (by keskiverto)
error
 
I created different style of program this time, but they give me error::/tmp/cczAJxFX.o: In function...
[6 replies] Last: but i already included the formula inside my class declaretion On wh... (by keskiverto)
by InVain
dynamic casting while initializing a class list
 
I'm trying to initialize a list of derived/base class pointers to a base type(Employee) head from a ...
[1 reply] : A dynamic_cast<T*>( foo ) returns either * a valid T* pointer only ... (by keskiverto)
Problems with arrays for a program to grade a multiple choice test
 
I have a few questions about my code below. I am trying to write a program that grades the answers t...
[3 replies] Last: I've made the changes for the user input to be converted to upper-cas... (by xismn)
Need help on how to load an array by using a file
 
This is the file arraydata.txt 1 23 45 92 50 88 32 75 84 34 23 0 99 42 50 108 45 21 12 9 72 93 55 ...
[3 replies] Last: What specific problems are you having? If your answer is everything, t... (by chicofeo)
GuessingGameProgram
 
Got an assignment that's due in the very near future not exactly sure as to why the program will not...
[1 reply] : @AyakaSorii To fix the first problem, add a right curly bracket at li... (by whitenite1)
std::string vs QString
 
I am writing an application which will eventually be connected to a Qt GUI. In this application, I h...
[8 replies] Last: I introduce a string element in all derived classes. Both the console... (by helios)
error in program due today!!
 
Assume a class Window with accessor method getWidth that accepts no parameters and returns an in...
[2 replies] Last: THis is a programing lab question usually only have to do the main pro... (by ChungTong)
simple math program.
 
I am trying to write a simple program that takes a start and end number and determines the largest n...
[no replies]
April 2016 Pages: 1... 2526272829... 43
  Archived months: [mar2016] [may2016]

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