General C++ Programming - August 2018 (Page 5)

Wheel of fortune game
 
I am having a little trouble with this wheel of fortune type game, it keeps giving me an error that ...
[3 replies] Last: it keeps giving me an error that i cannot find What is the error? Ho... (by dhayden)
error field ... has incomplete type ...
 
Hi. Can anyone please show me how to solve this problem? I am writing a BaseFolder class. When I com...
[1 reply] : If you were only creating a pointer to a Vec then you could just say "... (by tpb)
can i get some help?
 
im making a own "siri" but an else commands messing upp, HELP! see, i want to make a siri type of t...
[5 replies] Last: thanks btw, i was suspecios about if it would work but now i have no d... (by navilgameboy)
invalid initialization of reference
 
template <typename Resource, typename Identifier> class ResourceHolder { private: std::map<Identi...
[3 replies] Last: Thank you for your help! *resIter didn't return Resource&, but rather... (by nuderobmonkey)
by ahaana
getting error:error: no matching function for call to 'Supervisor::Supervisor()' Supervisor s1;
 
#include <iostream> #include<iomanip> using std::ios; using std::setiosflags; using std::setpre...
[9 replies] Last: Just use string. (by Repeater)
Inheritance vs file reading
 
Hi! I have been working on a small 2d tower defense project and I'm going back and forth with which...
[2 replies] Last: Thank you for the answer! The thing with my textures for towers are l... (by leownya)
Errors occurs when accessing unordered_map by [] operator
 
Hello. I met a curious problem of unordered_map. First I generated an unordered_map and inserted...
[2 replies] Last: Great! It works! An important lesson of "unordered_map". Thanks for y... (by blackwall)
GUI
 
Hello there; 1- What is a GUI (graphical user interface) and how it is done? 2- Are DirectX and Ope...
[3 replies] Last: Double posting isn't going to get you answers any faster. http://www.c... (by closed account E0p9LyTq)
PROJECTS for C++
 
Some cool C++ project ideas or links aside from Database management system....
[2 replies] Last: 1- Create an advanced calculator that can solve operations as: 1+5 /... (by fewdiefie)
C++ class
 
can anyone please give me an idea how to solve this problem? I am asked to write a DyckPath class. I...
[1 reply] : https://en.wikipedia.org/wiki/Catalan_number (by tpb)
by TPM
Seemingly Efficient Algorithm Gets Time Limit Exceeded
 
There's a competitive programming problem that reads as follows: "In the beginning there are 'n' e...
[12 replies] Last: @dhayden Yeah, exactly. (by TPM)
Please help me to solve this problem. Thank you for your cooperation :)
 
/* Q1 * Read the functions below and try to understand what function_without_name_a is trying to...
[11 replies] Last: give this function a name relevant to what it is doing So first, yo... (by Repeater)
by slei
Weird issue: C1905: Front end and back end not compatible
 
Hey, I'm trying to use the OpenSSL library and somehow it works fine except when I try to use AES_E...
[12 replies] Last: There is no solution for this problem. It is not good practice to use ... (by poteto)
by ikhram
string compression for integers giving wrong output
 
Hello coders, I've been working or this for the past two days,the code is supposed to go through the...
[1 reply] : What's "hextexts"? From what I see in the code you haven't defined it ... (by TPM)
Is it possible to create a vector of multiple type of specialized template classes?
 
I'm lost, quite frankly. I have an example piece of code where I I have a template class and one ins...
[5 replies] Last: My goodness, that was worth waiting up for! I've seen a lot of code sa... (by JaJangMyeon)
C++ library with basic capabilities of Node.js.
 
Hi! I was wondering if anyone knew about a built-in C++ library that has the basic capabilities of N...
[7 replies] Last: I looked at Protobuf and gRPC and am going to try that. Thanks! (by Reader8765)
euclidean distance
 
Hi Can someone help me out quick. Here is the contents of my h file: class Location { private...
[16 replies] Last: I got it to work, thanks everybody (by parallx)
Default font used by c++?
 
Hi What font is the c++ code in? Just a curiosity of mine. This is for the Microsoft compiler, when ...
[3 replies] Last: didn't realise it was chopped meat, i didnt click the link :( (by Jaybob66)
Parallelogram Problem
 
Problem Description: A number (N) of lines (extending to infinity) in both directions are drawn on a...
[3 replies] Last: Do you see how that's exactly the same as one of my examples: 0, 0, 45... (by tpb)
Can move semantics be used if the class member is not a pointer.
 
Hi ppl :) I was recently trying to understand move semantics of c++ 11 and found that most of the ex...
[3 replies] Last: To note, the call to move in f(std::move(s1 + s2)) is redundant, bec... (by mbozzi)
August 2018 Pages: 1... 34567
  Archived months: [jul2018] [sep2018]

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