Search Results

Search: Posts Made By: Hector M.
Forum: Programming 07-10-2012
1,400
Posted By Hector M.
it still giving me the same problem. I have these...
it still giving me the same problem. I have these files:
temp.c
prueba.c
they are both different programs not related to each other. I manage to call the firs program temp.c without problem but...
Forum: Programming 07-10-2012
1,400
Posted By Hector M.
Problem creating a makefile
hello, I'm trying to create a makefile to run multiple c files. I am able to run one c file only with the code I have when I tried to run 2 or more c files I'm not able. here is my code

# $Source:...
Forum: Programming 06-30-2012
3,666
Posted By Hector M.
I was able to read the data. the problem that I...
I was able to read the data. the problem that I have is when I want to save that data into a text file. When I execute the program it gave me this error "segmentation fault (core dumped)"
Forum: Programming 06-29-2012
3,666
Posted By Hector M.
I have this code: #include <unistd.h> ...
I have this code:

#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>


int main(void)
{
//FILE*out;
...
Forum: Programming 06-29-2012
3,666
Posted By Hector M.
Thanks for the help bot code are very helpful, I...
Thanks for the help bot code are very helpful, I still have a small problem in the C code.I run that code but I have a doubt, in the write function the STDOUT_FILENO, what does it mean or how it...
Forum: Programming 06-21-2012
3,666
Posted By Hector M.
Thanks for the help,I'm wirking wiht that code...
Thanks for the help,I'm wirking wiht that code right now. to be more clear at my goal, I'm trying to read data from a microcotroller using the Ubuntu terminal. I manage to read the data and send the...
Forum: Programming 06-20-2012
3,666
Posted By Hector M.
Help with C in linux Ubuntu 12.04
I'm trying to use the sytem() to send a terminal command. I haven't been able to run the program. Can someone show me how am I suppose to write this command: (echo "#o1" > /dev/ttyUSB1). Is there a...
Showing results 1 to 7 of 7

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