It actually is true that I did not write this code on my own and received a lot of help writing it from my friends since I am not familiar with linked lists. I have spent a lot of time trying to...
Type: Posts; User: newbie2012
It actually is true that I did not write this code on my own and received a lot of help writing it from my friends since I am not familiar with linked lists. I have spent a lot of time trying to...
Could you please tell me how I would have to change this code to make it print the current book?
This program uses linked lists to create a library of books. You organize the books using name, rating(1-5), and category((F)iction, (H)istory, (P)hilosophy and (A)rts).It allows you to add books,...
Btw feel free to ignore the bwPeg function (I know there is probably a faster way to do it) because I already checked to make sure it is working and not causing the problem with the output.
So i have this program which acts as an assistant to a game called Mastermind. Basically the program tells all the possibilities of an input given the number of black and white pegs.
Here's how...
Yes it is the same program but the problem is now different. In the last thread I was having trouble running the program. Now I the problem is with output. I believe the title I chose for both...
I've finally gotten my program to run and work somewhat but now I can't figure out why the output is so weird. For example, with the put shown below I manage to come up with all the correct possible...
Well thanks a lot for your help and i'll definitely use a debugger next time before posting a question. Also i noticed that in my edited code I some how
took out the & symbols from this piece of...
Thank you so much for all the corrections but now that I have fixed them and I run the program I get a "segmentation fault".
Here's the updated code:
#include <stdio.h>
#include...
I have been trying to make a program which assists with a game called "Mastermind". If you are not familiar with this game it simply goes like this: there is a code which needs to be guessed, one...
Hi guys this is my first post and also I should mention that I am a novice programmer so please try to be as patient with me as possible.
So the game I am trying make is the Mastermind game. It is...