General C++ Programming - December 2016 (Page 2)

help me please
 
How does this program work? and what is cout<<point::count??? #include "stdafx.h" #include "iostream" #include "math.h" using std::cin; using std::cout;...
[2 replies] Last: How does this program work? Please be more specific. What part(s) d... (by dhayden)
How Object Oriented Programming cope in solving the Complex Program ?
 
How Object Oriented Programming cope in solving the Complex Program , with reference to C++ ?
[1 reply] : Do not doublepost. Other thread: http://www.cplusplus.com/forum/beginn... (by keskiverto)
A Simple Voting Program
 
Hello everyone, I am new here. I am only a Tenth Grader, and my knowledge with regards to programming. So this is our school project. The objective is to mak...
[3 replies] Last: Thanks @axa643 and @Chervil for your insights! I'll test the code to s... (by Pio Martinez)
by RobCh
Using quaternions in fight simulator
 
How do I use quaternions to determine the change in rotations about the xyz axis based on control column left-right and up-down? This seems to be the most co...
[no replies]
by axa643
unclear function /how dose it work.
 
double b_fn(double a, double t) { return (a == 0.0) ? t : (1.0 - std::exp(-a * t)) / a; } // please i need to know what dose and how this function dose...
[4 replies] Last: http://en.cppreference.com/w/cpp/numeric/math/exp (by closed account 48T7M4Gy)
by cppppc
SFML game help!!
 
Hello to all !! I'm trying to use graphics in a game (c++), I've been told to use SFML for beginners, The idea is to make each node of a linked list represen...
[8 replies] Last: @cppc It's not that I don't like your post, it is is fine, albeit tedi... (by closed account 48T7M4Gy)
Deleting node in BST
 
My Nodes structure: struct BstNode{ string nameValue; // Names vector<int> pseudoIDS; // Unique IDs BstNode* left; BstNode* right; }; I wa...
[10 replies] Last: One obvious problem is on line 24. On line 21 root is deleted hence... (by coder777)
by exru
How to initialize static pointer
 
//How to initialize the static pointer? // App.h class App: public QObject{ public: static ConnectManager * cm; }; //App.cpp ConnectManag...
[3 replies] Last: thx a lot ;) (by exru)
by cppppc
wich library for 2D games?
 
I'm making a game in c++ implemented using linked lists, I will use for the graphics " graphics.h ", but I want to creat a window as an intro for the gam...
[8 replies] Last: Please don't double post on essentially the same topic. It duplicates ... (by closed account 48T7M4Gy)
I need assistance with my incomplete hangman program.
 
I have to make a hangman program in my college class with starting code that was given to us. I have modified it a bit already but need to know how to replace u...
[3 replies] Last: It would also be nice if the code only shows up the underscores once w... (by hhjkkh10)
How do I have an outputs individual characters be converted into numbers and symbols
 
I'm doing a project for school where I have to make a password generator, I have all the RNG and input/output frame completed. The only problem I have is that I...
[4 replies] Last: I was able to get it, had to change a few lines and debugged it as x64... (by PinoyOne)
need help for implement a doubly linked list
 
Here I'm trying to implement a List-container with its iterator. I'm not sure how I represent the empty list and the list-end so that an iterator iterates corre...
[1 reply] : I've seen now, at line 70 was missed a closing curly brace, sorry for ... (by nuderobmonkey)
Problem of type (1,2)
 
Hi, I have a vector<Neighbourhood> neighbourhood such as neighbourhood contains w's neighbours. Actually, the neighbours are stored in a std::set and f...
[38 replies] Last: Was this message intended for me ? I've updated my GitHub with the ne... (by pierrotdu18)
by axa643
unidentfied refrence to getnb,addtwo,and OutputLine
 
//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX // Adding two numbers main.cpp //XXXXXXXXXXXXXXXXXXXXXXXXXXXX...
[12 replies] Last: now it works 100% with no errors. (by axa643)
I need a Program in C++ ?
 
Write a Program to find largest of four integer numbers in C++, Program should have three class and each class should have 1 Integer? Thanks in Advance.
[3 replies] Last: You will need to post what code you have and the problem you are havin... (by pewterstix)
by Shadyx
Recompile a Decompiled .dll
 
hi guys, I go straight to the problem. I decompiled a large .dll file cause I had to modify only a small part of it. Now with codeblock I should recompile t...
[1 reply] : Code::Blocks is a C/++ IDE. It sounds like you decompiled a C# DLL. (by helios)
C++ AI Questions
 
Ok, so Hi. My name is Peter. I am 14 1/2. And I have some questions... I have had an idea to create an Artificial Super Intelligence for a while. I have thou...
[2 replies] Last: http://neuralnetworksanddeeplearning.com/index.html (by closed account 48T7M4Gy)
by CV98
3D Tessellation - Tetrahedron Octahedron Honeycomb
 
Hello! Im newer to programming. I do not have the skills to accomplish what I am aiming to do. What I would like to do is create a "Tetrahedron Octahedron ...
[3 replies] Last: If you know the geometric shape you're shooting for, try banging out t... (by JayhawkZombie)
a exception from destructor, why terminate?
 
#include <exception> #include <iostream> class A { public: ~A(){ throw std::exception("haha"); } }; int main() { try { try { A a; throw std::e...
[8 replies] Last: @JLBorges, Many thanks! You have helped me for several times. (by Wu zhen hai)
unique_ptr doesnt delete the object
 
struct test { int a; }; std::vector<test> b; b.push_back({3}); { std::unique_ptr<std::vector<test>> p = nullptr; p.reset(&b); ...
[7 replies] Last: when p is destroyed, then the object it is pointing to will be destro... (by Cubbi)
December 2016 Pages: 1234... 18
  Archived months: [nov2016] [jan2017]

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