Beginners - November 2009 (Page 19)

Array of pointers to char
 
Sorry posted in wrong section b4 Ok Im just tryna to figure this out, If I type a code char ...
[2 replies] Last: My crappy compiler didn't give me any warning but that u soo much. (by need2no)
Passing by Reference
 
I'm writing a program that asks the user for 3 sides. Makes sure it could be a triangle, and then us...
[1 reply] : 1. function definitions have semicolon which should be removed. it sho... (by writetonsharma)
enum type
 
can you have an accessor function that returns an enum type?
[8 replies] Last: #ifndef HEADERNAME_H #define HEADERNAME_H //header contents #end... (by helios)
memory leakage
 
When a handle to a dynamically allocated memory is lost, there is a memory leakage. Does this leakag...
[1 reply] : Depends on the OS. On Windows Server, 2k, XP, Vista, 7, Linux, MacOS X... (by helios)
Game of Life Program, Rules failing to work
 
Hi, I've been trying to get Conway's Game of Life code to work now for the past two days with no ava...
[no replies]
Class Average
 
Hello. Our teacher has finished the loop exercice yesturday and he gave us directly an exercice to s...
[6 replies] Last: ava = (t1+t2)/2; Not right: you need a variable which will contain t... (by Bazzy)
error C2059: syntax error : 'public'
 
I'm using the GDI+ API to manipulate images in a program I'm working on. I've taken code samples fr...
[3 replies] Last: Yes, I kind of figured that out after staring at my code long enough. ... (by steball)
dynamic array
 
# include <iostream> using namespace std ; class Circle { private : static c...
[8 replies] Last: You can but you need a dynamic array ( or a std:: container ) (by Bazzy)
Sting manipulation
 
In my homework, I need to create a program that allows the user to enter a password. The the the pro...
[2 replies] Last: You can use the isdigit () function to determine if the character is ... (by Duthomhas)
How to join two very similar programs?
 
How to join two programes? I’ve got two well fuctioning programs. The first one counts combinatio...
[3 replies] Last: TestArray is 'int' and you cant take out its subscript which you are t... (by writetonsharma)
One equal value in 2 different ranges
 
Hi there! I'm looking for algorithm which tests whether is at least one equal value in two differ...
[2 replies] Last: You can do this in about five lines of code, if you know the algorithm... (by jsmith)
by jojojo
loop problem!!
 
hello everyone I am anew in c++ programming and I missed my class last week it was about loop ,,I...
[15 replies] Last: thank you very much ,, I found the the answer with help and i get the ... (by jojojo)
simple Dev c++ problem
 
I made a console app and don't do anything to it, but when I want to open the project properties fol...
[1 reply] : Change IDE, Dev-C++ is old and bad. See http://www.cplusplus.com/forum... (by Bazzy)
Can't figure out my problem!!!
 
I can't figure out what I am doing wrong. Any ideas? Please help!!! // Min int main() ...
[5 replies] Last: alright lets see if I can get the right out this time with your sugges... (by high5nothi5)
by cdummy
#include<iostream>/how to insert library
 
Hi, when I try to create a program "Hello world", my compiler says, that I dont have the libray or ...
[7 replies] Last: It's also possible this is just a path error, the compiler you use you... (by gcampton)
Compile error ~ Is a class not defined?
 
Dear C++ users, My name is Kim, and I am fairly new to C++ programing. I have worked...
[3 replies] Last: Firstly thank you to you two for replying and identifying the cause, I... (by pmasterkim)
returning arrays
 
I have read the tutorials on array, but this is an area which it doesn't seem to cover, unless I hav...
[7 replies] Last: So in this scenario, of incrementing array size I need to have a set c... (by gcampton)
occasional stackdump created and errors on program run.
 
I'm having occasional errors when testing my program, I'm not quite sure. When this error occurs cre...
[9 replies] Last: Shit, I forgot to click the submit button. Oh, well. (by helios)
Error C2440, Cannot convert from void to float
 
I'am just learning c++ (which is why Im in the beginner's section =P) so please pardon any nonconven...
[3 replies] Last: That worked! Thank you so much for your help. (by sethyra)
calling user-defined function gives symbol(s) not found error
 
I'm trying to print the output of a function listPerms() by passing its output (a 2D int array) to a...
[2 replies] Last: Dammit! Always the simple things. >_< Thanks! (by foxjwill)
November 2009 Pages: 1... 1718192021... 25
  Archived months: [oct2009] [dec2009]

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