Beginners (Page 7)

simple recursive statement, or is it? Can't grasp it
 
I'm using the jumping into c++ book by alex allain to learn c++ programming and I'm at recursive fun...
[6 replies] Last: everyone has his own "up to date" definition. what do you think when y... (by anup30)
by anely
Please Help
 
allow the user to run the program more than once if so desired. prompt the user to try again Y/N ...
[4 replies] Last: Hi, 2) why you need to do b = b/2; if after that you don't used.... ... (by PCrumley48)
how to declare a private static variable?
 
Hello guys. I am making a single linked list and I am stuck at a point where i have to declare a dum...
[8 replies] Last: Mysteriously your code is working and mine is giving error.. Although ... (by DaniAlves)
Do while loop [help]
 
is my condition (the underlined) wrong? cause whether I press 'y' or 'n', the program will not run a...
[1 reply] : while(a=='y'); is fine and sufficient. i.e. if a==y then its automat... (by anup30)
by Pg0715
4 digit pin
 
im wondering how I can ask the user to input a 4 digit pin and it can only be 4 numbers and if its n...
[12 replies] Last: as PCrumley48 noted, the input can be taken as a string, check it's le... (by anup30)
by Jon15
Passing an array as argument to function!
 
Hi, I am attempting to write a program that will ask the user to input 10 integers, and then send th...
[6 replies] Last: line 11: no 'w' in hi_2_lo undefined identifier, identifier not fo... (by Esslercuffi)
draw an array to screen
 
so i am using allegro 5 to make a game and have my maps layed out in 2d arrays. i was testing the tr...
[3 replies] Last: On lines 29 and 33 you are assigning the array and not comparing, shou... (by Jezze)
Can´t delete value from vector
 
I seem to do this right but I can´t delete the desired value from vector by cin. Don´t know why. W...
[10 replies] Last: The entire separate sizeOfVector is an unnecessary hazard. The std:... (by keskiverto)
by nasser
Linux,Ubuntu
 
I have installed Eclips Luna for Linux but when I run a simple program a window is shown Launch fa...
[no replies]
Clockwise turn gives weird numbers
 
So my program is supposed to turn the numbers put by the users in a clockwise fashion, but i receive...
[no replies]
Need help with homework
 
I've done most of the program myself but still having troubles on some parts of the if statements.In...
[15 replies] Last: I did the problems by doing the long way, but now i'm having trouble w... (by angryplayer557)
resizing array, deleting old array terminates program
 
I am looping this function to extract transaction from the list. it works fine for the first loop, b...
[4 replies] Last: thank you, just realized I am not supposed to delete temp as list is n... (by djhyun0001)
theatre seat reservation
 
my code is not working can any1 check it and tell me whats wrong or can sme1 plz write the program f...
[2 replies] Last: yudz: // Store the data in a two-dimensional array of characters. //... (by PCrumley48)
count giving large number
 
When i build the solution, the program gives me an unnatural number for the count, which is supposed...
[3 replies] Last: k indicates which number in the series i am going to use. dhayden your... (by jado765)
by CDavis
Localtime to Localtime_s
 
I'm having issues converting my local time. Can anyone tell me what I'm doing wrong My code when...
[1 reply] : What sort of error are you getting? (by dhayden)
Putting Implementation in .h file
 
I have an assignment where I need to put the implementation in the header file instead of the .cpp f...
[1 reply] : Well, this is most of what you need to know: myheader.h inline int h... (by EssGeEich)
Please help: insert in the middle of a simply linked list
 
Hello everyone, whats wrong with my code? When i want to capture in specific position, it does, but ...
[4 replies] Last: I just fixed, just rewrited the whole code in new files and now is wor... (by dualdark)
Finding the first even digit in an intger
 
here i wrote the code to print the even digits of an integer in the proper order but i need to just ...
[1 reply] : Your can make a little change to your second while loop. For example: ... (by liuyang)
by bs319
Multidimensional Array with rand()
 
This is part 2 of an earlier post. I know how to create a 5x5 array. I am just having problems with...
[1 reply] : Hey bs319 don't post multiple questions on exactly the same topic. It'... (by kemort)
Why won't this validate my input for values between 0-10?
 
Hi, I am having trouble with this input validation code. When I input values of the designated range...
[7 replies] Last: Thank you PCrumley48, Peter 87, and anup30 for your helpful comments. (by samintheoc)
Pages: 1... 56789... 121
  Archived months: [aug2014]

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