General C++ Programming (Page 5)

BST tree
#include "BST_CLAS.h" template<class type> BST_CLAS<type>::BST_CLAS() { root=NULL; curren...
[1 reply] : Please edit your post and make sure your code is [co de]between cod... (by LB)
Linked List Operations
So I've got a linked list data base using templates which compiles fine and lets me print out a list...
[3 replies] Last: I still see " print_people_in_state " inside your template class. As I... (by LB)
Birthday Paradox
Hi, I am new to C++ and I am trying to teach myself. I am currently working on the Birthday Paradox....
[3 replies] Last: > I create a for loop to loop through each 2 through 50 people iirc yo... (by ne555)
by nad1
how to return a value from a function as enum? typedef enum { MALE, FEMALE } Gender; for this ...
[3 replies] Last: enum class is a single keyword that just happens to contain a space.... (by LB)
connecting with socket
hey there I programmed a socket code that binds to a port with port forwarding. when i open the pr...
[15 replies] Last: Ah, yes that is true. Sorry for the misunderstanding. (by LB)
1st memory allocation bug - can anyone help me find it?
I'm sure I did something n00bish here. I must have. I finally got that inventory system almost worki...
[18 replies] Last: Look up polymorphism. You can store all your instances in a std::vect... (by LB)
by Armaan
Math Game
Trying to make a Math Game Called “22” by programming. Two players will be able to play the game...
[9 replies] Last: >That's why i asked if someone could solve it. > human v/s human ok. ... (by anup30)
by saisr8
How do visibility modes affect inheritance? Explain with examples.
[2 replies] Last: This is like your 4th post within 1 hour about inheritance. Like @Mike... (by TarikNeaj)
Stuck, Need Help!
I am trying to make my code analyze the data and then output the info, but I am doing so with arrays...
[3 replies] Last: @mjamesball9 Why are you using the comma operator in these lines? i... (by MikeyBoy)
by Addsy
Snake Game
Hi guys. I am creating a snake game for a project and am massively stuck on something. I'm trying ...
[5 replies] Last: std::make_pair(x,y); (by S G H)
by saisr8
please define the following and give suitable examples (i)Abstract class (ii)Virtual base cla...
[1 reply] : Read this: http://en.c... (by coder777)
by saisr8
simply Define inheritance and a few needs. of it
[1 reply] : Did you read this? (by DVSProductions)
by kinK
I have to code a menu based program using functions and parallel arrays to keep track of weekly appo...
[3 replies] Last: interesting (by programmer007)
Error codes.
This is what I'm trying to do: Your new cell bill program must use 3 functions with parameters, as ...
[3 replies] Last: Note: I didn't understand your formulas to calculate the bill. Why did... (by digital D)
by avade
Help with simple exception handling
I need help understanding why the exception handling is not activating with this code. When I input ...
[5 replies] Last: The simple solution would be: if ( !(cin >> x) ) throw 1... (by cire)
Allocator rebind from within template container class
I've been working on a vector-like container class without pointer and iterator invalidation, and wi...
[12 replies] Last: > is this a common thing, that non-standard pointer types are used for... (by JLBorges)
Introducing Colony - a vector-ish C++ container without pointer/iterator invalidation
Hi all- in case any of you are interested, this is the vector-like container I've been working on: ...
[2 replies] Last: Have you tried also comparing to std::list and std::multiset in yo... (by LB)
Help with looping!!!
There are a lot of errors in my code that will not let the program run. It asks the user to ente...
[3 replies] Last: what is bPen initialized to? (by erbisme4)
Problem with running .exe
Hi guys The problem I have today is probably a pretty simple one. If I open up my project in code...
[2 replies] Last: Thanks Disch! moving the folder with the images and sounds into the de... (by HalfNOoB)
Trying to run an program from within a visual C++ 2010 program
I am trying to call an exe from within a visual c++ 2010 program. I need to pass in parameter th...
[2 replies] Last: I'm pretty new at C++, can I use a variable for the <yourapp.exe> and ... (by doozer45)
Pages: 1... 34567... 44
  Archived months: [feb2015]

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