General C++ Programming - November 2017 (Page 12)

Can you help me simplify those IF please
Can you explain to me how to simplify all those IF, thank you Here's the code : http://textupload...
[3 replies] Last: Another approach: switch(a +2* b) { case 0: //a false, b false c... (by aschwarz)
Input and file implementation not working
Here is the input case for my files : #include "Person.cpp" #include <cmath> const double EP...
[no replies]
Test Input not working with CPP file
For an assignment the following test input is as follows: #include <cmath> const double EPS = 0.0...
[no replies]
Compile Error- Need help with 2 file implement
**IT works correctly as one file in a C++ shell but when I separate it into the findMedian file and ...
[2 replies] Last: Ahh was the same error. I thought I had excluded the file again when I... (by thehendrix)
by shamar
Help with structure c code
I'm a beginner and I need help with a C code to define a structure. I understand some of the basic c...
[5 replies] Last: he is using c. Its gcc not g++ and the assignment text says 'in C'. ... (by jonnin)
Segmentation Fault with BST
I am a bit of a beginner with c++ but I was practicing with binary search trees and for some reason ...
[2 replies] Last: Ah ha! thank you so much, I honestly don't think I would have ever cau... (by Rodr1697)
Help with math tutor 3 major issues left to solve.
hey guys I'm writing a math tutor program and i need it to 1.keep track of the number of correct s...
[no replies]
Compile Error- need help with multi. file implementation
Listed below are my four separate files that I'm using to compile my program. When I try and compile...
[2 replies] Last: I would advice putting all definitions in the .cpp and the declaring a... (by TheLoneWolf)
by ayme
Uso de arrays como valor de un map
Buenas, la cosa es que quiero hacer un map donde el valor sea un array de structs y no se como naric...
[3 replies] Last: I've reorganized your structs slightly. You can't put an array dimens... (by AbstractionAnon)
Cross Platform Mobile Development C++?
Hello I been trying to get started with mobile development. But having some issues with finding a g...
[1 reply] : You stick to the C++ standard. However, this way you do not reach far ... (by shreyapandey)
by Xris
Looking for c++ programmers for game project
Hello my name is Xris, I am here developing a multi genre game on the unreal engine it's called "Pro...
[no replies]
reader/ writer problem using semaphores and test and set
Hello, I am working on a project.. I have a reader writer program I am writing but we are not all...
[no replies]
Need Help with Funciton to find Median- Using Array
Below is the code for the function to find the Median from an array. However, it is not working when...
[9 replies] Last: Great job. Glad I could help. (by knowclue)
Binary Search Tree with a Class?
I am trying to implement a Binary Search Tree from a template. I am trying to have the list sort an ...
[3 replies] Last: right, you need to be able to do to employee the same comparisons and ... (by jonnin)
Design of a parking lot. Anyy and all suggestions to improve design are welcome.
Hi ppl :), here is my design for simple parking lot, please put your valuable suggestions on how ...
[4 replies] Last: Thanks @coder777 for replying to all my queries.. :) (by kapil2905)
Question about negative tender in my output
wondering why at the end of my program the tender is showing negative... #include <iostream> #...
[1 reply] : Please only post questions ONCE (by Repeater)
list in class creation problem
#include <list> using namespace std; class node { float ang, dist; node* parent; list <node*> k...
[5 replies] Last: Dynamic allocation. There is no trash collection, and therefore some... (by keskiverto)
by BJ19
I need help!!!
Assignment: 1. Create a vector (snow) that will hold integers which represent snowfall amounts for...
[8 replies] Last: Thanks guys it is working now (by BJ19)
Incrementing and decrementing strings of letters
#include <bits/stdc++.h> using namespace std; int main () { int n; string let; cin >>...
[5 replies] Last: Both of the site links work for me. (by Chervil)
November 2017 Pages: 1... 1011121314... 16
  Archived months: [oct2017]

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