Joseph El's Profile

About

 
Points: 26

Contact

 

Joseph El  >>  Bucky Roberts
March 19, 2016 · Public

HEY, Bucky i wanna ask you i can read from file a line of data and take just one information and store it in a variable ?? in C language !
Example :

N: 1323445 | Name: Bucky | age: 31 | website : www.thenewboston.com

I wanna store Bucky to a variable
char name[15] = "Bucky";
how could i do that from a file ??

Joseph El
March 19, 2016 · Public

HEY, Bucky i wanna ask you i can read from file a line of data and take just one information and store it in a variable ?? in C language !
Example :

N: 1323445 | Name: Bucky | age: 31 | website : www.thenewboston.com

Joseph El
December 7, 2015 · Public

Is There any one to say Hay !


Joseph El
December 7, 2015 · Public

Hay guys Could u correct that for me .?

#include
#include
int main()
{
int i;
char car;
char ph[100];
i=1;
do {
printf("Write a character :\n");
scanf("%c", &car);
if(car=='0')
car=' ';
ph[i] = car;
i+=1;
} while(car!='.');
printf("the finale result is : %s", ph);
system("pause");
return 0;
}