ohh I got it now :p
Type: Posts; User: Kinshara
ohh I got it now :p
yeahhh..
I havent got any idea until now x_x
I am using visual studio 9..
#include <windows.h>
#include <stdio.h>
I am trying to read from RFID tag from reader-12,
but I have no idea what is the first thing I must learn..
must I try serial port first? and how can I get the value from the tag?
any example or...
Thanks :D
It solved :p
pardon me, I have already spent a whole day for searching about this one.
can we connect C with mysql database? is the mysql same with mysql for webhost(xampp)??
I have already download the mysql...
are you sure "fscanf" can read " " (space I mean) from text file??
as I remember, you can use "strtok"..
get line per line and save it at temp variable..
and then,
temp = "abc c1 195" right...
hi all... i gotsome problems.. I don't understand what it means at all...
"write a function pread that reads in n pairs of coeffients and exponents, 0<=i<n
of a polynomial, x. assume that expon...
I confuse where must I post this thread....
I am studying allegro now..
can someone tell me what is different of textout and textprintf???
thansk before
do{
printf("User name [5-9 char]: ");
scanf("%s",&user);
}while(strlen(user)<5||strlen(user)>9);
do{
printf("Password [maks 19 char] : ");
scanf("%s",&pass);...
stk = (S->data);
stk is pointing to s-> next
I don't really sure about what am I thinking..
why don't you use, strupper and strlower?
yeah,, I know the theory,, but I can make it into code in C.. T_T
I can make it, if the variable is int.. but I am not sure too...
hey,, I have new problem.. hehehe..
how can we make a pyramid by using char?
eq
w
qwe
aqwer
I only can make a triangle..
the main function must have a type...
commonly, use
int main(){
and at the end, you must return to the system.. before "}"
Hemm..
I have got some problem when I set int variable into zero(0),,
it has be printed when I run the program..
Name Score
==============
0
Ray ...
ptrone=&one;
so, ptrone value is addres of one?
is it right?
so, like we use pointer at function.. what's the different with normal function?
void function(int *a, int *b)
with void...
ehmmm... alright..
how about adak's?
"Using just two pointers to char, reverse a char array. No char array index allowed! "
we reverse char by char by using pointer?
WAW!! you are right!!! hahaha..
it works!
but, how about int type?
can we just use same? "\0"???
can we delete it directly to their struct?
struct profile
{
for(int c=0;c<jum_data;c++)// so I am searching the "nim" which must be same with the files
{
if(strcmp(nim,data_mahasiswa[c].nim)==0)
{printf("NIM : %s\n",data_mahasiswa[c].nim);...
hmm..
how about like this?
int a=20;
int b=30;
int *ptra=&a;
int *ptrb=&b;
int *temp;
@adak:
I don't know how to reserve it... can I use some pointers? I mean not only one, to reserve that char?
@Elysia:
char one[15]="new learning";
char two[15]="I can do it";
int...
you mean, adding '\0' on the end of char which I want to delete?
hehe.. I edited it.. because it's my assignment... xD
hi there.. I have some problem here...
I have already struct the variabel...
and when I input 3 times,, automaticly the files are 3 right?
so, how can I delete one of them? can we set them into...
what is the benefit if we use pointer???
hmm.. if all of you don't mind, how about give me some problems, whicih must use pointer.. and I will make the program.. but don't very hard.. hehehe