Search Results

Search: Posts Made By: pharaoh
Forum: Programming 11-09-2011
1,620
Posted By pharaoh
Thank you @agama! You helped a lot and I learned...
Thank you @agama! You helped a lot and I learned something.
Thank you @agama!
Forum: Programming 11-09-2011
1,620
Posted By pharaoh
Pointer to pointers
Hi guys, I'm trying to understand pointers in C and made a simple example and I've problems with It.
Can someone help?



#include <stdio.h>
#include <stdlib.h>
#include <assert.h>

int...
Forum: Programming 08-28-2011
1,851
Posted By pharaoh
Sorry! I've just done that can you help me! ...
Sorry! I've just done that can you help me!
Thanks
Forum: Programming 08-27-2011
4,277
Posted By pharaoh
Thank you so much for your reply. I am working...
Thank you so much for your reply. I am working with your approach but I'm getting errors when I call free(), I allocated a portion of memory with malloc() and when I call free() I get a error , if...
Forum: Programming 08-26-2011
1,851
Posted By pharaoh
POSIX Thread Help
I want to create a program that creates 2 child process, and each of them creates 2 threads, and each thread prints its thread id. I0ve allread done that the outuput isn't the outuput i want.
When a...
Forum: Programming 08-26-2011
4,277
Posted By pharaoh
Memory free() in C
Hi guys.
I've a question, if we are using a syscall that receives a string allocated dynamicaly to a determined size, or NUL and it will allocate the apropriate size. We should free the memory or...
Forum: Programming 08-16-2011
1,656
Posted By pharaoh
pipe() - Sincronization
Hi guys.
I've a problem with pipes, I'm trying to make a program that can create a child process and they must generate the folowing output:
Ping ... Pong
Ping ... Pong
Ping ... Pong

I want...
Forum: IP Networking 05-24-2011
1,550
Posted By pharaoh
DNS does all slave Name Server must be in the zone Resource Record file?
Hy guys, I've a problem configuring my Name Server (using bind 9) which is I'ts always necessary to put all slave Name Server for a zone in the zone resource record file or db (as you prefer)?
I've...
Forum: BSD 04-07-2011
2,628
Posted By pharaoh
Building 'world' in FreeBSD
Hi guys I need a jail in FreeBSD and I'm following this documentation : Jails (http://goo.gl/HBSmt) and I'm stuck cause It won't make, I've already download the source via sysinstall and I surfed...
11,675
Posted By pharaoh
Thank you guys! I didn't knew that bash don't...
Thank you guys! I didn't knew that bash don't support floating point numbers.
That was very helpful.

---------- Post updated at 02:53 PM ---------- Previous update was at 02:52 PM ----------

...
11,675
Posted By pharaoh
Random float numbers in BASH
Hi people :)

I'm learning shell scripting using bash and I want to generate 4 floating point number with 5 decimal places and write them to a file and a variable. I've done all this except the...
Forum: IP Networking 03-19-2011
1,735
Posted By pharaoh
Public IP
I guys, I have a compute at home and I want access it from outside with a public IP, and the problem is that my ISP distributed private IP addresses and to access the Internet is through NAT and. I...
Forum: Android 02-25-2011
12,917
Posted By pharaoh
Hey man thank you! It helped a lot.
Hey man thank you! It helped a lot.
Forum: Programming 02-23-2011
4,292
Posted By pharaoh
If you run this piece of code you will have...
If you run this piece of code you will have different outcomes. Sometimes the father code can be executed before the son's code and vice-versa, because the operating systems stagger them. And a...
Forum: Programming 02-23-2011
1,314
Posted By pharaoh
Python Execution Stack
I was wondering if Python's execution stack does not grow if we make recursive call of a function i.e. if we implement a fibonacci () and factorial () functions and made recursive call of them in a...
Forum: Android 02-22-2011
12,917
Posted By pharaoh
64 bit Android SDK in GNU/Linux
Hi guys :)
I've just switched from 32 bit to a 64 bit Arch Linux and I've installed the android SDK but, I can't run the emulator because some lib is missing ( ia32-libs ), if anyone have resolved...
Forum: Android 02-22-2011
16,008
Posted By pharaoh
I playing with the API, I just know the basics I...
I playing with the API, I just know the basics I hope 'till the end of March I'll submit some apps to android market.
Forum: BSD 02-19-2011
3,766
Posted By pharaoh
I think It is kind hard to find such softwares...
I think It is kind hard to find such softwares for *BSD, you have to do It yourself through scripts
Forum: What is on Your Mind? 02-18-2011
1,153
Posted By pharaoh
Programming Topic
Greetings friends, I was looking for something about <i>Lua Script Language<i/> and I didn'y find anything, and then I had a thought that It'd be easy if in the Programming Topic there are subtopics...
Forum: Programming 02-18-2011
8,273
Posted By pharaoh
Hi :), I'm wondering if this recursive call of...
Hi :), I'm wondering if this recursive call of reversre ( ... ) wouldn't cause stack overflow?
Forum: Programming 12-02-2010
3,963
Posted By pharaoh
C language Header files
Hi people I'm trying to do a school project and I've a situation wich is bothering me, imagine We've a program and that programs devided in multiple files "dotC1.c" and "dotC2.c" (for example) and...
Forum: Programming 11-21-2010
7,969
Posted By pharaoh
I've been awared of that, but my goal is to learn...
I've been awared of that, but my goal is to learn how to synchronize read/write file descriptors without using semaphores, my professor said that is possible and told us o theorical pseudo-code.
Forum: Programming 11-20-2010
7,969
Posted By pharaoh
IPC - pipes between parent and child process
Hi guys, I'm having some problem here, I'm studying pipes, and i want to create a shell in C and at this point a don't want to use semaphores, instead I want to use tricks. Straight to the doubt:...
Forum: Programming 11-20-2010
5,636
Posted By pharaoh
I'm sorry about the delay on answering, now in...
I'm sorry about the delay on answering, now in "Advanced Programming" we are working with "Shared memory" to work with functions as shmat(),shmdt(), shmctl(),... and so on i need to include these...
Forum: Programming 11-17-2010
5,636
Posted By pharaoh
System programming in C
Hi guys, i'm programming in C for Linux but i preferred to program in FreeBSD and some FreeBSD system calls are not available in Linux and i want to make my code portable but i don't now really how,...
Showing results 1 to 25 of 25

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