Search Results

Search: Posts Made By: bebop1111116
Forum: Programming 10-29-2006
5,674
Posted By bebop1111116
timing your functions
hi everyone. If you have a function created in your code and you want to find out how long it takes for it to run you can use a struct called gettimeofday().

so lets say we have a function like...
Forum: Programming 10-28-2006
3,042
Posted By bebop1111116
recursive function
Hi everyone, i need your input on this. We can express a function recursivly like this

A(n) = (2 n = 0
5 n = 1
...
Forum: Programming 10-21-2006
2,500
Posted By bebop1111116
making sure input are digits
hello, everyone. I was wondering if anyone could help me out and tell me how to set up the isdigit() (or another way) to ake sure that the input are all digits and not chars. Also, the way my program...
Forum: Programming 10-20-2006
2,723
Posted By bebop1111116
hey thanks, cleared that right up for me. what...
hey thanks, cleared that right up for me. what about those last few lines, are any of those valid code?

Oh, lol nope not homework, just wondering what would happen if i didn't put in brackets on...
Forum: Programming 10-20-2006
2,723
Posted By bebop1111116
valid code?
hey , everyone. I have a few questions about pieces of code and was wondering if someone could tell me what exactly they did or if they are even valid.

bool1 && bool2 || bool3 <---in what order...
3,307
Posted By bebop1111116
desktop cube
hey. i was wondering if some one could tell me how to get install this on my open suse linux.

http://en.opensuse.org/Xgl

it looks pretty handy, but im new to linux and im unsure how to proceed....
Forum: Programming 10-09-2006
2,037
Posted By bebop1111116
heres what i have. #include <stdio.h> int...
heres what i have.

#include <stdio.h>
int main()
{
int r, rs, astr;
rs=2; /*i am hardcoding the rs value here*/

if(rs/2%0){
/*here i want to have it right aligned*/
for(r=1, r<=rs, r++){...
Forum: Programming 10-08-2006
2,037
Posted By bebop1111116
Well, my program is set up so that after the user...
Well, my program is set up so that after the user enters in a number then it goes through an if statement. The If statement correctly display the right number of stars per line, but right now now...
Forum: Programming 10-07-2006
2,037
Posted By bebop1111116
format problem
hey everyone, Im making a program that prints different patterns using *
like this:
*
***
*****
*******
*****
***
*

i am letting the user decide what the number of...
4,339
Posted By bebop1111116
I just want to make sure i understand these...
I just want to make sure i understand these correct. Does it take the first line and process it, then go back to the beginning and process line two and then go back and so on and so on? Or does it do...
4,339
Posted By bebop1111116
hey thanks, one more question though. How do i...
hey thanks, one more question though. How do i tell it to keep doing this until the end of the file? Im going to make a while loop, but what would i put for the loop.

thanks
4,339
Posted By bebop1111116
getting parts of a file
Hello, I'm trying to retreive certain bits of info from a file.

the file contains a list like this
info1:info2:info3:info4
info1:info2:info3:info4
info1:info2:info3:info4...
24,857
Posted By bebop1111116
just wanted to clarify, what do the $str1 $str2...
just wanted to clarify, what do the $str1 $str2 ... represent?
24,857
Posted By bebop1111116
the printf command
hello, Im at another part of the program i am writing. Where i think i'm going to need to use the printf command.

If anyone can help me figure out the printf layout i would greatly appreicate it....
2,620
Posted By bebop1111116
hey, when using any of these ideas i continue to...
hey, when using any of these ideas i continue to get an error that says

ASCII command not found, as well as the {print: command

then goes on to display a list of how grep can be used. then it...
2,620
Posted By bebop1111116
using find
I am at a point in my script where i need to use the find command. However i am not to familar with using it yet. Hopefully this will take care of that :) aparently with the correct option find can...
2,655
Posted By bebop1111116
I have all of the other errors fixed, but i still...
I have all of the other errors fixed, but i still need to check that runny tally thing.
2,655
Posted By bebop1111116
yes sir, i have it written until the end where i...
yes sir, i have it written until the end where i want it to display the results of how well the user did. now i need to go back through and take care of those possiable errors
2,655
Posted By bebop1111116
catching some errors
I need to find a way to keep a running tally of how many times events or actions occur. Say if a user is prompted to make inputs of 1 or 2, I want it to keep track of how many times 1 was entered,...
2,412
Posted By bebop1111116
hey thanks, do you have any more ideas of things...
hey thanks, do you have any more ideas of things to add to my program. The more neat things i can learn the better. thanks
2,412
Posted By bebop1111116
finding disk usage
Hey everyone, This was a great script, thanks for helping me out.

Thanks
2,028
Posted By bebop1111116
thanks for your help. I am well on my way to...
thanks for your help. I am well on my way to learning the language
1,800
Posted By bebop1111116
scripting problem
Sorry everyone, i was able to fix it
2,028
Posted By bebop1111116
verify arguments
thanks for your help, im gonna skip this one and try a different question. thanks for your help though.
1,743
Posted By bebop1111116
few small scripting questions
hello everyone, i have a couple of questions about programming with shell scripts.

-My question is, how do you find out how long a sequence of numbers that has just been entered is. for example
...
Showing results 1 to 25 of 30

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