Recent content by pouchito

  1. P

    Solving Pointer in C Language: Placing ptr on name1,2,3

    my problem is solved ! Thanks all of you
  2. P

    Solving Pointer in C Language: Placing ptr on name1,2,3

    pointers ...C language I need your help: name1 < name 2 > name 3 I m writing a problem that place: a pointer on name 1 a pointer on name 2 a pointer on name 3 I have been working on it more than 24 hours but in vain :cry: what i did is strcmp with < if it is place ptr 1 (it...
  3. P

    How to Implement Redirection and Piping in a C Shell Script on UNIX?

    TRUE i need to solve the following command < input > output can you tell me the steps to implement it?
  4. P

    How to Implement Redirection and Piping in a C Shell Script on UNIX?

    you mean : fd = open(source, O_RDWR | O_CREAT, mode); if(dup2(fd, 0) < 0) fd1 = open(source, O_RDWR | O_CREAT, mode); if(dup2(fd1, 1) < 0) close(fd); close (fd1); ?
  5. P

    How to Implement Redirection and Piping in a C Shell Script on UNIX?

    ok, how can i do it i need to take the resutls of the first one (sort < source) which logically going to be on the screen and send it to a file name called (> destination) How can this b done?
  6. P

    How to Implement Redirection and Piping in a C Shell Script on UNIX?

    my target is to do the following sort < source > destination I know how to do sort < source: fd = open(source, O_RDWR | O_CREAT, mode); if(dup2(fd, 0) < 0) close(fd);I know how to do sort > destination: fd = open(source, O_RDWR | O_CREAT, mode); if(dup2(fd, 1) < 0) close(fd);I read the man...
  7. P

    How to Implement Redirection and Piping in a C Shell Script on UNIX?

    Well I was able to write the codes but it will execute one single command ex: < or > or |but it cannot execute 2 at the same time for ex if i input sort>sorted<unsorted it cannot b executed i ve to combine them is there a quick way ?
  8. P

    Designing Carbon Monoxide Detector Circuit with MQ307A Sensor: Need Help!

    Thank you All... still waiting for the company to answer my phone call :(
  9. P

    Designing Carbon Monoxide Detector Circuit with MQ307A Sensor: Need Help!

    I m using the MQ 307 and not 306 No there s no error But they posted only the datasheet of the MQ307A and said that the differebce is in the heater voltage which is 3V instead of 0.9V but didn't specify what to use instead of 0.2V (low heater voltage ) ...:( ANyone knows??
  10. P

    Designing Carbon Monoxide Detector Circuit with MQ307A Sensor: Need Help!

    Well I tested the MQ307 which requires a 3V instead for the 0.9V for the heater and i got these results : in CO: at t=0 and no heater voltage applied it was 1.74v heater at 0.6v (for 120s) 1.84v ---- 1.82---- 1.81--- 1.8 ----- 1.73 ---- 1.57 heater at 3v (for 30 sec) 1.3v ---- 1.24...
  11. P

    Designing Carbon Monoxide Detector Circuit with MQ307A Sensor: Need Help!

    The datasheet can be found in : http://www.hwsensor.com/English/pro_info/PDF/MQ300/GAS%20SENSOR%20MQ307A.pdf
  12. P

    Designing Carbon Monoxide Detector Circuit with MQ307A Sensor: Need Help!

    any other solution :( there is a time delay between us around 8 hours , i called them in the morning but didn;t answer :(
  13. P

    How to Implement Redirection and Piping in a C Shell Script on UNIX?

    i checked the Advanced Programming in the Unix Environment". but didn't help me that much :(
Back
Top