Search Results

Search: Posts Made By: jj1814
Forum: Programming 04-18-2002
2,445
Posted By jj1814
take a look...
at some code that I wrote for class....it should help u a lil with your arg prob.


http://mars.utm.edu/~paihann/progs/writels2.htm
Forum: Programming 04-18-2002
2,445
Posted By jj1814
take a look...
at some code that I wrote for class....it should help u a lil with your arg prob.
Forum: Programming 03-20-2002
4,646
Posted By jj1814
problem solved
Thanks. It turned out that the executables needed to be placed before the links because it was negating it.
Forum: Programming 03-19-2002
4,646
Posted By jj1814
well I only added the && part for the executables...
well I only added the && part for the executables after it didnt work in the first place. I ran ls -la regularly and saw that the executables had symbolic links so added to && part to see if it...
Forum: Programming 03-19-2002
4,646
Posted By jj1814
Re-writing ls -F command
As the subject states, I am re-writing the ls -F command in C++, but I am having trouble adding some of the Formatting characters to the files names. Here is my code:


if (strcmp(buff,...
Forum: Programming 02-14-2002
12,299
Posted By jj1814
including <sys/time.h> with initial and final as...
including <sys/time.h> with initial and final as type time_t, I cant just declare initial=time(). I have to have arguments so &initial serves the purpose. I'm still getting crazy output for the...
Forum: Programming 02-12-2002
12,299
Posted By jj1814
Displaying elapsed time...
I am trying to display the amount of time that it took for a command to run. I'm assuming that i have the correct code:

...
else
{
printf("I am a child...
Forum: Programming 02-12-2002
11,036
Posted By jj1814
well...
i meant to have commented that code out. I was using it for another purpose. At any rate, I got my shell to work. thaaaaaaaaaanx


mars:$ cat modshell1.3.cpp
#include <stdio.h>
#include...
Forum: Programming 02-07-2002
4,086
Posted By jj1814
i posted my new problem under the "Fork()ing...
i posted my new problem under the "Fork()ing Hell!" thread. you can read allllll about it there :D
Forum: Programming 02-07-2002
11,036
Posted By jj1814
Your post helped me out with a fork I am writing,...
Your post helped me out with a fork I am writing, but I am having a little trouble because the execve command only executes the "ls" command when i type one in - no matter WHAT command I type in. if...
Forum: Programming 02-07-2002
4,086
Posted By jj1814
:-)
thanks for everything. A version I wrote the other day works, and yours works even better. Now i'm having trouble with a daggone fork and execve command. it works, but not perfectly.
Forum: Programming 02-04-2002
4,086
Posted By jj1814
it's running on Sun OS 5.8
it's running on Sun OS 5.8
Forum: Programming 02-03-2002
4,086
Posted By jj1814
Thank you so much for helping me out. I'm...
Thank you so much for helping me out.

I'm trying to write this in the C language. So far I have this:

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <iostream.h>

...
Forum: Programming 02-02-2002
4,086
Posted By jj1814
QUESTION...simple program?
I am new to the unix/linux environment.
AND........
I need to create a mini shell..that displays prompt (i.e., READY:$), accepts a command from std-in, and prints the command and any...
Showing results 1 to 14 of 14

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