Beginners - January 2011 (Page 21)

Whats the difference?
 
I know the first one is assigning the actual values in the array into the other one but whats happen...
[2 replies] Last: Yes, I was also confused why there was no == there but basically what ... (by Bman900)
Dont laugh, strings are killing me
 
So this is my first post and i know it might seem dumb but I need to ask someone. I'm trying to writ...
[3 replies] Last: The associativity of comma operator is left to right. Your expression ... (by techie07)
System calls without DOS box?
 
Is there any way i could make system calls without creating a DOS box window?
[no replies]
Inserting User Defined Functions
 
hey there, pretty simple problem, im trying to write a simple program using 3 functions with 2 user ...
[11 replies] Last: Returning values let's you get output from the function. For example ... (by Disch)
Can't figure how includes/headers works
 
Hi, I have a MyProject.cpp file where the "main" is, and I'm trying to create a new class but in ...
[10 replies] Last: See this http://www.youtube.com/watch?v=ZYpvz9ZAwDI (by some random dude)
simple code wont compile and don't know why
 
basically I am very new to coding I have been in 3d graphics for a few years and decided that I want...
[7 replies] Last: thank you guys i have much to learn but thanks for the help. I'll also... (by wind27382)
scan codes
 
I need help on how to use scan codes. I have a scan code chart, but I don't know how to use them. Su...
[1 reply] : It depends on how you are getting them. If it is directly from the ... (by Duthomhas)
by Tare
Code not running (1,2)
 
from the thread title as you may have guessed, I am very new to this. I am using Dev-C++ 4.9.9.2 ...
[29 replies] Last: oh dear. Hmmmm I think I am using the new one. How do I get the lib... (by Tare)
virtual functions
 
the question is if a virtual function in base has different parameters of the function with same nam...
[10 replies] Last: ahh yes I forgot about that, cheers guys (by quirkyusername)
Inheritance problem
 
My main program security1.cpp does not recognize my "Bond" class which is inherited from the "securi...
[2 replies] Last: If I put the bond class wholesale in the securityprice.h and it still ... (by honeyoak)
Efficient way to read and store a large map?
 
I am working on a project for a class where I need to read and store a very large, 3 dimensional map...
[2 replies] Last: The project is about solving a maze. I don't assume they'll be running... (by WilliamERoberts)
random number function
 
So Im working on a project and it calls for a random number of items in a linked list, accessing the...
[4 replies] Last: excellent, I think I got it from here. thank you for your help! (by cplusplusn00b)
by Janlan
2D array sum
 
Any help or hint how to sum 2 matrix and form third matrix. for ex i want to sum a and b and s...
[10 replies] Last: just get rid of the extra ) (by ultifinitus)
Template for multiple object?
 
i`m making a game in c++ (+allegro), and im gonna make a template for a object, lets say a "bullet"....
[18 replies] Last: kk :p i`ll try and code with it :D **sfml.. super fml? (by TheBreadCat)
Sorting with pointers
 
I am struggling with sorting, this time with pointers. Can you guys give me some feedback? I am gett...
[8 replies] Last: My prof suggests I "sort the name as well" I am confused as the in fil... (by cplusplusrookie)
initialize null pointer
 
the following code doesnt work void alpha(int *p){ *p=5; } int main (void) { int *p; alpha...
[13 replies] Last: All my programming knowledge comes from a decade plus of miserable ex... (by closed account z05DSL3A)
I can't get a do while to work with or
 
I can't get this while to work with or do { cout << "1. Attack" << endl; cout << "2. Sa...
[1 reply] : I think you want while (opoHp > 0 && pHp > 0) just because this w... (by ultifinitus)
&table and table of int table[] have same value??
 
int main (void) { int a ;a =1; cout<<&a<<a; getchar(); } it results same value..!! but ...
[3 replies] Last: thank you very much my friend thit was very usefull!! and very imp... (by vagelis)
A cold beer, or hot tea :) for the person who can h e l p m e with this one:
 
i need the code for a program that: reads data from A04_a, A04_b, A04_k does the folowing oper...
[4 replies] Last: Well I don't believe it's necessary to post you whole problem. No one ... (by ultifinitus)
template derived class
 
if i want to define a derived class from a template base the way i know is template<class x> class...
[2 replies] Last: but if also derived is template with same class x how can we do that?... (by coder777)
January 2011 Pages: 1... 1920212223... 42
  Archived months: [dec2010] [feb2011]

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