It runs fine on my compiler,,complete the whole program then send to me ,,I'll get a better idea on why it crashes.
Does not give out any errors with me??
Type: Posts; User: andy bee
It runs fine on my compiler,,complete the whole program then send to me ,,I'll get a better idea on why it crashes.
Does not give out any errors with me??
The following alogrithm can be used to find the day of the week for any date between 1st jan 1800 and 31st dec 1999.
1. Take the last two digits of the year.
2. Add a quarter of this, neglecting...
I have changed program above to hold suggestions.
Same error comes up as below :-
int _tmain(int argc, tchar* argv[], tchar* envp[])
error is:- line 49 : ) expected.
only shows this not...
/*Compiler playing up using turbo c++ 4*/
#include <stdio.h>
int isleapyear(int year)
{
if(year%4 == 0 && year % 100 != 0 || year % 400 == 0)
{
return 1;
}
Thanks guys.
Must still be trying to do the pascal thang .
Thanks for your help.
And NO not homeworking trying to get the C thang hard to shake pascal.
/* There are errors in this program,, I do not want the program altered in any way as I won't learn that way
All I need is to know is what line the errors are on, and explain why they are errors...
Ok guys i have now got the code to work as it should.
Thanks for your valuable help.
(Learn sumut new every day).
:cool:
All i get when I run is inactive in viewer window, in otherwords I press run and the program halts with:
Usage:alpha <Start Char> <End Char>.
Can't do anything but watch it on screen.
Am I...
I use Turbo C++.
Please can you compile and put right this program.
Not sure if it's me or my compiler thanks.
#include <stdio.h>
int main(int count, char *strings[]) {
char *p1, *p2;...
This Is What I Have Come Up With.I think it is good enough what do you think??
(NOTE!!! This Will Run For 20 MINS)
#include <stdio.h>
#include <time.h>
/*** Function declaration ***/
void...
Could someone help me out on this problem in C.
The rand() fuction is used to genetrate pseudo-random values.Can you write a program that uses the function to simulate people standing in a...
I think i sorted out a couple of bugs but can't get rid of one error,,
the error will come up when compiled.
Would appriciate if anyone can get this attatched program to run
thanks.
Who put that smillie there lol.
Thanks for the help ,,by the way brill program.:)