OK. I put back in all the code I deleted, and I'm working on it. I think I understand, but I'm not sure. Please take a look at the following code, and correct me if I'm wrong.
void...
Type: Posts; User: mohanlon
OK. I put back in all the code I deleted, and I'm working on it. I think I understand, but I'm not sure. Please take a look at the following code, and correct me if I'm wrong.
void...
Thanks for the help. I'm still learning this concept, so the execution is still a little difficult for me. If I can ask, why do you need to have "prevptr" declared in struct listnode at the beginning...
Hi thanks. Sorry about that, maybe I should have posted all the code in the first place.
Here is the code that I have manipulated so far:
#include <stdio.h>
#include <stdlib.h>
/*self...
Hi all,
I've been having some difficulty with understanding doubly linked lists. I looked at the FAQ and the tutorial about doubly linked lists(which is very short by the way), and think I have a...
ಠ_ಠ, dwks, & zalezog,
Thanks so much! I wasn't fully aware of how scanf and getchar() stores a newline as a character in a buffer, so I misunderstood it all at first. I understand it now, and I...
I tried that too. It's the same thing happening.
Encode or Decode? (e/d)
e
Enter four digit number: 4526
Encrypted number is: 9312
Continue? (y/n)
y
Encode or Decode? (e/d)
I changed the main body of the code I wrote to this:
#include <stdio.h>
#include <stdlib.h>
void encrypt(int number1);
void decrypt(int number2);
int main(void)
{
Thanks very much for the help! It's greatly appreciated. I put in the code you sugested, and it helped me get past the first issue I was having. Now, should I put in a similar line like ...
Hi all,
I'm having some trouble with an assignment where I have to encrypt or decrypt a four digit integer. The encryption and decryption isn't really a problem for me, it's the section for user...