Beginners (Page 3)

by Meden
Why do constructors use references?
 
This is an example out of my book. I am trying to understand why the constructor for CommissionEmpl...
[2 replies] Last: heh I was just reading about refernce arguments! :D passing as refer... (by xxvms)
Help!
 
Hi I am fairly new to the C++ scene and I have stumbled upon a problem in my code, when I "start wit...
[10 replies] Last: Thanks everybody! All your input has helped me to solve the problems !... (by ant1g33k)
setter/getter not working
 
When - in the source code - I attempt to get (for example) p (check.getP(0)) it won't return with a...
[11 replies] Last: No, I did not understand local variables... do now thanks it's all fix... (by Myhat2you)
DOOM like graphics
 
I was wondering how do I go out and about with programming a "3D" world, like DOOM in preferably SFM...
[3 replies] Last: And yes I do have expirience texturing and modeling, and stuff. (by TheScripterGeek)
by xxvms
Imperial units
 
Hi there :) I am again working on example from book and something does not add-up literally ;) i ...
[4 replies] Last: Thanks Jlb and Jonnin Jlb - nope its if statement only, if you have a... (by xxvms)
little help??
 
i want antivirus script for c++ 11,i tried many scripts,but they resulted in errors,Thanks in advanc...
[no replies]
Need Help
 
My professor has placed an assignment for us to do. i figured out some but not all. could i get som...
[3 replies] Last: Thomas is right. For some reason I thought you had to output each sa... (by SamuelAdams)
Copy initialization and Direct Initialization
 
what i understood is that the compiler will make a temp string object with the value "Test" and then...
[2 replies] Last: Thanks JLBorges for replying and helping me. I understood it clearly n... (by AhmedEl3agamy)
build error
 
My program does not build. any help? #include <iostream> #include <iomanip> using namespace s...
[1 reply] : Lines 25-32: What are these lines? Is this supposed to be a function... (by AbstractionAnon)
Stuck on number averages
 
Hello, I've been going over this for a couple of days now. I was able to get the program to do the o...
[5 replies] Last: Hello rjmacready, Your welcome. Any time. Andy (by Handy Andy)
C++ GUI BattleShip
 
I am really new to the gui side of c++. The problem that I am running into is I have 2 board one for...
[3 replies] Last: I still don't understand. You set the text for the same button multipl... (by Thomas1965)
by xxvms
Function call with a problem
 
Hi there :) Happy Sunday!!! For this that are bored and can't wait to do some coding :D I have ques...
[7 replies] Last: Hi Jlb, thank you for that :) I felt the same that there is so much... (by xxvms)
by Nakruf
auto with refrece plus another bit, i think i need an explaination.
 
I thought for was for iterating through a set of ints and can't find any sample that looks like this...
[1 reply] : This is a range-based for loop. c is a lvalue reference which bind... (by mbozzi)
by khvkhv
Link List that append 2 queue based on condition
 
This is a snippet of my code. Basically this code are going to let user to key in customer (A~Z), t...
[no replies]
some problem
 
hey guys... I got some problem with this sfml... I made it so that a circle is spawned at the pos...
[1 reply] : I fixed this problem now... (by Flaze07)
by likma
Constexpr
 
I've been working out of Sam's C++ book. Everything is going well, however I've gotten stuck with th...
[8 replies] Last: Thanks man & good luck programming!!! (by likma)
why classes and objects ?? (c++)
 
i am believe that i am noob in programing spacial in C++ 1st i learn how i make functions (it was...
[2 replies] Last: There is nothing you can't do with functions and C-structs (not class-... (by jonnin)
Needed help with c++ code
 
My table is not lining up right please help? write a C++ program to take numbers from an input file ...
[4 replies] Last: Thanks that helped but the - numbers are throwing off the decimal alig... (by NemesisTheo)
by jothy
Having trouble with arrays output !!! Please Help!!!
 
Hello, I'm a complete newbie in programming and this is the first programming class I'm taking. We...
[7 replies] Last: @lastchance Thank you very much for your corrections. I was able to ma... (by jothy)
by SVcpp
"head" not recognized
 
I'm getting a strange error indicating that head isn't recognized even though I include the header f...
[2 replies] Last: I'm getting a strange error indicating that head isn't recognized eve... (by jlb)
Pages: 12345... 64
  Archived months: [feb2017]

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