
please wait
by justcodin
Need help with arrays and functions, mostly problem solving
|
So I'm writing a program that gives the user a menu of 4 choices. The first one creates an account, the second deposits money into the account, third displays t... |
Nov 1, 2015 at 10:12pm
[no replies]
|
by bardo99
Swap variables
|
my teacher asked me to swap to values using two variables, and a temporary variable,im not sure how to "swap " them, im kinda stuck and not sure what i should d... |
Nov 1, 2015 at 8:52pm
[4 replies] Last: Thanks alot magnum pi! i solved it, thanks for the details! (by bardo99)
|
by joshuatz
End of File
|
Hey Guys. I need help with my program. I'm trying to read from the end of file and then print it onto the screen. But when I run the program it goes into an ... |
Nov 1, 2015 at 8:18pm
[1 reply] : Are you sure the file actually opened? You really should check to ins... (by jlb)
|
by jamesfarrow
variables question
|
I've got a question regarding variables that i can not work out... If I comment out the global double input = 0; and uncomment the local double input = 0; in ... |
Nov 1, 2015 at 7:54pm
[4 replies] Last: @magnum pi Thanks for the explanantion, I think I understand. We had ... (by jamesfarrow)
|
by phatboy
Passing Arrays: Top_Div
|
I'm a bit confused on how to pass an array that contains a string. My program is supposed to calculate the winning division of a company's sectors. The original... |
Nov 1, 2015 at 6:49pm
[7 replies] Last: I noticed your call to "top_div_index = findHighest(div_sales, top_div... (by magnum pi)
|
by Mor1994
dynamic cast c++
|
Hi, im adding a short code. can you please explain me why the following dynamic casting execute what i wrote? i dont understand when this casting fails or no... |
Nov 1, 2015 at 6:23pm
[6 replies] Last: No, you used the address-of operator so you did have a pointer. The po... (by Zhuge)
|
by AwakenedOne
Calculator Help by NEWB.
|
Hey guys, I am VERY new to C++ and I'm trying to write a calculator. The calculator has declared numerical values for alpha characters. Basically I wan... |
Nov 1, 2015 at 5:33pm
[3 replies] Last: Well thanks for not being harsh guys. When I said I was NEW, I meant i... (by AwakenedOne)
|
by cdog439
Printing out specific values in arrays
|
Are there any online resources that give you real world references and example code? My problem is that my homework on arrays involves looking through an array ... |
Nov 1, 2015 at 5:23pm
[2 replies] Last: Thank you! (by cdog439)
|
by Wulfinite
Does encapsulation help control the values that are assigned to member variables?
|
Does encapsulation help control the values that are assigned to member variables? |
Nov 1, 2015 at 4:52pm
[2 replies] Last: IMO, yes. Member variables have valid ranges and possibly interdepend... (by TheIdeasMan)
|
by voyannick
Print a flag
|
Hello all so I'm in my first year of college and we have to make several programs that print a flag, I've succeeded printing all the programs but two. So I cre... |
Nov 1, 2015 at 4:28pm
[no replies]
|
create a file with current system date |
hello! can someone provide me the code to create a file with the system date as the name of the file example "1-11-2015.txt" also how do i write data into the... |
Nov 1, 2015 at 4:28pm
[1 reply] : There is an example @ http://www.cplusplus.com/reference/ctime/localti... (by ShiftLeft)
|
by guru23
Factorial function
|
I'm trying to get the factorial of 5, for example, but it won't let me. I've tried almost everything but I can't seem to figure it out. Thanks for taking the ... |
Nov 1, 2015 at 4:07pm
[4 replies] Last: The answer to this problem is exactly the same as a previous Topic you... (by TheIdeasMan)
|
by kamilhassaan
how can i make this program?
|
in it were supposed to type a number and the program should display it's square, cube, number^4, number^5,..., number^10. How can i make this using the while l... |
Nov 1, 2015 at 2:56pm
[8 replies] Last: Like i mentioned above im a newbie. i started c++ less than a week ago... (by kamilhassaan)
|
by dominover
Build Tools / Compilers for C++ ?
|
I'm not sure if this is the right section for this question so please move it if so. I'm finally at the end of my tether with my current setup. Currently us... |
Nov 1, 2015 at 2:11pm
[6 replies] Last: > I could build the software using that overlay and run it on a normal... (by JLBorges)
|
by jamesfarrow
square root recursion problem
|
I am new to C++ - pleaase bear with me! Below is a bit of code to find square roots recursively. Although it works, the answer is always 7 characters long? I ca... |
Nov 1, 2015 at 1:12pm
[1 reply] : Thank you very much!! Problem solved :) (by jamesfarrow)
|
by devonrevenge
REally need help passing SFML sprites by reference to main loop
|
Surprisingly, a lot of SFML documentation on drawing to graphics only seems to cover declaring images glabaly, Im trying to create a sprite wrapper so I can d... |
Nov 1, 2015 at 12:55pm
[1 reply] : XD TWO DAYS OF BEING STUPID AND I SUSS OUT I JUST DIDNT GIVE TEXTURE A... (by devonrevenge)
|
by virock
Need help understanding Ai implementation in tic tac toe
|
Write your question here. Good morning everyone, i have read a lot of the AI topics here concerning tic tac toe. Honestly, the more i read, the more confused i... |
Nov 1, 2015 at 10:47am
[no replies]
|
by hdyh
linked list not working
|
I just want to make a linked list program that can insert node, delete node, find node and display all the node, but i was not expert in program. i have tried t... |
Nov 1, 2015 at 10:38am
[no replies]
|
by RandomGeek
Code Ideas
|
Hello, I'm new to C++ programming even though I already coded some basics,but still I want to improve my skills.Do you guys know where I can get ideas to code s... |
Nov 1, 2015 at 10:32am
[no replies]
|
by Stl784
Priority Que help Counting Letters (1,2)
|
Hello, I'm fairly new to c++ and would like some help with this code that I'm writing. It's supposed to print out, the number of times each letter is presented,... |
Nov 1, 2015 at 9:39am
[25 replies] Last: Again thank you so so much for all your help :). (by Stl784)
|