Search Results

Showing results 1 to 26 of 26
Search took 0.01 seconds.
Search: Posts Made By: bobei89
Forum: C Jan 23rd, 2008
Replies: 6
Views: 996
Posted By bobei89
Yea...i knew why it %20 because it increment is 2, instead of 1....Thx ^^
Forum: C Jan 22nd, 2008
Replies: 6
Views: 996
Posted By bobei89
if(!(a%10))
but what is not (a%10)?

And statement 24th which is:
if(!((a-1)%20))
Why it %20 instead of 10. When i put replace it to 10 it just show 5 value in row then newline.

Also the...
Forum: C Jan 22nd, 2008
Replies: 6
Views: 996
Posted By bobei89
statement 11th and 38th...i think that for some sort to arrange the value printed. But no understand how it work. Thx for reading my post
Forum: C Jan 22nd, 2008
Replies: 6
Views: 996
Posted By bobei89
okay, here is the code my teacher gave...but i do not understand some part...


#include <stdio.h>
#include <time.h>
#include <stdlib.h>

void printfAll(int size, int ary[])
{
int a;
Forum: C Dec 30th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
Forum: C Dec 30th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
OMG this is the problem i get while use the functions
warning C4013: 'strlen' undefined; assuming extern returning int
Forum: C Dec 30th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
okay, i try to understand your fixup funtion first. Hope it work... :)
Forum: C Dec 30th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
erm, i don't know if i right, if the fgets() will removes everything up, then why would the program still append the '\n'?
Forum: C Dec 30th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
Sorry for double posting the same thing..i miss your post #13. About the fixup() function you written, i thought the fflush(stdin) will work the same thing, clear input.
Forum: C Dec 30th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
line45: buffer2 = fopen("students.txt", "a+");

the semicolon after remove have error. :(
Forum: C Dec 30th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
got error after remove it the ';' semicolon...
Forum: C Dec 30th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
Okay i try it out, but it messed up also... :(

Here what i change:

#include<stdio.h>
#define size 99

void maintenance();

struct newI{
Forum: C Dec 30th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
Okay, thankyou Ancient Dragon...it finally work but another problem occurred...:(
Here is my new code:

#include<stdio.h>
#define size 99

void maintenance();

struct newI{
char iN[10];
Forum: C Dec 29th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
now i think that index number have accept the name as a part of it....but why??? since i put different variable.
Forum: C Dec 29th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
sigh~ i really got no idea where is the problem... :(
Forum: C Dec 29th, 2007
Replies: 23
Views: 2,332
Posted By bobei89
Please help me... after the execution of the program. It write the new information to it.
However, the .txt file do not display the new information properly. (The index number stick with the...
Forum: C Oct 22nd, 2007
Replies: 13
Views: 4,683
Posted By bobei89
Yosh, Thank you all who reply my thread. Problem solved. :)
Thx alot ya.
Forum: C Oct 21st, 2007
Replies: 13
Views: 4,683
Posted By bobei89
Forum: C Oct 21st, 2007
Replies: 13
Views: 4,683
Posted By bobei89
Aiks, i really fresh in C. Your coding contain some element i never learn before. haha:confused: But thx, i copy paste the code and run it, it work perfectly.:)
Forum: C Oct 21st, 2007
Replies: 13
Views: 4,683
Posted By bobei89
Forum: C Oct 20th, 2007
Replies: 13
Views: 4,683
Posted By bobei89
Sorry i never learn about <ctype.h>, isalpha, islower and isupper, is there other way??? My teacher probably wouldn't accept those. And about this statement, i not really get it >>num[str[count]]...
Forum: C Oct 20th, 2007
Replies: 13
Views: 4,683
Posted By bobei89
Thx dwks. Can you show further the algorithm of this program for me to work on? :D
Forum: C Oct 20th, 2007
Replies: 13
Views: 4,683
Posted By bobei89
Please help~ i stuck in this question so long time... This assignment is need to hand up due tomorrow >.<''' . Once again i confuse about array. Please correct me and show me some tips ya. Any of ur...
Forum: C Oct 16th, 2007
Replies: 4
Views: 1,687
Posted By bobei89
Yosh~ I understand alot now. Thankyou very much for your help, Aia. :D
Add reputation for ya. hehe :D
Forum: C Oct 15th, 2007
Replies: 4
Views: 1,687
Posted By bobei89
Thankyou Aia. I no really understand how does the array work, do you have any sites suggest me to learn about it?

int freq[11] make 11 variables, and freq[10] is address the 11th variable?

Why...
Forum: C Oct 14th, 2007
Replies: 4
Views: 1,687
Posted By bobei89
This program is wrotten by me college's teacher, and i so confuse and do not understand why is like this coding.


#include<stdio.h>

void main()
{
int i,j,class_size,mark;
int...
Showing results 1 to 26 of 26

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC