General C++ Programming - December 2017 (Page 10)

Having trouble with if, else if, and else statements
 
I'm trying to code a program that will tell me the average and letter grade for three tests put in. ...
[6 replies] Last: else if(100 > a >= 90) Here's what happens with the above code fr... (by SSteven)
Referee assistant program
 
Hello all! I really need some help on this program. I think that I am going in the right direc...
[2 replies] Last: In places I see you used {} after your if else statements, in other pl... (by SamuelAdams)
Task
 
this is the work "students at a school volunteered to sell fresh baked cookies to raise funds to inc...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/226221/ (by SamuelAdams)
It jumps user input
 
When compiling the program, it works. But when it reaches to name input and movie name input, it jum...
[no replies]
by jge162
inserting txt info into a map C++
 
Can someone please help me. here is my code so far, i have added notes: <> istringstream i...
[1 reply] : #include <iostream> #include <string> #include <map> #include <set> #... (by JLBorges)
by cayo12
I need to Know the output pls
 
hello i have some problems i need to know how the output will display its my first time dealin...
[no replies]
Histogram Graphing through input file
 
My C++ class is working on arrays right now and I'm trying to create a histogram that looks like thi...
[3 replies] Last: OK, Sarah. Here is how I would approach it. I would have ten variables... (by fiji885)
asdf
 
asdf
[no replies]
Need to call function in another class
 
Hello, I really appreciate your help I have just started with c++ programming so I have some proble...
[3 replies] Last: Hello, Thank you a lot, it works now I added static only in Patient.... (by Mar1990)
by AnxL
Weighted Graphs, Minimum spanning tree and cluster analysis.
 
Introduction create a C++ program that receives in input a weighted graph and groups its nodes in t...
[5 replies] Last: yeah exactly what fraC19 said, i forgot to check the forum and just le... (by AnxL)
undefined reference to constructor
 
I have 3 different classes, I get an error of undefined reference to constructor to my rotor class, ...
[1 reply] : Remove the inline keyword. (by coder777)
Simulate A Vending Machine!
 
solved.
[4 replies] Last: #include <iostream> #include <iomanip> using namespace std; struct... (by fiji885)
Converting an array of a fixed size to a string
 
Hi, I'm just trying to do some type conversion. In Python or JavaScript, it's as easy as calling str...
[5 replies] Last: Thomas, I like that a lot. Can you explain the following line of code... (by Thomas1965)
Linked List Infinite Loop
 
I need help getting this insert function to work. As it is, the program will compile, but when it ru...
[no replies]
undefined reference to constructor
 
I have 3 different classes, I get an error of undefined reference to constructor to my rotor class, ...
[no replies]
by cayo12
help *^* i need the solution !!
 
Hello my frinds ummm i have some c++ quaestiones and i need the solution pls 1- Array Reversa...
[2 replies] Last: the language contains functions that can reverse arrays. Strings are ... (by jonnin)
Why -nan values appear
 
I perform some experiments with the cpp code and I got -nan values. Can anybody tell why I might get...
[2 replies] Last: Nans propagate also. So if you had this.. z = sqrt(-1); x = z*5.2; y... (by jonnin)
by SCB3
Having trouble writing a custom Map class
 
[No longer needed]
[3 replies] Last: Please DON'T delete your posts after getting an answer. It makes this... (by MikeyBoy)
Compile Niflib in Visual Studio 2015
 
Hiya, Can anybody help me to compile Niflib in visual studio 2015 in Windows 10? https://git...
[no replies]
Need to calculate location distance between two vectors
 
I really need your help I started working with C++ for my project and I need to solve a problem . My...
[5 replies] Last: Hello I want to thank you a lot for your help, I tried @Ganado and @... (by Mar1990)
December 2017 Pages: 1... 8910111213
  Archived months: [nov2017]

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