Beginners (Page 2)

by Ch1156
Proper Pointer use
 
I wrote a program to pass a large string to make passing it a point, since passing a number or two i...
[6 replies] Last: You can always pass by reference instead of pointer except if you want... (by Peter87)
Could someone teach me the proper access specifier class thing
 
Could someone tell me the proper way of doing this? And explain it well. Thanks. #include <ios...
[5 replies] Last: I'd like to offer an even better way (in my opinion) to do the above a... (by Renthalkx97)
PLEASE HELP - NOT WORKING - URGENT
 
Task Implement a Circle class. Each object of this class will represent a circle, storing its radiu...
[5 replies] Last: Ok, so here is a revised version of the code: #include <iostream> #... (by minomic)
help please
 
So I am making a game in C++ and this is a portion of the code i am having a rough time with. So wh...
[5 replies] Last: Is it considered good programming practice to include them? Heh...s... (by nickeeromo)
Nesting if else statement help
 
This is a bit from a program I am writing. How do I nest if else statements? while (PROMPT != ...
[1 reply] : What do you mean nesting if else ? if( con ){ } else if( con2 ){ ... (by rmxhaha)
by anhnha
strange typedef for a newbie in C++
 
Hi, I am a beginner in C++ and just came across a definition that is very strange to me with charac...
[4 replies] Last: http://cppannotations.sourceforge.net/annotations/html/cplusplus21.ht... (by andy1992)
by spatio
Hovering Over Code
 
just changed to Visual Studio 2013 Express from 2010, I am trying to learn by reviewing some sni...
[1 reply] : I'm pretty sure intellisense doesn't work if you're just copy + pastin... (by kong288)
URGENT HELP NEEDED: Using Exception Handling to eliminate punctuation...
 
First, I want to preface this discussion with "I KNOW THERE IS AN EASIER WAY BESIDES EXCEPTION HANDL...
[15 replies] Last: Did you remove line 49, i also told you to erase 54 - 61. If you still... (by andy1992)
My collision is daftly slow - please help.
 
Hello. My Collision code is *very* slow I guess. The more objects I add the slower the game gets. ...
[8 replies] Last: I'm sorry for being ignorant on this topic, Duoas, and I promise i'm n... (by kong288)
Function called with two variables as parameters without commas, is this valid ??
 
Hi All, I came across this question where the function is called with this kind parameters sna...
[7 replies] Last: whoa! Thanks, but working with bits is either brilliant or madness. I... (by dhayden)
Destructor Call?
 
Write your question here. Why is the Destructor called after the Move assignment operator? Co...
[4 replies] Last: Thank you very much. (by phztfte1)
How to bypass a class and look for the dll file instead
 
Hi! I am adding my own classes to an existing opensource software (OpenSees). The executable file O...
[1 reply] : Are you asking to make sure your program loads the correct of several ... (by Duoas)
Not saving input and updating. (1,2)
 
I'm pretty sure the problem is because I'm not referencing the input once the function terminates. I...
[20 replies] Last: All right I sent my code to your inbox. (by deathslice)
Best way to learn C++
 
I'm a learning beginner that has a little C++ experience running math written C++ code that I have s...
[5 replies] Last: No I have not read the tutorials as I have just discovered this websit... (by johnl732)
Tic Tac Toe - Urgent
 
why the program doesnt work properly? there'll output 'undefined references sleep'. and can someone ...
[5 replies] Last: that piece of code is in the while loop (by jasonwynn10)
Scrutinise my code
 
Looking for brutal criticism, feedback and improvements to my initial OOP design. My code should ...
[5 replies] Last: Exactly the same you did: destructor with empty body. But in this case... (by MiiNiPaa)
by r0bot
rand() in loop
 
Dear All, I would like to draw ten random digits. #include<iostream> #include <time.h> #...
[3 replies] Last: works well! thank you guys ;) (by r0bot)
How Do I Go About Generalizing These Functions, And Should I?
 
I'm working on a game with an entity-component system. I have a Manager class that is handling all o...
[1 reply] : You could use inheritance and/or polymorphism. (by Renthalkx97)
Adding each unit they're current value and letting the user pick as many units as they want (1,2)
 
Before I go into detail, please do not give me code. I'm only asking for advice as I generally want ...
[21 replies] Last: You could just write a function to display the stats. I'm not really s... (by Renthalkx97)
problem with passing address
 
hi i have written this code but compiler says you should initialize a why and how?? [#include <std...
[4 replies] Last: You can't pass uninitialized variables to a function. In your second e... (by Renthalkx97)
Pages: 1234... 109
  Archived months: [oct2014]

Cannot post in this page. To post a new message, go to the first page.