No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
Hello everyone, I have a code that use function to find and remove all occurrences of a string within a string (substring pending) and return the number of removals: I need to remove "xyz" in "abdxyzdxyz" the result should be "abdd" and a return of 2 removed. I used the … | |
Hello Everyone, I'm new to the forum, currentely I'm taking the basic C++ class and struggle through, it has been over 20 years since write any codes. I have some trouble with the code below, it work fine if I don't bother to check for leap year, but the assignmnet … | |
Re: Hello bsdpowa, I see what you saying about the sort function, but I try the way you have shown on my code it did't work, I want to use sort function to display the array that I assigned before sort and after sort. Without using sort just indexing it work … | |
Can anyone tell me what is this, to me it look like struct in a struct, if I were to write the OOP program to sort an array 5 of these object variables, where would I start?? What will be the out put should look like?? Can someone give an … | |
I have this program that suppost to ask user to select option: [option] a. Start a new list b. Add a Node to the end of the list. c. Add a Node to the beginning of the list. d. Add a Node at a specified position in the list. e. … | |
I have this little program that assign seat for ailine passenger, it's work, but I want to add so that it display the name of (passenger = seat number) so far I only got it to display the passenger name in the spot of that seat number. I try set_num … | |
Re: Have ever got your code working?? I just got to that assignment and has some toruble adding the 2 diagonals = 30 I put all my function in Myfunction.h, I have main.cpp and functionCall.cpp. It did't add Diaginals correctely. this in the header // Function proto type int Rows (int … | |
Re: I have a simular program, I'm a little confuse by leap year. I thought if leap year and divisible by 4 the month is February then days range 1-29 else 1-28 then it is not leap year? I think I got my code reverse. |
The End.