Beginners (Page 56)

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]
Problem with data not storing to be displayed.
 
Hello, I am a beginner programmer currently in class, and I'm having some trouble with an assignment...
[no replies]
by mmgh
Undefined symbols for architecture x86_64
 
Hello, I have a linking problem. Would you please help me understand what is going wrong here? ...
[6 replies] Last: Oh! that was the point. thank you so much. It is compiled now. :) (by mmgh)
Converting shared pointer to object
 
Write your question here. Hi guys. I am working on an assignment and I only have to convert a shared...
[1 reply] : You can't convert a shared pointer to an object. You can use the share... (by Moschops)
Function Help
 
Hey everyone, I need some help with functions. I was instructed to add on to existing code (my addit...
[1 reply] : The computer isn't necessarily ignoring your function. You have just n... (by Tom56785)
Copying an array into another one
 
I want to conditionally copy (only selected elements) from one array to a (big enough) empty one. I ...
[3 replies] Last: variable length arrays (vla) are illegal in c++, use std::vector inste... (by ne555)
by Alleks
Creating a dynamic library
 
Write your question here. I'm trying to create a dynamic library. I went to the projects options an...
[2 replies] Last: I did it ,and then added these files in the main project. (by Alleks)
by slex04
n1
 
5 int func1(int n, int n1) 6 { 7 n += 3; 8 n1 -= n; 9 return 2 + n + n1 * C; could someone plea...
[2 replies] Last: Since we don't know the incoming value of n1, or the value of C, we ca... (by fredk)
Pages: 1... 5455565758... 71
  Archived months: [mar2016]

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