| Yasar (16) | |||
i have also done the last task for the pancackes it took some time but i got it done with a little help from google :)
however i couldnt seem display the right names with the right pancake numbers they inputted :( | |||
|
|
|||
| Yasar (16) | |||||
here is the third task of the bracket searching programme :
EDIT : the last task took me a little time but here it is :
| |||||
|
Last edited on
|
|||||
| Yasar (16) | |||||||||
here is the first task with fun with functions :
here is the 2nd task of fun with functions
here is the third task with fun with functions
here is the third task :
i have tried to do this task but it isnt complete, i have done this code to what i thought is right but i dont understand on how to pass the new number from the function to the function again , can any1 point me to the right direction it is much appreciated here is the actual problem : ★★★ Make a function called half() that takes an integer argument. The function must print the number it received to the screen, then the program should divide that number by two to make a new number. If the new number is greater than zero the function then calls the function half() passing it the new number as its argument. If the number is zero or less than the function exits Call the function half() with an argument of 100, the screen output should be 100 50 25 ... ... 1. | |||||||||
|
Last edited on
|
|||||||||
| Yasar (16) | |||
hello all , i have done the first task of tic tac toe game but i think its a bit tedious can any1 tell me if there a better way of going about this i couldnt think of a different way of doing it
iwell i could but didnt know how to implement it i kept getting stuck :( | |||
|
Last edited on
|
|||
| NwN (770) | |
|
Hi there, I recently did the same commenting for someone else's tic tac toe game. You can find it here, some of it applies to your code too: http://cplusplus.com/forum/beginner/75571/ Hope that helps. All the best, NwN | |
|
|
|
| DetectiveRawr (158) | |
| Hey! I'm doing the same thing! Wanna be study C++ buddy!? :D | |
|
|
|
| Yasar (16) | |
| thnx for the reply and link NwN and hey why not DetectiveRawr :) | |
|
|
|
| Yasar (16) | |||
here is the first part of the strings excercise :
| |||
|
|
|||
| Amateur In Cplusplus (2) | |
|
Some one HELP............. i have to create a program which inputs the number of lines and creates this triangle "n=5 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 " Dude HELP!!!!!!!!!!!!!!!!!!! | |
|
|
|
| Yasar (16) | |||||||
hey i have done the second task for string functions :
however i feel i can reduce the lines using a different function i will get back to u guys on that :) heres an improved version :
although most help came from looking at your string class tutorial :) EDIT: i have done the last task for string funtions :)
| |||||||
|
Last edited on
|
|||||||