General C++ Programming (Page 43)

Class protection classifications
Is there a way to make the Height property of CELL in the code below act in a way that allows the pr...
[3 replies] Last: How about adding getter for that value? Or you can google property cl... (by MiiNiPaa)
I'm taking a CSCI Programming class and I need help with an Assignment!
For this assignment I have to: Write a C++ program that prompts a user to input the birth year (i.e...
[2 replies] Last: Here's part of your answer... bool CanIVote(myBirthYear) { int d... (by HellfireXP)
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] : (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 jazpen)
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 Fredbill)
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 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)
Pages: 1... 4142434445... 57
  Archived months: [feb2014]

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