Well, the problem has solved. So, board closed.
Type: Posts; User: Siaw Ys
Well, the problem has solved. So, board closed.
Well, I was creating a program to play a music but I can't get my last "yeah" tune works goodly so I wonder if anyone mind give me an idea how to play the last tune perfectly? Very thanks you.
...
Understand. Thanks.
Is this mean that I can't reverse an octal number?
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
void printReverse(int num);
int main(void)
{
int num = 0123456;
Noop...I don't have any text books but only notes and slides. I also don't have time to ask my teacher for help in school because I was also busy. Off course ~ I have search online for many guides...
I understand what you mean. All the problem which I post is the problem which I has try to figure by my own but I still can't solve so I need help. I also try to just rely by myself solve it by...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void encrypt();
void decrypt(char data[100], int pass, int length, int key, int i);
int main(char data[100], int pass,...
Please view my code below.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void encrypt();
void decrypt(char data[], int pass, int length);
I have solve this problems ~ ^^
Ok, I have updated my code so that the key store into another variable...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
char data[100];
Well, I know that I should use while loop but how can my program determine that the key which input by the user is incorrect?
Ok...now i have updated my code...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
char data[100];
Please view my code below...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
char data[100];
Now I get it ~ If I change into *result = n ^ 1 ; It works....But I still don't know how those operators works. So I need some explanation...
Ok...I try change into the following code
void ReduceOddNumber(int n, int *result)
{
*result = n << 1 ;
}
When I input 5 it become 10 I wonder why?
Did you mind show me how to done that? Because I really have no idea how...I am totally new at this chapter.
First please view my code below.
#include <stdio.h>
#include <conio.h>
void ReduceOddNumber(int n, int *result);
int main(void)
{
Thanks you !!! I finally realize it ~
Ok...then what method should I use to solve this problem? Does change my variable into array form is recommend so that it will keep update?
Please take a look my code below.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct noun
{
char singular[80];
Well, I pass them as parameters because my assignment request the function must accept an input parameters so that why I pass to it. I try explain clearly then, This programs is to convert the...
First, please view my code below.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct noun
{
char singular[80];
I don't how should I thanks you ^^ . You are genius ~ I try to solve this problems for a long time but...still can't and now your plan B works ~ After I remove the & from the fwrite it write...
Ok, my target is to write p->singular and p->plural into the binary files but unfortunately no matter how I try, all the info which this program write into the binary files is some other info which...