General C++ Programming - May 2016 (Page 11)

content
 
content
[1 reply] : I just need help figuring out if I wrote the value returning function... (by jlb)
Desparate for help
 
I have no idea how to add a new inventory bin to this program. I have been looking everywhere to try an figure it out but have come across nothing helpful. I ap...
[3 replies] Last: You posted this: I have no idea how to check an array You also post... (by doug4)
Hi guys can you help me?
 
Create a c++ program that: receive the price of ten products and store them in array receive the quantity stored in each of these products, in five different ...
[2 replies] Last: This is not a homework site. However there might be some people who ar... (by Thomas1965)
Issue in getting data from txt file
 
KNIFE JACK 1.3 6.0 5.1 6.3 5.9 6.5 WILLIAMSON FLIP A 1.4 3.5 4.1 4.7 7.2 3.8 SOMMER TODD 1.2 8.0 9.1 8.1 9.3 9.0 SWAN MIKE 1.1 4.3 2.1 9.9 6.2 7.0 ...
[2 replies] Last: If you want to check the end-of-file, go with: fin.eof() == true a... (by Little Captain)
object class help?
 
This was the question, I commented the part I need help. I was given the format of the classes. I was also asked to define the part I commented down below which...
[1 reply] : #include <iostream> class Person { public: Person(); Person(string p... (by bb0yth0r)
by byOmer
how to write this in cout (use this signal ")
 
how to write this in cout (use this signal ") example cout << " bla bla bla " bla " bla bla " << cout
[1 reply] : To include a quote " symbol in a string, precede it with a backslash... (by Chervil)
Problem with Recursion
 
So, new problem now that I've fixed the if-statement issue. My recursion function is filling up the whole grid with a single number instead of just a few square...
[5 replies] Last: I managed to figure it out. Thanks for offering your support! (by jthomas12)
by JPKI
CPUID Crash
 
Hi, I'm not a c++ developer and I'm using this program https://github.com/kohachiro/CPUID/blob/master/cpucount/CpuCount.cpp To list information about the CPU...
[no replies]
Swapping between two textures on a sprite sheet(OpenGL)
 
I'm working on a project where I want to swap between two textures on a sprite sheet using OpenGL. I have both textures rendering in my window with no issues b...
[no replies]
by btovar
Converting
 
Can someone help me with the following question: Write a C++ function that converts hours, minutes, and seconds to total number of seconds. The hours, minut...
[1 reply] : number_of_hours*3600 + number_of_minutes*60 + number_of_sec... (by Moschops)
vector in nested struct
 
I am trying to define a structure to read a UDP message definition. Below is what I have. vertices_list is the field I am having problems with. I do not know...
[3 replies] Last: I would simply replace line 23 as follows: VerticesType vertices_l... (by AbstractionAnon)
by knn
Overloading the [] operator for 2 dimensional arrays
 
Hello, I created a class Matrix and I'm trying to overloading the Operator. I'm using following two files: 1.) net.cpp: #include "net.hpp" #include <io...
[5 replies] Last: Hey, thank you for your help. I changed my code and it works. Thank yo... (by knn)
SFML 2.2 or SDL 2.0?
 
Hello guys, I've been doing c++ programming for about three years and I just entered the world of game programming. I'm having some trouble with choosing a ...
[12 replies] Last: If you spend three days deliberating which engine to use without dippi... (by MrHutch)
by jirals
fixed
 
fixed
[2 replies] Last: Have you tried stepping through it with a debugger, to see where the e... (by MikeyBoy)
by bigjd
Need help
 
.
[no replies]
Segmentation fault (core dumped)
 
I'm doing a login system via OOP. here is my code: header: #include<string> using namespace std; class Login{ private: int option; string us,ps,psw; ...
[2 replies] Last: header: #include<string> using namespace std; class Login{ private... (by JasonTay95)
by helo12
Binary Search issues.
 
So its taking in all the information but I think I might be passing it wrong. As well I think something is wrong with my if else tree but I am not sure what rig...
[2 replies] Last: Thank you very much you helped me out a lot (by helo12)
Help with Command Line Program Issue.
 
Hello, everyone I have a question as to why when my negatives inputs do nut turn into zeros. it gives out a lot of random numbers. #include <iostream> usi...
[2 replies] Last: such a simple mistake T.T. Thanks for the information aha. :D also aha... (by bb0yth0r)
Compiling errors, unsure of whats wrong
 
The code I have works fine in the Visual compiler, but will not compile in g++. Its 3 files. The header file, the main , and another... the error that keeps a...
[6 replies] Last: I apologize, I did not see this point until now, it was partly the fcn... (by jonrogers44)
by mvgnum
Mode finder
 
I have to write a C++ code that finds the mode of an array. I'm told that it's much easier to find the mode of an array AFTER the numbers have been sorted. I ...
[1 reply] : In http://www.purplemath.com/modules/meanmode.htm The mode is the num... (by keskiverto)
May 2016 Pages: 1... 910111213... 17
  Archived months: [apr2016] [jun2016]

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