Im a student of programming too.
Can someone explain this in plain english. I've never seen this before. I've typed in it...how does it encrypt to things like *&^%$#.
Thanks for anyones help..
Type: Posts; User: digy
Im a student of programming too.
Can someone explain this in plain english. I've never seen this before. I've typed in it...how does it encrypt to things like *&^%$#.
Thanks for anyones help..
what exactly does dereference mean
now the function point_size is coming out
The length is 0
and I am not sure what *(a+1); does
actually I just took it out and the same answer comes up...lol
Yah, I can never figure out one way or another..lol
But the program still doesnt work...
the first function works (int length (char a[]), but the output to the second function is -28865. I need to use pointers and pointer arithmatic.
#include <stdio.h>
#include <string.h>
...
well then refuse to help me....
sorry if I appear stupid to you
HEY this post is supposed to be for helping ppl who are learning "C"...remember???
if you don't want to help then stay off.
I wrote it out wrong...thats all.
I have
if (str(day,"monday")==0)
{
intday = 1;
}
help please
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main()
{
int intDay;
int num;
int newday;
nope all is working....I put checkups in to see what the computer says I inputted. I still need help on this.
remember:
very simple (no loops, functions)
the code I am working with is the code I...
okay got the code, teacher helped, but when I input any day and number it still comes out...The day is a Monday...all the time. I traced through it and it comes to the first IF and when it outputs...
these are the variables (simple):
int dayasint;
int remainderdays;
int numberofdaysfromnow;
char day[10];
from the code above from kurz7 I got it to work but anytime it's 0 it comes out...
A program that will accept user input:
a the day of the wk (eg tuesday)
b an 'n' number of days from now, between 1000 and 10000
The program should output the day of the wk after 'n' days...
thank you guys.
but don't have to use functions this time
if user inputs Monday and 'n' = 3, your output should be Thursday.
user input = day of the wk & number of days from now (between 1000<_ n <_10000)
they want to use a strcmp and the mod operator...
I hope I typed it right....
why won't it work....?
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
void getinput(char a[], char b[];
int isanagram(char a[],...