Beginners - August 2014 (Page 16)

by Bandy
If else and variables practice
 
I am new to programming and after reading the tutorial for "if else" commands I wrote this small pro...
[2 replies] Last: Yes, excluding the loops. It was a practice challenge I read on some o... (by Bandy)
Array objects acting like Quantum particles (explained inside)
 
So I have these variables. They do certain functions (obviously). Anyway it seems that if I try t...
[13 replies] Last: Thank you everybody who has been helping. Let me see if I can make th... (by nick050183)
by Ch1156
Drag an object with the mouse SFML
 
I want to know how to grab an object with the mouse and drag it to a location and drop it there, i t...
[4 replies] Last: Bump Please help (by Ch1156)
by cole1
Non existing output
 
This simple code should determine if a two digit number contain odd digits only mixed numbers or eve...
[3 replies] Last: Thanks to both of you ! (by cole1)
Which approach is better?
 
Passing a user defined type by value is as expensive as returning a new one? The second approach ha...
[2 replies] Last: Thanks! (by asus1575)
Factorials
 
Hi, I have been tasked with using the for loop to create the factorial of 20, which should be 24...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by keskiverto)
Help with declaring non numerical values in c++
 
Write your question here. Im a complete begginer in c++ so im having diffuculty with this problem...
[5 replies] Last: Thanks guys. Also the =="single" worked and cout first before cin. I ... (by spOOn2014)
having problem with using strings
 
hello everyone, its been two days since i started c++ tutorials from this site and honestly its the...
[2 replies] Last: thanks lendraDwi it worked!! (by Aqib Farooq)
by yaaz32
Windows form
 
Hey i have a windows form application. I have two textboxes. textbox1 and textbox2. I have a ca...
[no replies]
by Ch1156
.append() issue
 
I'm trying to load files from a folder and I have a directory name that I push back into the vector ...
[2 replies] Last: Ok that worked thank you. I hate it when i cant figure out simple stuf... (by Ch1156)
memory allocation operator new / delete, new [] / delete[]
 
Hello I made a simple code. Please analyse it and make debug ! My question is: Why 16 bytes ...
[1 reply] : In line 68, delete pObj2; , how does the program know how many elem... (by kbw)
Does 'delete' free memory
 
Hi, guys, I have a question here. As described in the title, when we delete a dynamically initialize...
[3 replies] Last: Okay, get it. Thanks a lot guys! (by glenjoker)
Advance Repetition program (using arrays for large whole number addition/subtraction)
 
Ok...so I'm having some trouble with this one. I think I have the right idea, I'm just not sure exac...
[2 replies] Last: stringToArray(string n) is wrong. n can be used as an array. This ... (by coder777)
by vxk
Friend function
 
Is there any difference when a friend "function/class" is declared inside a class as public ,and wh...
[5 replies] Last: class Polynomial { // instances represent polynomials; e.g., 2x^7 - 8... (by JLBorges)
New to C++
 
Hi every one, I am new to C++, Can any one tell me the major difference between C++ and JAVA..
[1 reply] : Everything in java is class oriented while c++ it doesn't need to be. ... (by giblit)
by CDude
Question Permutation recursion
 
Write your question here. Hi guys, i want to write an boolnextPermutation(int array ,int arraySize)...
[5 replies] Last: Lets say that the input array is {7}. How does the recursion end? (by keskiverto)
cross initialization error?
 
I'm getting this weird error that says "cross initialization of '__'" in this part of my code. Do I...
[11 replies] Last: I would try doing a complete rebuild of your project, as that isn't an... (by Zhuge)
Prime Numbers Program problem
 
Ok, so I'm fairly new to c++ and this is my first time posting to this site. My problem is that my ...
[3 replies] Last: Awesome! Thanks for your help guys. finally got it working. working on... (by hoovern88)
Noob question function not being read.
 
Why wont this code work? Sorry im so nooby. Everything inside my addition function is not being read...
[2 replies] Last: aaaa ok thanks (by Badplum25)
loops?
 
Hey guys, I am getting back into coding, I have done up a console app that calculates hours/minu...
[2 replies] Last: @Aceix Thanks for the reply So should I type up an if statement for... (by Ryanhuddo)
August 2014 Pages: 1... 1415161718... 40
  Archived months: [jul2014] [sep2014]

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