Beginners - July 2018 (Page 16)

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 ...
[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 w...
[10 replies] Last: The best thing to do is to create a minimal, compilable codeset that d... (by MikeyBoy)
Graphics include libraries
 
Include directories not working, trying to make a triangle. #include <iostream> #include <Simp...
[3 replies] Last: Hello Have you tried it only with one point? Does it work with the si... (by davidglines)
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 th...
[7 replies] Last: Here is the beginning of it. As I said, its written in Qt (https://www... (by shawnlau)
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, ...
[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 o...
[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 whic...
[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......
[no replies]
cout after cin
 
How to print text immediately after cin, for example if I wrote code like: int x; cout << "Enter...
[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 proce...
[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 t...
[2 replies] Last: I would think ints.sum(7,8) is ok because int is overloaded. The ... (by Hippogriff)
WHY DATA TYPE INTEGER STORE TEXT
 
#include <iostream> #include <string> using namespace std; int bank(string z) { int y; ...
[1 reply] : int bank(string z) <------- bank is a function that takes a string. ... (by jonnin)
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 ...
[13 replies] Last: Indeed. Just make a string of all the zeros, or all the ones, whicheve... (by Repeater)
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) ^ ...
[21 replies] Last: hellyeah, i tried in the shell and it works :-o ... ok ... i'll try to... (by zerbo1000)
Quadratic Equation
 
I get a C4700 with a, b, c uninitialized local variable for Line 16. What am I doing wrong? //Wri...
[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 year...
[2 replies] Last: Hello, Thank you for your reply but the latest versions of Qtcreator a... (by Lapalu)
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 fo...
[14 replies] Last: okay, with anz++ you are right xD i skip that the thing is, that my ... (by kev1190)
Trouble with arrays
 
I'm having some trouble understanding arrays in c++. I'm new to the language and come from a c# back...
[4 replies] Last: Is there a performance impact of using std::vector Very very small. ... (by Repeater)
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 t...
[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> #incl...
[2 replies] Last: I DELETE THE OLD POSTED ALREADY...STILL NOT FIGURE OUT HOW TO SOLVE (by phongvants123)
July 2018 Pages: 1... 14151617
  Archived months: [jun2018] [aug2018]

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