Beginners - September 2010 (Page 25)

by Ashley
Expanding arrays
 
I have to write a code that expands the array onces it reaches it's max capacity. I tried java and c...
[6 replies] Last: This just begs for a class. const unsigned int init_mem = 5; cl... (by filipe)
by wasabi
Multiple cpp files
 
I've read through the articles and previous forum questions on the subject, but couldn't find what I...
[2 replies] Last: Yeah, that was it. VC++ said it was included in the project, but since... (by wasabi)
C /C++
 
I was wondering if I can put question wrt C also or just C++
[2 replies] Last: Just post-even if out of C/C++, just view our profiles to see our skil... (by Mazd)
I have three inputs but I only get one output?
 
why am I only getting one output is it my for i loop. and it actualy prints out only the second inpu...
[6 replies] Last: Read here for more explained instruction http://cplusplus.com/doc/tuto... (by Mazd)
dynamic matrix and function parameters
 
Hello! I'm writing a function that should reallocate and set a dynamic matrix passed as the param...
[6 replies] Last: ok, it's clear. I catch it :) thanks a lot (by harmodrew)
error LNK2019: unresolved external symbol
 
Hello, I'm using Microsoft Visual Studio 2003. And Actually i am using the snake game coding from t...
[1 reply] : Have you defined the function items ? The linker is saying it's call... (by kbw)
rand()
 
Hello, i'm writing a program that relies on creating many objects ,each containing a certain amount ...
[3 replies] Last: Thanks guys. (by Mike200)
classes
 
hay guys, im having trouble with this code in the toutorial // static members in classes #include ...
[2 replies] Last: Remember that constructors are called every time an object is created,... (by Disch)
by khris
fstream and .csv files (1,2)
 
Hello everyone, I am having quite a problem with a program I am coding. I need this program to read...
[21 replies] Last: Galik, thank you so much once again. I understand now. Since the mag... (by khris)
Rounding Numbers - Thank You
 
Hi all I'm new to the forum and new to C++. I have a problem that I solved but could not round it to...
[4 replies] Last: I'm not sure how to use the code. I tried a few different options and ... (by wendy001)
User input verification.
 
I was wondering how do i put a system in place to verify user input and block the incorrect input fo...
[7 replies] Last: No, it is not a good example of a goto ; a simple loop would do j... (by Duthomhas)
by C0D3
I don't understand Polymorphism at all?
 
Hi guys Im new to this forum so I don't really know how Im supposed to ask this question, whether to...
[12 replies] Last: I guess the vocabulariy is a little weird. =P Don't worry about wh... (by Disch)
Game Dev
 
I decided a few days ago that i wanted to create a console-based version of that old game Snakes. Th...
[6 replies] Last: @Disch My apologies. After all, i joined this forum to improve my cod... (by Thumper)
bit logical operators
 
Hello! In my program I've to control input.I choose to set a integer variable (8 bit) to 0 and se...
[4 replies] Last: thank you both :) (by harmodrew)
Compiler Error.
 
Apparently, I've been on away for too long. I can't even solve a simple compiler error. #include <i...
[3 replies] Last: Yeah, sorry. It's been a long day. I don't know what's wrong with me. (by Da0omph)
Program is "calling a pure virtual method"...?
 
I am developing a ship simulation, with a base class "Ship". Ship has two direct subclasses, "Contai...
[3 replies] Last: Hi there, Based on what you have posted it looks like you haven't i... (by Philip Lee Bridson)
Changing screens
 
I am almost done my text based game. The other day our teacher showed us a game from a few years ag...
[13 replies] Last: Fair enough. (by chrisname)
by juvan
Dynamic memory allocation
 
Hi all I have a problem where I would like to dynamically allocate memory in the following way: ...
[4 replies] Last: Thanks m4ster r0shi Vectors as it would seem after the initial re... (by juvan)
enum command.... again
 
enum again i'm afraid..... I'm still struggling with the enum command and it's scope(i believe it...
[7 replies] Last: I think it's a bad idea #defines pollute all namespaces and break l... (by Disch)
heritage and list
 
Good evening, I've problems with lists. I've a B class (Poule) heritage from A class (Volail...
[1 reply] : Currently it is private, which means the derived class cannot access i... (by jsmith)
September 2010 Pages: 1... 2324252627... 32
  Archived months: [aug2010] [oct2010]

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