General C++ Programming - March 2014 (Page 22)

by HAAS87
Condition Variable problem with multiple threads
 
I am trying to use Boost Conditional variable in my application to synchronize two different threads...
[no replies]
pack in Intel format
 
hey guys, i'm pretty new in programming with C ++ and my task is to implement an algorithm that pack...
[no replies]
Recursive or not?
 
I was trying the Pascal's Triangle using Recursion and it runs perfectly fine but then I realised th...
[3 replies] Last: Oops sorry, i m accessing this site using my cellphone so i guess i sc... (by Manav Mnv)
hey guys.. click this
 
please help me.. idont know to write a function.. give me some idea? #include <iostream> ...
[1 reply] : http://www.cplusplus.com/doc/tutorial/functions/ (by MiiNiPaa)
vector and initializer_list reference
 
there is a problem with the vector and initializer_list docs regarding size_type. in gcc at least (m...
[1 reply] : What are you getting at with this? Are you indicating some deficiency... (by cire)
by Ikarus
ifstream input to different file types
 
Hello, so firstly let me present my objective. I want to create a function with a return type. Ho...
[4 replies] Last: Oh. I don't really know how I overlooked that haha. Thanks cire, tha... (by Ikarus)
How often do you make syntax errors?
 
Sorry there is no polling option, so you can just type your number without comment (but it won't be ...
[10 replies] Last: 4-5 if it is a simple concept. 6-7 for new concepts that I'm testing o... (by JasperBraun)
by soori
diff bw initializing static int and static const int
 
class Stat { private: int s; static int num=2; //why is this a error static c...
[1 reply] : Because in case of in-class initialization of mutable variable, there ... (by MiiNiPaa)
Writing a Function Template With Template Template Arguments?
 
I have a function: template<class Iterator, class T> void a(Iterator, Iterator, const T&); ...
[7 replies] Last: Cubbi, I must admit I think I had a typo when I tested Your method. Th... (by xuinkrbin)
by xorkon
"Flappy Bird"-like game
 
Hey, I'm new to this forum and Im not sure if this is the right place to ask. I'm programming a gam...
[10 replies] Last: Do you have a Github repository? Maybe I can donate some code here and... (by closed account N36fSL3A)
by MAAASD
A segmentation Fault Problem
 
Hello guys,hope you're all fine. I'm trying to make a list of elements, each element is a list. i.e....
[no replies]
Help understanding a program - NOT ASKING ANYONE TO DO IT
 
Hi Everyone, I've recently been assigned a program due this coming week on hash tables. However,...
[1 reply] : It looks like you need to store Symbol objects in your hash table us... (by MiiNiPaa)
Resizable Array Class (Not Vector)?
 
I am looking to create an object which, generally speaking, behaves like ' std::array ' in the sense...
[9 replies] Last: And it is more likely that stack frame, where stack allocated array is... (by MiiNiPaa)
Null pointer
 
struct mystruct{ int n; }; class mscope{ public: std::vector<mystruct> mv; ...
[2 replies] Last: The problem is that you are passing the pointer into your function by ... (by MikeyBoy)
by Lzh
大家好.我看英语很吃力
 
怎么办? I'm a Chinese, hard to read English. So I want to make a foregin friend to connect ...
[no replies]
help me with health
 
how i can make if healt 0 game end??? #include <Windows.h> #include <iostream> #include <B...
[1 reply] : Duplicate of http://www.cplusplus.com/forum/general/125786/ Please do... (by MikeyBoy)
Debug assertion failed
 
Why do i keep getting that error? Every time I run my program, it runs for a while and then it just ...
[5 replies] Last: Thanks guys! I remove the -1 because as said the value of i becomes ne... (by dunkindonald)
by kuhai
Ordered Pair to Matrix Problem
 
Good day! So I have this code that creates matrices when ordered pairs are entered. #include<ios...
[no replies]
How to read integer values from csv file
 
Hello, I read one csv file in which it contains different types of data like string, integer etc.I ...
[1 reply] : That input file seems is nearly impossible to read without some heuris... (by kbw)
March 2014 Pages: 1... 2021222324... 36
  Archived months: [feb2014] [apr2014]

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