Search Results

Search: Posts Made By: fwrlfo
Forum: Programming 12-21-2013
1,275
Posted By fwrlfo
How can I not fall in "not responding " while doing long loop?
Hi .. I'm a student that I helped by you when I was learning c for unix..

I want to ask you about different thing this time and I know you can help me
be cause I like your style helping people.....
Forum: Programming 04-14-2013
1,134
Posted By fwrlfo
How to make C++ give me a chance to inter a number while excuting?
Iam Trying to simulate a hardware "pci" by visual c++ program.....
" i don't have the hardware right now so i want to test my program"
the hardware is about to inter a number for example from...
Forum: Programming 12-26-2012
1,100
Posted By fwrlfo
Are there any C code r instruction to see where is the creation or last edit for the file
Are there any C or termina instructin code or instruction to see where is the creation or last edit for the file
Forum: Programming 12-24-2012
1,921
Posted By fwrlfo
This code keeps giving me a segmentation fault why?
#include<stdlib.h>
#include <pthread.h>
#include "tlpi_hdr.h"
#include <stdio.h>
static volatile int glob = 0;

static struct {
pthread_t t1,t2;
} *thread;


static void * /* Loop...
Forum: Programming 12-22-2012
1,673
Posted By fwrlfo
Help with multithreading
I take this question of the The Linux Programming Interface: A Linux and Unix System Programming page 652 exercise 30.1
I want someone to explain the under line statement because it sounds complex...
Forum: Programming 12-17-2012
1,231
Posted By fwrlfo
Multiprocessing multipointers
I have a complex problem.....

I have to search files on directory "text files"
then search on all of them for a word or sentence....the user inter

my problem is,,,, if I want to create a child...
Forum: Programming 12-13-2012
2
1,672
Posted By fwrlfo
Fork!
I understand that fork create a child but I need very simple example that make child useful....
I mean how will make the program faster anyone explain with code plz

using C plz
Forum: Programming 12-12-2012
1,209
Posted By fwrlfo
Is it possible to change search inside .pdf or .doc files?
the titele was wrong ... the true one is: Is it possible to search words inside .pdf or .doc files?
is it possible if i changed the word into binary combination:eek:?
and this way is super too...
Forum: Programming 12-10-2012
3,674
Posted By fwrlfo
no, i just want to measure the performance of my...
no, i just want to measure the performance of my code "using c"

so i want how much time it take to process my code
i used that
#include <time.h>

clock_t start, end;
double...
Forum: Programming 12-10-2012
3,674
Posted By fwrlfo
How to calculate compilation time using c?
is there function with library "time.h" to calculate the processing time of the code?
Forum: Programming 12-10-2012
1,555
Posted By fwrlfo
ok thank you Eng. Corona688 the mistake...
ok thank you Eng. Corona688
the mistake was

while(EOF != (c = fgetc(filePtr)))
{

if ((c == ' ') || (c == '\n') || (c == '\0'))
{
if (c == '\0')
{
...
Forum: Programming 12-10-2012
1,555
Posted By fwrlfo
ok thank you all in advance I forgot to put i=0; ...
ok thank you all in advance I forgot to put i=0;
to start from the first location of char array but any way can anyone help me with that little freaky symble at the end of the word
while(EOF != (c...
Forum: Programming 12-10-2012
1,555
Posted By fwrlfo
Need hep with my semantic error
while(EOF != (c = fgetc(filePtr)))
{

if ((c == ' ') || (c == '\n') || (c == '\0'))
{
if (c == '\0')
{
continue;
}

printf("%s",cc);...
Forum: Programming 12-10-2012
1,315
Posted By fwrlfo
not only last word........ every word
not only last word........ every word
Forum: Programming 12-09-2012
1,315
Posted By fwrlfo
How can I read complete word from text file?
how can I know that the word in test file end at this point .... I have an Idea to search on ' ' , '\n' or '\0' but don't know what function can store the string before those characters ..

help...
Forum: Programming 11-29-2012
1,894
Posted By fwrlfo
Does PID change from device to other!!!!
we asked to create a sender and receiver for a signals. sender knows his receiver by it's(receiver) PID .... my question is if i go to other computer and run my program will the pid chages than the...
Forum: Programming 11-09-2012
1,136
Posted By fwrlfo
I think you got me wrong................. Ill...
I think you got me wrong................. Ill give you what I wrote you tell me true or false

The Linux Programming Interface: A Linux and Unix System Programming Handbook - Michael Kerrisk -...
Forum: Programming 11-08-2012
1,136
Posted By fwrlfo
How to use option of Selected SUSv3 options?
when we want to us options of SUSv3 options what is the syntax of it ?
Forum: Programming 11-07-2012
924
Posted By fwrlfo
Need explaination for a function please
can anybody explain a

long fpathconf(int fildes, int name);

what it do
like

1- lim = fpathconf(STDIN_FILENO, _PC_NAME_MAX);
printf("%s %ld\n", "_PC_NAME_MAX: ", lim);

2- lim =...
1,911
Posted By fwrlfo
Homework rules !
Why do you ask about prof info at homeworks forum..... do you contact to prof and tell him that this student asked for our help?

I asked that because some of them are very strickt and conseder...
Forum: Programming 10-18-2012
1,147
Posted By fwrlfo
is it a homework : no, I can't say yes but it's a...
is it a homework : no, I can't say yes but it's a problem That I faced when I was thinking at a large homework
The point for posting it here that I didn't begin with it yet "I have no code to post" ...
Forum: Programming 10-18-2012
1,147
Posted By fwrlfo
How to open DIR (with nisted DIR) using C?
by c code
if I want to open directory that is come after name of excuted file for example:

./open dir1

it go to dir1 and open it and read every thing insde it......
...

and other...
Forum: Programming 10-13-2012
2,554
Posted By fwrlfo
what is the main difference between difference between using nonatomic lseek and O_APPEND
I think both write at the end of the file ......

but is there a sharp difference between those 2 instruction .....

thank you

this is my 3rd question today forgive me :D
Forum: Programming 10-13-2012
1,942
Posted By fwrlfo
Thank you guys I don't know where you find those...
Thank you guys I don't know where you find those info...... but this is not google for sure :eek:
Forum: Programming 10-13-2012
1,942
Posted By fwrlfo
oh sorry I forget about that... Iam talking about...
oh sorry I forget about that... Iam talking about a c code
Showing results 1 to 25 of 29

 
All times are GMT -4. The time now is 06:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy