Beginners - June 2012 (Page 22)

Dynamic memory allocation;
 
Hi forum, I'm making a space invaders clone with SDL, as part of my learning. I want the player to ...
[7 replies] Last: Hmmm. I must look at the source of other programs and read some more b... (by camelCase69)
Evening everyone, need help and suggestion for creating a program
 
Hello everyone, I'm new to programming and don't really know how everything works so far, so please ...
[10 replies] Last: Got it, thank you guys (by NewInTown)
c++ standard library???
 
hi Is it reasonable to expect the c++ standard library to be specificity/optimised for closed emb...
[1 reply] : Yes. You can expect an optimised release build of the C and C++ runti... (by kbw)
by sanu
How to Create a own Vector Class
 
Hi Everyone!! I am trying to write my own template vector class but I don't know exactly how it w...
[no replies]
terminate called throwing an exceptionAbort trap: 6
 
terminate called throwing an exceptionAbort trap: 6 I am having difficulty finding a clear ...
[8 replies] Last: I found the problem. It was indeed in line 3 and line 27. After two co... (by vckngs7)
void
 
Hi In almost all the books about C and C++, void is introduced as a data type, though comparitive...
[7 replies] Last: I think it is a matter of classification of topics to include void a... (by Khosravib)
Input Unknow Variable
 
I need to be able to input any of 118 pre-programed variables or any number into a program, and I do...
[1 reply] : The simplest way is via a sentinal: int count = 0; int input; int... (by Lowest0ne)
Sprite collision method
 
Hello, I am rather new to c++ (I've done Java previously) and I'm working on trying to make a collis...
[5 replies] Last: Chaining together a million && and || conditions is ugly. Look at how... (by Disch)
by digrev
why need constuctors
 
hi everybody my question is simple why do we use them For examle there are two sample below arent th...
[4 replies] Last: > why need constuctors? Because classes have invariants. The values... (by JLBorges)
how do i simplify this
 
the program reads from memory each variable has 4 bytes and it is stored in a dummy variable, then m...
[no replies]
How to manually input an EOT ?
 
Hi all, I am writing a function to be used from the command line. So I have a loop on cin. What c...
[2 replies] Last: Thanks ne555, I am on Linux. I found already Ctrl-D that works in the... (by lalebarde)
Menu Class v1 and v2 (1,2)
 
Here is the Current Release of my Menu Class (Feel free to reuse, share, etc.): An example to de...
[21 replies] Last: 2.0 has been added to the main page. I'm still working on getting my Z... (by Volatile Pulse)
by Thumb
Need beginner's projects
 
Hello, I am new to this forum and C++.I am self taught. My goal is to become proficient and become a...
[2 replies] Last: Ok. A Blackjack game is simple enough. Thanks! (by Thumb)
Help :( Newbie
 
Hi everyone. I want to be a game programmer but... Idk how this Microsft Visual Studio 2010 works. I...
[4 replies] Last: Hey there, when you get a good handle on c++ there is a really good se... (by colourfulbananas)
no match for 'operator>>' in 'std :: cout >> "Nice to meet you."'
 
I have an extremely simple code that I did, and that ^ (up there) error. my code goes like this: #...
[4 replies] Last: Why not just use strings? (by ResidentBiscuit)
Problem with getline()
 
I am working on a program that counts the votes of N candidates and print the winner and votes recei...
[2 replies] Last: Sir, here's the code for the function. void process(int N, string ca... (by galiwocky)
Do math
 
Thanks to coder 777 my code "works", it just doesn't do what I was hoping it would. I want it to cal...
[2 replies] Last: Oh yeah thanks. (by Perry Turner)
power point
 
I wrote a little game where it picks a number, and you have to guess it, and I put together a single...
[2 replies] Last: Whatever you would type into a command prompt to make Powerpoint show ... (by Moschops)
by hrva07
delete objects
 
Hi. I monitor memory usage with windows task manager. After statement: VisualShape* object =...
[9 replies] Last: Maybe class VisualShape has data that it doesn't free? (by coder777)
How to initialize max variable
 
I have to make a program that stores the biggest sum you can get from a vector's integer elements. S...
[1 reply] : If you're using a modern C++ compiler and not Borland C, you could use... (by Catfish2)
June 2012 Pages: 1... 2021222324... 51
  Archived months: [may2012] [jul2012]

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