I've changed 'fin' to 'game' and 'a' to 'zero'
but 'z' to 'guess' - 'z' I suppose guess is slightly related, but I dunno.. any other ideas please?
Type: Posts; User: Ninestar
I've changed 'fin' to 'game' and 'a' to 'zero'
but 'z' to 'guess' - 'z' I suppose guess is slightly related, but I dunno.. any other ideas please?
Ahhh... Thanks alot, it now restarts properly!
Do they still have to be declared with their values? Ahh, guess I can see for myself!
Problem 1 solved, but what do you think I should call 'z' - I...
Hey guys, I got a couple of small little bugs here, for one when my program restarts, it doesn't work properly, and I can't figure out why!
I know the layout is a little messy, I need to try and...
I've been doing C programming as one of my subjects last semester for my day release at Uni. Working full time and doing keeping up with uni work is tough, but I have managed it thus far. However,...
Touche SlyMaelstrom,
But in all honestly, that's pretty much what I done! I fumbled my way through the assignment without totally understanding what I was doing. I've still learnt a fair bit as...
This is exactly it, I didn't do any prep work on studying the code because I believed getting my assignment write up finished was the most important thing. Turns out I was pretty much mistaken!
Just by your reply I can tell you are advanced at C programming and it probably comes easy to you. What you have to understand is that if I get a line of code written down I might not necessarily...
Ok, I've been doing a C programming assignment for a few months now. I found C hard to contend with, but scrapped together an assignment with hard work and help from friends and even some advice from...
Don't type in the decimal then!
It works as long as you don't blow any air on it, so that's good enough for me!
Ok, gotcha. I added the lin of code in to my program and it still works, I'm guess this is a good thing?
I inserted it below my while loop
I have that line in my While loop! - look!
My god I hate C code, how the hell do you guys enjoy this??
ok cheers guys, I did have the '0' after return, dunno how it got deleted.
I've done some data sort alogorithms and found them easy, but need to re-write this guess the number crap so I can...
Hey again.
Continuing with my assignment and seem to have come a long way in understanding C. However part of my assignment was to create a guess the number game which randomly generates a number...
I know the first 8 perfect numbers. This part of my assignment is basically just wanting me to do what I have already done, so I'm not going to mess around with it now. I find the void main(void)...
Oh, I've read through the FAQ and it makes sense, but my Italian teacher has always taught us to us void main(void)
Any reason for this?
Your code works well Hassan.
Hey, I've had to create a program that figures out the upper limits of perfect numbers, so here is my program.
#include <stdio.h>
#include <stdlib.h>
int perfect(int x);
int main(char...