Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: guidely
2,149
Posted By guidely
display Range of date depend on user input php
Hi, i am very new to php Is it possible to display Range of date depend on user input day


example:


user input 2 day start from 28/4/12 it will add 2 day from date of input

so display...
Forum: Programming 10-03-2011
4,094
Posted By guidely
it is home work but I just so screw up but I will...
it is home work but I just so screw up but I will try first Thank for ur help
Forum: Programming 10-03-2011
4,094
Posted By guidely
read integer from file C
Hi , Can you have a look at my code it should display integer in file but it doesn't



#include <stdio.h>
/* This function reads two values from a file. */
int demonstrate_fscanf(void)
{...
Forum: Programming 10-03-2011
2,439
Posted By guidely
#include <stdio.h> int DisplayFile(char...
#include <stdio.h>

int DisplayFile(char filename[])
{
FILE *f;
int ch; /* int or signed char. See below. */
f = fopen(filename, "r");
if (f == NULL) {
/*...
Forum: Programming 10-03-2011
2,439
Posted By guidely
import .txt and split word into array C
Hi, if I want to import .txt file that contain information and the number separate by space how can I split and put into array In C

Example of .txt file

3 Aqaba
49789 10000 5200 25.78
6987...
Forum: Programming 09-28-2011
1,515
Posted By guidely
Link array to class java
Hi, I need help to Link array from one class to another class

Firstly CSVParser Class what it did is load csv file and store into array
Secondly WarehouseItem where each record is store

How...
2,598
Posted By guidely
Check if Queue empty or full in perl
Hi, I got problem with queue code how to determined empty and full and problem with while loop

Here is my pseudo code :

Input page Access
Input Pgae Frame
For i =3 to pageframe count by 1
...
1,217
Posted By guidely
Thank again, PF stand for page fault it use to...
Thank again, PF stand for page fault it use to cout the value of page access and as above example the one that when the number is duplicated is not count. but anyway am very considerate, Thank again
1,217
Posted By guidely
OMG, Thank you soo much for ur help, I own u one...
OMG, Thank you soo much for ur help, I own u one time :) :)
835
Posted By guidely
queue problem perl
Hi, I have implement queue but it take last element instead of fist element

#!/usr/bin/perl -w

print "Enter page Access";
chomp ($item = <STDIN>);
my @queue = split /\s+/, $item;
print...
1,217
Posted By guidely
I dont how to make list like F1 F2 F3 (F = frame...
I dont how to make list like F1 F2 F3 (F = frame ) if usre enter more frame it should add one more
6,407
Posted By guidely
every time user input create array perl
Hi, How to create array every time user input and store user input and display all array


print " Enter input "
my @input = split(' ', $input)
chmop($input = <STDIN>;
foreach ($input)
{
...
1,217
Posted By guidely
Perl program to simulate Least Recently Loaded paging
Hi, If I want to write perl program that simulated Least Recently Loaded(LRL) to calculate page fault:
The user must input page access and number of page fram that need to be greater than 3...
2,484
Posted By guidely
previous element in the array perl
Hi, How to get previous/next element in the array perl

Example

@queue = (1, 2 ,3 , 4);


I want to get value of 1 and 2, or, 2 and 3, or 3 and 4...etc and compare to value which one is...
1,299
Posted By guidely
actually wat I tried to do is to make program...
actually wat I tried to do is to make program that simulated LRL ( Least Recently Loaded ) like Paging Algorithms so the program count for page fault

#!/usr/bin/perl -w

print "Enter page...
1,299
Posted By guidely
compare two value in array - Perl
Hi, I just wondering if I want to compare previous value to next value if it same count + 1 if not doesn't count how do we compare in Perl? Thank
2,531
Posted By guidely
delete only particular file in directory shell script
Hi, what function do we use to delete only particular file that we want in directory shell script

for example I want only to delete test.txt in directory how to do it ? in sh

Thank
1,940
Posted By guidely
Identify function image magick problem - perl
Hi, I got some error when I try to write content from file store into array then for each word that separate by space use identify function to display image information.here is my code

...
2,684
Posted By guidely
Check if file .jpg is exist perl
Hi, I just wondering I done program which will list .jpg extension file but if there is not .jpg file in current directory display error how to do it ; here is my code


#!/bin/sh

echo "Enter...
1,269
Posted By guidely
Thank you so much here is code $...
Thank you so much here is code
$ #!/usr/bin/perl -w
print "Enter Advance Search Function: ";
chomp ($func = <STDIN>);
while ($func ne "quit")
{
my @func1 = split(' ', $func);
if...
1,269
Posted By guidely
Need help If empty - perl
Hi, I need help if I list all the file that determined by user input and if program cannot find file it will display " there no file that you looking for " here is my code but it not working
...
1,440
Posted By guidely
List all file that match user input perl
Hi, I want to list all file that match user input ( specified shell wildcard) but when I compile it dont list me

#!/usr/bin/perl -w
print "Enter Advance Search Function: ";
chomp ($func =...
1,334
Posted By guidely
What does " shell wildcard " shell script?
Hi, I just wondering what does " shell wildcard "

Thank
1,277
Posted By guidely
User input - Perl need Help
If I want all user input to start with " : " if not display error


or what I asking is how to do if statement that control a first letter of string that we want to start with. and not worry about...
3,622
Posted By guidely
is there possible way to list all image that are...
is there possible way to list all image that are less than size pixels in horizontal resolution
without image::size
Showing results 1 to 25 of 34

 

Featured Tech Videos

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