Beginners - December 2016 (Page 8)

Polynomial Class
 
Hi folks, I need some assistance with getting the logic for my Polynomial class to work. The prog...
[5 replies] Last: Why is it incorrect to pass by reference and not by value I said re... (by gunnerfunner)
file in/out grade program
 
hello, I am new to c++ and need help with this code. If anyone could help it would be very much appr...
[2 replies] Last: Is your .txt file just letter grades or do the phrases 'Section-001', ... (by gunnerfunner)
by cppppc
Linked List problem!!
 
no compiling error but it crushes! struct Node{ int val; Node* nxt, *prev; };[\code] ...
[1 reply] : Line 22: if you insert the second node, head->nxt will be NULL and h... (by coder777)
Short Beeps (windows.h Beep() function) not playing.
 
Hi guys, So, I just started learning C++ (coming from Java, primarily), and as a learning project...
[2 replies] Last: Hey Andy, Thanks! After some more experimentation, I find it to be k... (by CajunCoder)
Dynamic memory and Arrays
 
Hi all, I'm working on another assignment, and I'm in need of some help with dynamic memory and a...
[9 replies] Last: I think I've run into that already a few times, where it outputs just ... (by Monte211)
Need help with my code!!!:(
 
Hi everyone, I'm stuck with some problems here with my code. My quest is to create a function that...
[5 replies] Last: This line looks wrong total += v ; Array subscripts start from z... (by Chervil)
How to output an int as a string
 
Hello, I am new to programming and am attempting a c++ exercise. In a simple card game between ...
[6 replies] Last: Ahh I finally understand it now, thank you very much for the help and ... (by imohamme5)
Template with multiple inharitance
 
Hello, I am really new for C ++ and came hare from Java (it's not me, it's my university program) An...
[8 replies] Last: The if-else on std::conditional linked to the static data members of ... (by mbozzi)
Traffic light game need helps !!
 
This is what I need to do . I had goggle what is rand and srand but what i get is the rand an...
[9 replies] Last: http://www.cplusplus.com/forum/beginner/204868/ (by closed account 48T7M4Gy)
Readinf from a file and storing in multiple data type variables.
 
I am writing a program that creates an address book from a text file. I have to store some things in...
[3 replies] Last: Having looked at this a bit more, I'm not quite sure what classes and ... (by Chervil)
Calculations for a phone call
 
I'm trying to calculate the price for a phone call under these requirements,  Price per min 4 dol...
[7 replies] Last: Thank you! @AbstractionAnon (by markusfurst)
by Hengry
Trouble implementing a function in a class
 
I have to create a program that has a library of songs and a playlist contains songs from the librar...
[10 replies] Last: I was thinking that createSong should be in the Library class ... c... (by gunnerfunner)
Finding out fastest way to find how many partitions can be made form a string with variable characters
 
So let's say I have a string, 1??0. Now I can replace the question marks with either 1 or 0. Now ...
[8 replies] Last: Are you sure that your problem is not just 1????????????????1 Can you ... (by lastchance)
read and store
 
i have a .txt file with format like this : Student 1001 25 Bedford St. New York City, N.Y. 100...
[3 replies] Last: OP: if the format of the file repeats itself throughout you can set up... (by gunnerfunner)
by xx123
How to sort a struct??
 
My assignment is to create a structs and sort all the employees by last name, first name, id number ...
[8 replies] Last: Try the example shown here: http://en.cppreference.com/w/cpp/locale/m... (by TheIdeasMan)
Do...while loop?
 
The Bored Auto Company has done it again. Some models of their cars may be difficult to drive becaus...
[9 replies] Last: Thank you so much! You're a big help! (by Extinqt)
by sarisa
Searching and storing matched words from a Database
 
I need help in making algorithm that will take 3 letters in a straight line from the 2d array and ...
[1 reply] : Well the idea would be to: - go to each cell of the array - get the th... (by closed account 48T7M4Gy)
reserved words for c++
 
Write your question here. where can I find the reserved words for c++?
[1 reply] : http://en.cppreference.com/w/cpp/keyword (by mbozzi)
by WhatIf
How to find out the parent class?
 
class Animal {}; class Mammals : public Animal {}; class Birds : public Animal {}; class Aq...
[7 replies] Last: Correct but I'm not trying to check the class. I want to know if the ... (by mbozzi)
Game code issues
 
i have two problems 1. the program stops after i ask for the player to enter a name to be associate...
[2 replies] Last: i initialized the members separately in the array because i wanted the... (by CToy1008)
December 2016 Pages: 1... 678910... 28
  Archived months: [nov2016] [jan2017]

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