Beginners - November 2010 (Page 5)

by lare26
undefined reference error
 
I am getting a brand spankin' new error when I compile my code. Can someone clue me in, please? [ou...
[4 replies] Last: I screwed up my toolchains, somehow. Thanks for responding, though Ble... (by lare26)
Memory issue
 
I've recently been playing around with Allegro and I managed to make a very simple 2d game. It's a g...
[1 reply] : I've just added destroy_bitmap(buffer) on line 28. It seems to have so... (by porl123)
passing arguments by reference
 
I'm currently writing a code that returns the area and perimeter of a triangle. It gets user inputte...
[4 replies] Last: have a look: #include<iostream> #include<cmath> #include <conio.... (by chipp)
logical size of a character array
 
I'm studying for loops now and I'm trying to incorporate a bodiless for loop that will give me the l...
[4 replies] Last: #include<iostream.h> main() { char string = "I am browni3... (by Browni3141)
Left positioned?
 
Dear Guys, I'm reading the C++ Data Structures book by Nell Dale and there is an expression like ...
[2 replies] Last: What it means is that each time you try to read from the file again it... (by Duthomhas)
need a code for this problem!!!!!urgently!!!!
 
I need help with an assignment that is due on monday and i dont know how to solve it!!!!! question ...
[11 replies] Last: hi again, show us what you have got so far, so we can see what need... (by shredded)
changing positions using arrays
 
What i am trying to do is first store a number of values in a 2D array with a constant of...
[no replies]
by Rave
program not holding assigned value, sets it to null
 
Hello, The program compiles, but its not doing what it suppose to. The program creates a tree and co...
[3 replies] Last: Help please. (by Rave)
gsl random number casting error
 
Hi, I am trying to use gsl libraries for simulation variance gamma process. I am getting this err...
[no replies]
does not name a type
 
i have seen this problem in multiple places but never a solution as all solutions seem to infer a co...
[2 replies] Last: none of them include player.h both only include the super class they i... (by wash me socks)
What is the point of Private?
 
I've been learning C++ for some weeks now, and I have already developed a relatively complex program...
[3 replies] Last: I may be wrong on this, but it is my understanding that c++ was design... (by wtf)
testing user input before storing
 
so lets say i ask a user for input, "type in a number". how do i test it so if it is an integer, i ...
[7 replies] Last: rational<int> c1; int c1; cin >> x; for(int i = 0; i < x.le... (by gametack)
by lare26
template should work
 
I created my very first template. I had the first 2 parts by themselves and they worked fine. I adde...
[2 replies] Last: Dude.... i feel like such a moron. At least I would if I hadn't been u... (by lare26)
Printing chars in char array individually with spaces
 
I'm trying to write a function that prints out each character of a char array one by one. Here's wha...
[2 replies] Last: c<strlen(sSay) works like a charm. Thank you very much! :)... (by garlandman)
by firix
istream and ostream operators of Vector
 
Hi I could not write istream and ostream operators of Vector How should I write. struct floa...
[11 replies] Last: thanks... (by firix)
changing positions using arrays
 
Hello, i am very desperate for help on this because it seems that i've tried everything yet cannot g...
[no replies]
Pass by reference (Function within function)
 
Let's say I have this function that I use to change some values in an instance of the class employer...
[2 replies] Last: Thanks for the answer I was hoping for. (by kkostas)
OpenGL - Changing from immediate mode to vertex buffer objects
 
I am using OpenGl and SDL and I have reached the point in my life where I find out that immediate mo...
[no replies]
by mur123
double to int
 
Hi All, I need to get a value into an int variable from a double variable, and I keep getting erro...
[3 replies] Last: You can convert like this double y = 3.1222; int x = int y;//this w... (by LittleQuick)
Class Relationship
 
What does it mean when the class is declared in this form, and the data members thereof?: clas...
[1 reply] : http://www.cplusplus.com/doc/tutorial/inheritance/ scroll down to 'in... (by hamsterman)
November 2010 Pages: 1... 34567... 42
  Archived months: [oct2010] [dec2010]

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