|
by: Rick |
last post by:
Hello all.
I have an index.php file that has a lot of functions that I wrote.
Let's say for the sake of argument that there are 1000 functions of
100 lines each. The index.php file is invoked with a "state" a la
"index.php?state=L1-2L3C4-47". Different functions are called
according to what the state is, and then user actions can cause
index.php to be invoked again with a different state. For instance,
you can click an "erase this...
|
by: elektrophyte |
last post by:
I was looking at the PHP function "call_user_func()"
(http://us3.php.net/call_user_func). It appears that this will solve a
design problem in the app I'm working on. (I'm writing a class that
will allow a PHP programmer to call their own custom functions.)
However, in the comments a couple people mention "variable functions".
E.g., "You should avoid this function and use variable function calls
instead!"
What are "variable functions"?
|
by: Steffen |
last post by:
Hi,
I stumbled across the following error
foo.cc: In function `int main()':
foo.cc:15: error: no matching function for call to `Bar::foo(int)'
foo.cc:9: error: candidates are: void Bar::foo(int, int)
where foo.cc is
|
by: rnn98 |
last post by:
hi,
my multithread application, running under solaris box, is crashing
eventually.
I tried to spot and substitute functions not "thread safe", but I
guess my search wasn't good enough. I have put localtime_r and
asctime_r where I was using localtime and asctime. But I didn't find
any correspondent _r function to "time".Also, I found that "readdir"
is not thread safe. But what about "scandir"?
Thanks for any help
|
by: Robert Heuvel |
last post by:
Why did you devise invoking generics functions like you did?
I understand that the method of use is "compatible" to that of generic classes
but isn't it a bit clumsy? Or am I missing something?
Wouldn't it have been "cooler" to have just been able to invoke a generic method
without having to state which type you want to use it with (in questionable
cases one could always revert to type casting)? The paramaters would be
suffictient to...
|
|
by: foneman |
last post by:
I wrote and compiled a dll without error. When running the app that calls my dll, I get
"Missing required export functions at <filepath to my dll>
The dll was created with Visual C++ .Net (Version 7). I left the various files that were automatically created for my project (my_dll.cpp, my_dll.def, stdafx.cpp, stdafx.h) intact. I added a new .cpp file which contained my code and a header file that goes with it
When I look at...
|
by: dougans |
last post by:
Hey there,
Hope someone can help me, completely stuck with immigrating from php4 to OOP based php5.
==
index.php
--
include(database.inc.php);
|
by: Jake Barnes |
last post by:
<FAQENTRY>
Weird. I go to Google and search for "javascript faq". These are the
top results:
http://www.javascripter.net/faq/index.htm
http://www.irt.org/script/script.htm
http://www.jibbering.com/faq/
I've got what I assume is an FAQ question:
|
by: Zerozone |
last post by:
I mean : How can C write these functions... I would like to know it, so you can show me where can I find about this infomation ?
|
by: =?Utf-8?B?UiBSZXllcw==?= |
last post by:
I have a public class called Database.cs. It has public static functions and
I call them from ProjectA. The code looks something like:
int intConnectionSuccessful = Database.ConnectToDatabase();
Works great.
Now, I have another project, ProjectB on a different server. I copy and add
Database.cs to the project and also call the functions the exact same way as
above. However, I always get this error message:
'The name 'Database'...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|