General C++ Programming - May 2011 (Page 3)

compiling problem (Windows, NetBeans)
 
Hello, I'm working on an overdue lab for my computer science class at home. At school we program...
[6 replies] Last: Alright. Sounds good. Thanks a lot. :) (by khristostellan)
initializer list use question
 
I understand intilializer lists mostly but am wondering if you can call a function in them. the fol...
[1 reply] : The only purpose of the initializer list is to be able to call constru... (by Athar)
Sequence class - HELP!
 
When I compile and run the program, no error is given.It gives me an unexpected result, and the outp...
[1 reply] : Don't use namespaces in header files if you can avoid it. Your cons... (by Computergeek01)
by ramako
Pointer that should NOT work is working.
 
Hi, I made a matrix with 2 rows and 3 columns, and then I try to set in row 1 column 5 a specific n...
[16 replies] Last: Ok, thanks to everyone ;) All cleared now (I already looked up "undefi... (by ramako)
Need help!
 
Hello everyone, I need to make a program for school, but I'm just without ideas, I'm trying now for ...
[1 reply] : Repeated post, please see here: http://cplusplus.com/forum/beginner/4... (by Moschops)
asbtract class and interface question
 
Hi, I'm working on a project where I have to modify existing classes etc. I see the following com...
[2 replies] Last: To expand on jsmith's post, the equivalent to an interface from Java o... (by helios)
is there a way to determine if 2D array have equal number of X and Y?
 
as above is there a way to determine if 2D array have equal number of X and Y? like if my 2D a...
[6 replies] Last: ............. (by nanochan1)
A difficult one(At least for me:D)
 
Hey guys, I have to make a program and i really struggle to deal with this part of it: I have a c...
[3 replies] Last: #include<iostream> #include<iomanip> #include<fstream> #include <cst... (by lubomir)
opengl pointers to non-static member function
 
Hello all, I'm just starting with OpenGL and I'm trying to figure out how to stick all the functi...
[1 reply] : glut functions will only accept static functions. Static functions can... (by hamsterman)
Const Correctness/Private Member Variables
 
Good Morning, I hope I explain this properly but if I don't please tell me... I need to retur...
[3 replies] Last: You'll return a copy, so the member can't be modified. The object also... (by helios)
Which Design Pattern?
 
I have five classes A, B, C, D, E that are unrelated (really more like 20). I have to create five...
[4 replies] Last: The below should be appealing enough: I don't know how different A, B... (by webJose)
working on banking system project (there r errors need to fix)
 
# include <iostream> #include <string> using namespace std; # include<iomanip> class Bank { ...
[1 reply] : Have you tried using a debugger? (by Zhuge)
Need help on Visual Studio 2010 databinding
 
I am doing a project which require me to use visual studio and chart control with databinding togeth...
[5 replies] Last: Use SomeDB Go Create Procedure myschema.MySP @param1 int , @p... (by webJose)
help for save list
 
hi i have a struct like this struct list { char name; char family; int age; ...
[9 replies] Last: i find a way to save struct on .txt file now i need help for load a sa... (by knight0black)
Files. First attempt, problem
 
#include<iostream> #include<fstream.h> using namespace std; class Student { public: ...
[2 replies] Last: Thank u a lot! (by lubomir)
by ryf123
Vector pointer problem
 
#include <iostream> #include <vector> using namespace std; main(void){ vector<int> *a; a->at(0)...
[1 reply] : no memory has been allocated to your pointer a. This is how you should... (by quirkyusername)
reading a .txt file help
 
hello, I need to make a program that reads a .txt file and assigns the words to a string in one l...
[2 replies] Last: [quote=BruteCOder]I want to assign it to a string... Well, it's quite... (by closed account zb0S216C)
problem with include
 
hello guy's I'm new here and i need some help. my c++ programing is borland c++ version 5.02. my pr...
[10 replies] Last: tanks I'm sorry Duoas i need just some help for my program what comp... (by knight0black)
my first effort with template functions...
 
...is producing a compile error. I've defined a function: template <class R> void UtilGain::cycl...
[19 replies] Last: Thanks for the clarification. I will take your suggestion; I can't see... (by mzimmers)
How to developing puzzle game
 
I just started a C++ class a few days ago, and I already have some questions I'm stuck with. If anyo...
[no replies]
May 2011 Pages: 12345... 32
  Archived months: [apr2011] [jun2011]

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