Search Results

Search: Posts Made By: guidely
2,475
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,921
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,921
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,661
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,661
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
2,071
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...
3,066
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,484
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,484
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 :) :)
1,019
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,484
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
7,010
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,484
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...
3,088
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,674
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,674
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,771
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
2,303
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

...
3,236
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,513
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,513
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,727
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,561
Posted By guidely
What does " shell wildcard " shell script?
Hi, I just wondering what does " shell wildcard "

Thank
1,817
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...
4,669
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

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