Search Results

Search: Posts Made By: JamesGoh
Forum: Web Development 03-04-2009
4,236
Posted By JamesGoh
Ok an update on my situation I read over...
Ok an update on my situation

I read over HTML forms again and realised that in order for something to happen, data must be submitted

So I added an <input type='submit' value='Submit'> to my...
Forum: Web Development 03-04-2009
4,236
Posted By JamesGoh
php script + not displaying webpage
Hi guys

Im in the process of designing a website for my company which does the following

1) Daily execution a perl script. The perl script's output is diverted to a .html file.

2) The .html...
Forum: Web Development 03-02-2009
8,822
Posted By JamesGoh
opening text files with javascript
Im aware under IE, javascript uses ActiveX Objects to open up and manipulate text files, excel files etc..

How abouts would I open a text file using javascript in Firefox ?

thanks
Forum: Web Development 03-01-2009
2,361
Posted By JamesGoh
question with html
In HTML is it possible to create a hyperlink list which is automatically updated ?

If not, is it possible to get say php or javascript to read a list of entries from a text file and create...
Forum: Programming 02-19-2009
2,217
Posted By JamesGoh
using c++ and c standard I/O functions
Is it not a healthy practice to mix C and C++ standard I/O functions together

e.g.



string name; // this is a declared instance of the string class in C++

printf("\nPlease enter your...
Forum: Programming 02-19-2009
1,612
Posted By JamesGoh
Question with pointers and free()
Just a statement I need some clarification

Im aware that malloc() can be used to create pointers, and free() is used to deallocate dynamic memory, however is free() the ONLY way to dispose of the...
2,544
Posted By JamesGoh
Hi everyone I finally managed to get my...
Hi everyone

I finally managed to get my crontab script to work.

The problem was that I was not doing the editting via crontab -e, which is necessary to update the existing crontab file.
2,544
Posted By JamesGoh
Ok I realised that some causes of the error was...
Ok I realised that some causes of the error was not removing the . when specifying the executable (as Im not running it from the directory the executable is in) and using the machine's timestamp (I...
2,544
Posted By JamesGoh
Forgive my ignorance, but how do I put error...
Forgive my ignorance, but how do I put error message checking in the command line or crontab script ?
2,544
Posted By JamesGoh
probs executing crontab script
Hi everyone

In an existing crontab script for the root user, I've added 5 new lines of code, however for some unknown reason, these lines of code were not executed.

Here is what I did


30 0...
Forum: Programming 12-15-2008
9,155
Posted By JamesGoh
I managed to solve the problem. It was a...
I managed to solve the problem.

It was a case of using the 'require' keyword to include an external perl script and invoking the method contained within it in order to properly create a graphics...
Forum: Programming 12-14-2008
9,155
Posted By JamesGoh
Perl GD::Graph and outputting to a graphics file
To successfully export a perl GD::Graph object to a graphics file (e.g. a .png file), do you do the following ?



# Set graph data

$graph->set(....);
$graph->plot(\@graph_data);...
Forum: Programming 12-11-2008
5,344
Posted By JamesGoh
Hi everyone No need to worry anymore. The...
Hi everyone

No need to worry anymore. The problem turned out to be in another function.

Thanks for bearing with me
Forum: Programming 12-09-2008
5,344
Posted By JamesGoh
Sorry for all the confusion. To be honest I can...
Sorry for all the confusion. To be honest I can be a bit lazy from time-to-time when trying to explain problems, mainly cause there is a lot to try and interpret. I will try my best to explain the...
Forum: Programming 12-09-2008
5,344
Posted By JamesGoh
Sorry for all the confusion. To be honest I can...
Sorry for all the confusion. To be honest I can be a bit lazy from time-to-time when trying to explain problems, mainly cause there is a lot to try and interpret. I will try my best to explain the...
Forum: Programming 12-07-2008
5,344
Posted By JamesGoh
Okay, I've tried for days now and still can't...
Okay, I've tried for days now and still can't find the source of error in my malloc() call. Im going to expand the problem out to best describe what Im trying to do. (n.b the code is attached in a...
Forum: Programming 12-03-2008
5,344
Posted By JamesGoh
malloc() + run-time issues
Besides an exhausted heap, is there any other scenarios which can cause malloc() to generate a run-time error ?
Forum: Programming 11-27-2008
4,546
Posted By JamesGoh
Thanks fpmurphy. That helped solve my problems
Thanks fpmurphy. That helped solve my problems
Forum: Programming 11-26-2008
4,546
Posted By JamesGoh
very bizzare file writing problem
I'm trying to write a function which opens a file pointer and writes one of the function parameters into the file, however for some reason Im getting a core dump error.

The code is as below


...
2,016
Posted By JamesGoh
Perl + object-oriented programming help
Currently Im trying to write a program that manipulates a class-based object as part of its functionality. However, the perl compiler is complaining that the class's respective package is not...
Forum: Programming 10-02-2008
16,753
Posted By JamesGoh
In my code, there is an erronous call to...
In my code, there is an erronous call to fflush(stdin). Even after removing this and using

printf()
fflush(stdout)
scanf()

which is in my code btw, this has not rectified the problem.

Im...
Forum: Programming 09-29-2008
16,753
Posted By JamesGoh
Hi guys Please find my code in the...
Hi guys

Please find my code in the attachments

Ok the aim of my script is to do the following

a) Prompt the user to enter in a folder they wish to browse to

b) Rename the folder via the...
Forum: Programming 09-28-2008
16,753
Posted By JamesGoh
Ok, I will try and re-specify my problem ...
Ok, I will try and re-specify my problem

Basically Im trying to get a simple prompt being displayed (via printf() ) and have a user respond to it accordingly (via scanf() ).

However this is...
Forum: Programming 09-24-2008
16,753
Posted By JamesGoh
stdout/stdin + flushing buffers
Hi all

I've run into a snag in a program of mine where part of what I entered in at the start of run-time, instead of the current value within printf() is being printed out.

After failing with...
Forum: Programming 09-18-2008
4,105
Posted By JamesGoh
int *ptr + max possible value
From reading my C book, Im aware that the integers have a maximum value which depends on what type of processor you are using (since they use 16-bit or 32-bit instructions).

Now I know pointers...
Showing results 1 to 25 of 89

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