
please wait
by volz
i am very very stuck ! with using socket.io-client-cpp
|
Write your question here. hi all, I am trying to use socket.io-client-cpp and finding myself in over my head when i look a the syntax of the library let ... |
Jul 5, 2018 at 10:20am
[no replies]
|
by EloyRD
I do not know why my dynamic_cast isn't working...
|
Hello, I'm trying to make an agents-based simulation (Preys vs Hunters) and so far got it running with random "movement". For the simulation, I have a grid of ... |
Jul 5, 2018 at 10:18am
[10 replies] Last: The best thing to do is to create a minimal, compilable codeset that d... (by MikeyBoy)
|
by smarkus
Graphics include libraries
|
Include directories not working, trying to make a triangle. #include <iostream> #include <Simple_window.h> #include <Graph.h> int main() { using... |
Jul 5, 2018 at 4:50am
[3 replies] Last: Hello Have you tried it only with one point? Does it work with the si... (by davidglines)
|
by shawnlau
Help with an array of member function pointers in a class
|
I'm trying to implement an array of member function pointers in a class. I've googled around, and this is what I've come up with. Its not working and giving me ... |
Jul 5, 2018 at 3:02am
[7 replies] Last: Here is the beginning of it. As I said, its written in Qt (https://www... (by shawnlau)
|
by opataris
Function - pass by reference - duplication?
|
The task is to write a function that prints out the const string& that is being called in the main, and then it prompts for two inputs, which will be used later... |
Jul 4, 2018 at 5:21pm
[4 replies] Last: And so the "cin" prompt will put the values into the memory location ... (by closed account E0p9LyTq)
|
identifier is undefined |
I've been stuck on this one for awhile. Seemingly eliminated all bugs from my code except for this one. the below is declared in my .h publicly void p... |
Jul 4, 2018 at 9:36am
[2 replies] Last: Oh ok, I had thought it was a class member variable but I guess it isn... (by fluffypillowforever)
|
by jcarbo
Nested classes and accessing nested class functions
|
I"m trying to instantiate an object of a nested class. I have a parent class with simple cout which when created using the new object command works well. I'm ... |
Jul 4, 2018 at 6:27am
[1 reply] : auto nestObject = new hen::nest(); nestObject->display(); ... (by helios)
|
text to speech on codeblocks |
i have sapi and all of neccessary libraries..what is need now is a sourcr code for text to speech... describe: just need to say "hello" that's all |
Jul 4, 2018 at 12:13am
[no replies]
|
by resuzhjz
cout after cin
|
How to print text immediately after cin, for example if I wrote code like: int x; cout << "Enter your amount of money: "; cin >> x; cout << " dollars"; ... |
Jul 3, 2018 at 10:32pm
[4 replies] Last: Using floating-point variables to store money is a bad habit. Just say... (by Ganado)
|
by CrossG
Caesar Cipher | Optimization and coding tips wanted
|
Hello I have recently begun programming in C++ and would love for someone to help me learn the process of optimizing my code from a beginner level to a more pro... |
Jul 3, 2018 at 9:11pm
[3 replies] Last: Use '\n' instead of endl unless you really mean to flush the strea... (by dhayden)
|
by AL88
Trying to understand operator overloading float ambiguous error
|
Hello I am trying to understand operator overloading and have written my own example. When I try to compile it says the float is ambiguous. What does that mea... |
Jul 3, 2018 at 7:04pm
[2 replies] Last: I would think ints.sum(7,8) is ok because int is overloaded. The ... (by Hippogriff)
|
by resuzhjz
WHY DATA TYPE INTEGER STORE TEXT
|
#include <iostream> #include <string> using namespace std; int bank(string z) { int y; int money ; for(int x = 0; x <= 2; x++){ ... |
Jul 3, 2018 at 6:55pm
[1 reply] : int bank(string z) <------- bank is a function that takes a string. ... (by jonnin)
|
by zyan1zyan
Can anyone help me to do this Question
|
You are given three integers a, b and . Your task is to construct a binary string s of length n=a+b such that there are exactly a zeroes, exactly b ones and exa... |
Jul 3, 2018 at 5:37pm
[13 replies] Last: Indeed. Just make a string of all the zeros, or all the ones, whicheve... (by Repeater)
|
by zerbo1000
c++ program for sum with cycle (1,2)
|
An approximation of $ pi $ "$ n $" can be calculated from the sum $ pi_i = sum_ (j = 0) ^ i (-1) ^ j * 4 / (2j + 1) $ 1. Develop a program that takes an integ... |
Jul 3, 2018 at 4:27pm
[21 replies] Last: hellyeah, i tried in the shell and it works :-o ... ok ... i'll try to... (by zerbo1000)
|
by grider67
Quadratic Equation
|
I get a C4700 with a, b, c uninitialized local variable for Line 16. What am I doing wrong? //Write a program that prompts the user to input the value of a /... |
Jul 3, 2018 at 1:30pm
[2 replies] Last: This confuses some beginners. Note that variables in C++ are not reall... (by Ganado)
|
by Lapalu
qMake.exe for windows 7
|
hello, Believe mr becaus I want to go back to C++ now wth my old PC and my old books afetre 10 years of retirement ; I'm not rich enough to buy a new computer ... |
Jul 3, 2018 at 12:57pm
[2 replies] Last: Hello, Thank you for your reply but the latest versions of Qtcreator a... (by Lapalu)
|
by kev1190
Need Help with my programm
|
Hi i need help wirh my c++ Code, he saied, that m_sqrt is not decleared in the scope and no match for the operator here is the code for that: #include <io... |
Jul 3, 2018 at 12:39pm
[14 replies] Last: okay, with anz++ you are right xD i skip that the thing is, that my ... (by kev1190)
|
by EdddBrown
Trouble with arrays
|
I'm having some trouble understanding arrays in c++. I'm new to the language and come from a c# background. I'm trying to take an array, containing objects. Th... |
Jul 3, 2018 at 12:28pm
[4 replies] Last: Is there a performance impact of using std::vector Very very small. ... (by Repeater)
|
by akarbarz
Bool Flag not breaking out of loop
|
Hello again everyone! I have one more question. I have a function here which is not busting out of the while loop when the flag is set to false. Any point in th... |
Jul 3, 2018 at 9:49am
[8 replies] Last: There is no need to be so critical. He does it because he enjoys it.... (by MikeyBoy)
|
SAPI + CODEBLOCKS |
even though i installed libraries it's still ger errors inside sapi.h... #include <cstdlib> #include <iostream> #include <sapi.h> #include <windows.h> #inclu... |
Jul 3, 2018 at 6:59am
[2 replies] Last: I DELETE THE OLD POSTED ALREADY...STILL NOT FIGURE OUT HOW TO SOLVE (by phongvants123)
|