In your Int main you need to write getch(); i started programing a couple of months back and had the same probelm lol!
int main()
{
setup();
menu();
getch();
return 1;
Type: Posts; User: Chalmers86
In your Int main you need to write getch(); i started programing a couple of months back and had the same probelm lol!
int main()
{
setup();
menu();
getch();
return 1;
Our lecturer gave us a program to look over in the holidays. Unfortunately I think he has forgotten we haven’t done any file handling in C yet. I’ve had a look around on some other websites to see if...
I’ve done a little on while loops but I’m not that experienced in C programming as a whole. This is my first year at college.
I understand what you have wrote there.
I’ve been taught for the...
sorry didn't mean to create two. If possible could the admin delete this sorry to make a mess.
Currently trying how to use the For loop but I’m not having much luck. Just trying to print a name ten times but I reckon I’m doing something wrong? Your help would be much appreciate as i am getting...
Currently trying how to use the For loop but I’m not having much luck. Just trying to print a name ten times but I reckon I’m doing something wrong? Your help would be much appreciate as i am getting...
Simple as that ...
I find sometimes thats all you need someone else to spot the silly mistakes. Thanks man :D
I’ve done an if statement before in a previous program but it was numbers …
void process()
{
total=float(miles_after - miles_before)*0.42f;
if (total>=1000);
{
...
Thanks again guys! That's absolutely brilliant, I feel I am actually really learning stuff as well because you guys are just giving me pointers instead of writing the whole code for me :D
So this instead?
printf("\nPlease enter your christian name.");
scanf("c",&name);
Like I said yesterday I’m pretty new to C. I’m currently trying to write a program which involves the user entering some characters. I think for the char function you have to set an array? Because it...
Thanks MK27! I think I understand what you mean … I know it as BODMAS (Brackets. Of. Divide. Multiply .Add .Subtract) I completely forgot about the whole concept. Currently doing a HNC at college and...
Trouble with program
I’m new to C and seem to be having some problem with my subtracting in “void process” can someone please give me some help?
The problem I have been given to solve is –
...