Ok..i will try it out..thanks
Type: Posts; User: cBegginer
Ok..i will try it out..thanks
Sorry bout that..
Here is part of my code
while (fgets(read_line, 100, in) != NULL)
{
for (i=0; i<strlen(read_line); i++)
{
/* i think my logic here is wrong */
Hi, i wanna know how to tokenize the string out of delimeter('--').For example:
aaa bbb-ccc -- eee fff ggg
The question i want to ask is, i want to token the word aaa bbb-ccc out, but
i am...
thanks..anyway..i solved it...
I am not asking u to give me a solution..i jus asking how to solve it..like tips..cos i stuck all the half way..by the way..thanks for reading my post..
hi Dave_Sinkula i got question here..what does this code of ur's mean
if ( ++i >= sizeof p / sizeof *p )
{
break;
}
hi, i currently doing a program that can read from output file that i had created.Here is my problem : how do i read in randomly into struct
by the way i am using fread because i wanna read a binary...
yea..thanks for reply..but because i need to read in the file and store in struct and later on i will be able to write back to binary file format and if i using unsigned char will the output will be ...
hey..i m having trouble with fixed-length format..suppose i wanna create a struct to store my variables n later on convert it into binary file format from raw text file like below :
/* this only...
hey..guys thanks for helping me out..
hey man..sorry..i had type wrong the original output..n the code had been edited..sorry..
hi..i try to implement the bubble sorting where it read from file..i mean line by line then break into token..it can break into token but it can't sort the words..
Eg. input
"this is a string"...
ok..i get it..thanks both of u..
Hi everyone, i kind of having trouble here with character copy. I currently building an linked list where stored character by character not word by word, i don't quite understand how to implement it....
Hi..everyone..i got 1 question..Insted of using switch and case to do our control, do we have any choice to do it..yea..i know we can use while loop..can gave some tips or advice for using while...
hey thanks friends..i solve my problem..thanks alot..
Hi..everyone..i had trying to solve this problem but i really can't because i don't have any experience with C core dumped.Below is a program that can be compile but after exceution i get ...
ok..thanks
Ok..Thanks for helping me..i appreciate it alot...
i got another question let say i want to load my data from the database..i got stuck on the link list part..below this is only a sketch code..can give some advise..thanks a lot
#include...
oo..ok..thanks..alot
hi..i am very beginner with c structure and i don't how to deal with complex struct as follow
typedef struct saleStruct
{
struct tm date;
int quantity;
float price;
struct...
ooo..ookok..thanks alot buddy..
issit i should add sample.size++; or declared another variables inside that count the size in the main function.
ok..then wer should i add it?