Beginners - May 2011 (Page 40)

memory error after returning a class
 
Hi, I have two different classes each in a separate header file and a .cpp file. In the main funct...
[2 replies] Last: Thankyou very much, I didn't know about copy constructors. the follow... (by fredhenry)
First Collision Detection Program
 
Wasn't really sure where to post this, it's really just a little program I wanted to share with ever...
[1 reply] : Nice. I have a question. Do you only keep track of the position of y... (by m4ster r0shi)
by Ayelix
Are auto variables stored in the stack?
 
My last C++ class test had a question which read "Write an example of using memory on the stack" or ...
[2 replies] Last: Great, thanks! (by Ayelix)
Google can't answer me..
 
Hai. I'm pretty new to C++, and i was wondering if i could make a program to open a .txt file, an...
[2 replies] Last: That is, IF you need to use C++... Will the substitution be the same ... (by moorecm)
by tmso
Object Keeps Falling out of scope. HELP!
 
I'm clueless as to why creating an instance of an object while in a conditional statement would "go ...
[3 replies] Last: look into polymorphism. (by hamsterman)
About my Task
 
Hello guys, I have to write this program but i don't understand to the problem. Please show me the...
[3 replies] Last: thanks a lot. (by oguzuslu)
enumerations
 
hello everyone!i have some problem using enumerations. suppose we have enum fruit{apple,banana,...
[11 replies] Last: @Mohamad Fouad..i dont use g++ compiler i am using borland c++ 5.02 co... (by nomijigr)
Arrays: I have a word in an array as an element, how do I count the letters?
 
Homework help I have a word pulled from a text file and put into an array. How do I then load tha...
[4 replies] Last: ack, didn't realize you've changed the topic (and rewritten the questi... (by matsom)
How do you move on after a scanf without pressing "enter".
 
I am trying to get a string from the user and move on without requiring the user to type "enter" s...
[4 replies] Last: I want to scan a sting and print something on the same line next to ... (by fierball)
error
 
Hi guys im trying to write a program that keeps track of events using log file(txt files) but i get ...
[11 replies] Last: Got the solution from my lecture , i just needed to code studNumber._c... (by allytrice)
Error - undefined class.
 
Hi again. I get two errors which I can't locate. I would be very grateful if you could help me (agai...
[1 reply] : Look at the preprocesser output so you can see what's actuall being pa... (by kbw)
by Hyl
Help with pointers!
 
Hi guys, I can't seem to count the number of cs in my string. Which parts am I doing it wrongly? By ...
[6 replies] Last: Thanks a lot! You made my day! (by Hyl)
function without return value
 
can anyone show me some example of function without return value coding and give some explanation pl...
[2 replies] Last: thanks dude...i understand it now... (by fakhruz3105)
need some explaination...
 
hello guys... what is & in this function declaration means? void swap(int& i, int& j)
[2 replies] Last: ok...thx a lot... (by fakhruz3105)
by badny
2 simple things with strings in C++
 
Hi there. I just need some help to do two stupid things (I´m really a beginner). Question 1: Ho...
[4 replies] Last: Sorry about code block use. Didnt know that. Man, u just did the sa... (by badny)
by mdk85
Help needed in ATM programming
 
hi i have written a program for A T M . i have finished the program and its working i wanted to add ...
[2 replies] Last: waqqassheikh , that was unhelpful. I had to modify the program to ge... (by kbw)
by Kivuis
Needing help making my first program
 
Hi all :) I'm an absolute beginner (started yesterday, using wxDev-C++) and am trying to make a v...
[1 reply] : Save all the messages in a double dimension array. In your case as yo... (by writetonsharma)
by ARWA
massage dosent want to be shown what is the problem
 
this is the program in c please may any one know way is that the code has no broblems just the out...
[1 reply] : it should be %s and not %S. ** make it a habit of posting beautiful ... (by writetonsharma)
Help with Hangman Game
 
Newbie here, need help with my code for Hangman. Here is my code // Hangman.cpp : Defines the ent...
[9 replies] Last: @GodPyro Thanks, you have been of great help. (by ShadeKoopa)
Headers
 
Hey guys... can anyone help me with the header files ? I mean how to make a header file and use it i...
[7 replies] Last: @ GodPyro Thanks for prompt. I corrected mistake. @ filipe It's j... (by SimpleIce)
May 2011 Pages: 1... 3839404142... 48
  Archived months: [apr2011] [jun2011]

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