General C++ Programming (Page 33)

Threading with Inheritence
 
I've made a background worker which uses a queue to hold events. If an event is added, a conditiona...
[2 replies] Last: Am I understanding correctly? Indeed. That is an interesting idea, ... (by Lowest0ne)
by poteto
Boost pTree json parser, how does it work?
 
http://www.boost.org/doc/libs/1_56_0/boost/property_tree/json_parser.hpp I think that this exampl...
[2 replies] Last: Got that xml parser to json very easily. Lot more easier than I expec... (by poteto)
How can i unite 2 strings in array?
 
#include<iostream>; using namespace std; int strlen(char ); void strcat(char S1 , char S2 , i...
[5 replies] Last: My blooper was pretty fundamental. (by kemort)
BMI Calculator
 
I'm a beginner, so take it easy on me. My problem is in my output. If you put in a full name, it cr...
[1 reply] : Hi, The else cannot have a condition. Make it another else if , t... (by TheIdeasMan)
Avoiding construction of object fields
 
I have made the following code to illustrate my problem: #pragma once #include <bitset> #inclu...
[5 replies] Last: #include <bitset> #include <string> #include <iostream> class Constr... (by JLBorges)
Odd behaviour when reading file into vector.data()
 
I have the following code: #include <vector> #include <fstream> #include <iostream> #include <s...
[3 replies] Last: Now you're overflowing the vector's internal buffer. The size paramete... (by helios)
array's to the power
 
Hey all, so I am trying to make a code with one constant array and another in which I input the n...
[2 replies] Last: yes you were absolutely right. but when I put power does that change ... (by ninjarun)
How to bubble sort data from a file?
 
I'm trying to write a program that will print the data of 10 records from a file and then, sort them...
[1 reply] : Have a class: class Student { string name; unsigned int year... (by n4nature)
c++ help
 
hi everyone im a beginner at c++ my goal here is to add all the aid together and also to use a ca...
[no replies]
(!inFile.eof()) not reading last line?
 
So, I've been going at this all morning (just to let the people here know that I'm not one to just l...
[2 replies] Last: Thank you so much. Working now! (by collegecomp)
C++ help i need help with a program im trying to get to work
 
#include <iostream> #include <cmath> #include <iomanip> using namespace std; ...
[2 replies] Last: thanks but im still working on it and it still says there are errors i... (by damianbloch49)
Declaring a valarray of references?
 
Is it permissible to declare, for example, ` std::valarray<int&> `? If so, how do I initialize such ...
[3 replies] Last: std::reference_wrapper<> does not satisfy the requirements of a num... (by JLBorges)
by meshb
runtime error really need help here
 
hi all hope u r fine and good i got a problem here with this code and i need little help my problem ...
[3 replies] Last: =D it works o.O did that change pointer .childrenNamenew=string[po... (by meshb)
Best way to emulate VGA and display?
 
I currently am working on getting my VGA emulation working. I have several functions in a jumptable ...
[no replies]
by ephekt
typename error
 
this is probably something super simple; this line is generating the error im pretty sure it just ...
[3 replies] Last: may be template <class Item> Item sequence<Item>::current() const ? ... (by fcantoro)
by Dasari
Virtual Constructors
 
Why don't we have virtual constructors in c++. Please give me the brief discussion on this topic.
[3 replies] Last: Plus: the virtual table is initialized from the constructor, hence a c... (by coder777)
by Pured
How would I implement this?
 
Hello, I have been trying multiple things and thinking for a while, but I just can't think of the co...
[9 replies] Last: :-) (by kemort)
template encounter empty array
 
I wrote a template function which use dynamic array as parameter. But if parameter is a empty array,...
[1 reply] : Well, it is logical as zero-length arrays are illegal in C++ [quote=St... (by MiiNiPaa)
Pass Address of pointer to function
 
#include <iostream> using namespace std; void myfunc(int* ); // what do i put in these parameters...
[3 replies] Last: I found out how to do it before anybody replied so i figured I add the... (by novellof)
LNK2019 Error
 
I'm fairly new to C++ and I've been having an LNK error without knowing what to do. I've listed the...
[2 replies] Last: Thanks, I actually figured out that I way over-thought this and the so... (by trippyimagez)
Pages: 1... 3132333435... 57
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.