Beginners - October 2010 (Page 20)

Creating a header file
 
Does anyone know where their is a simple example of how a header file is created? My textbook explai...
[3 replies] Last: Usually when you start a new project you can select a project type. Bu... (by rrosario)
by Maerle
what's wrong??
 
my program complains about the lack of a ';' i can't find. The problem is between line 15 and 19. ...
[4 replies] Last: it was lacking an ')' before : no more problems (by Maerle)
by jleach
DLL Function Arguments problem
 
Hi all, I'm trying to work out my first DLL (my first anything in C other than hello world). My ...
[2 replies] Last: Sorry to keep posting, but I did have some (little) progress. I rea... (by jleach)
by ShiHao
Custom input stream function
 
Hello there, i am currently working on a custom istream function for a school assignment but i am no...
[no replies]
Pointer Problem
 
I am trying to do an exercise from Stroustup's book. The task is to create an array of 7 ints, assi...
[2 replies] Last: Thank you very much, Disch. It did not occur to me that omitting the ... (by nathan10)
by mmyers
Rewriting the string class
 
As an assignment for school, I'm attempting to rewrite the string class. I've gotten a little bit o...
[no replies]
Reading in data and putting it in an array
 
Hello, I need to read in data from a file and store it in an array. I however need to keep my array ...
[2 replies] Last: So the idea with that is that I basicly create an array of size 0, the... (by WilliamERoberts)
Program doesn't work, but gives no errors.
 
I'm trying to get this program to display rows of '.'s (as a blank map in a roguelike game), but it ...
[13 replies] Last: Also, when you call a function, you don't need to include the return t... (by LB)
For loop and while Problem
 
Thank you for looking at this. SO my problem now is that the for loop won't run for the amount ...
[5 replies] Last: system("pause"); can be replaced with cin.ignore(); cin.ignore();... (by Albatross)
by Kness
Count Controlled Loops and File usage.
 
I've been working on this for a couple of hours now, rereading the textbook and tutorials to try to ...
[17 replies] Last: My quotes file is in the same directory. I'm going to try it at school... (by Kness)
factorial related problem
 
Hi all, I'm on a new assignment. Im suppose to write a code that prompts the user to enter value ...
[2 replies] Last: ne555, I've adressed the overflow with my professor, and he w... (by wreidan)
by sbk
exchangeing the values of two instantces of a class
 
Hi guys. I would like to exchange the values of two instances of an object. To make my self clear...
[no replies]
Int Array trouble
 
#include<iostream> #include<string> const int MAX_A = 3; const int MAX_B = 4; //declare tw...
[2 replies] Last: my prof wants me to use a two dimensional array. if it was one i would... (by jpperera)
getline-istringstream troubles
 
Hi! I've run into a problem which has taken hours from me, and I still don't get any closer to a ...
[no replies]
by invfo
Constructor with parameters makes program crash
 
Hello. I wrote a constructor with parameter char * for a class, whose objects are much like strings...
[9 replies] Last: That line was just another typo. String seems to be very useful class... (by invfo)
IDE Compiling Issues
 
Hello everyone. I am looking at a Beginning C++ Game Programming book, and it has been talking abou...
[3 replies] Last: Actually I am having another problem... Using the wxDev-C++ IDE, I ... (by RialnisMada)
by janeD
Writing in a random access file
 
I'm trying to create a program that writes in a random access file and I'm having trouble getting it...
[2 replies] Last: Thank you soo much! this has been a great help for me:) (by janeD)
Problem with a simple queue class
 
Hi! For an assignment I have to implement a simple queue using a class. I'm having problem wit...
[3 replies] Last: You may want to modify your queue so get() an put() work in constant t... (by ne555)
loops
 
Hi all i am using visual studio 10 also am using c++ i need to out put the following pattern: ...
[2 replies] Last: #include <iostream> using namespace std; int main () { for... (by janeD)
by Kyon
Another way to get an abstract class?
 
Heya, I've got another dreaded problem once again: I have a class that is so generic that it s...
[3 replies] Last: +1 coder777 Don't make the user pay for what they don't use/need (v... (by jsmith)
October 2010 Pages: 1... 1819202122... 42
  Archived months: [sep2010] [nov2010]

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