Hi ,
I know something about MSXML parser ,to create an xml with native code ..Msxml depends COM..So I want to create xml without com and dom ,so i wish to choose XMLLITE..but i dont know full details about xmllite ,when i was read the xmllite documentation in msdn ,i gathered some points ,they will provide only 2 things (IXMLReader & IxmlWriter).Here in msxml ,i had many functions to do xml operations ,such as selectsinglenode,appendchild ..Now can i perform the same things with XMLLITE?..please give me the right choice towards this ...
I am trying to Google for what I've mentioned in the title, but somehow I couldn't find it. This should not be that hard, should it?
What I am looking for is a way to gain access to an OpenGL ES texture on iPhone, and a way to get/set pixel with it. What are the OpenGL ES functions I am looking for?
Hi,
I'm looking for a library or wrapper for Lua to use some cryptographic functions. Initially I only need to create SHA-1 hashs.
Any tips or suggestion are appreciated.
Is it allowed by the Boost License to just add the source code of the stuff I need to my project (accompanied by the license of course?). I couldn't find any "descriptive" confirmation. I would have seperate Include/boost and Source/boost directories for easy access.
PS: Seeing as boost::filesystem is going into C++0x TR2, and lambda's are already in c++0x TR1, I don't see any reason to be juggling with Cfunctions like realpath, getcwd and the like. They don't work well anyways...
I'm building a PHP-based web app for the first time and I haven't found anything to pattern it after. At this point I'm mostly curious about how the files should be arranged into directories so that development of the website can be manageable. This includes javascript scripts, images, stylesheets, cgi scripts, html files, pure php files that define common functions, etc.
Question: Can someone point me to an explanation about how such a website is typically organized on the server?
I'm planning to have a desktop app interact with some .ASP or .ASPX pages on a server.
I've only done a little bit with .asp pages and I'm thinking I'd just Post or Get a URL with some variables:
MySite.com/Functions.asp?FunctionName=?Paramater1=somevalue?Parameter2=...
I'm wondering if there is any better way to go about this?
Am I missing something? Is there perhaps a better way to go about this?
How is it possible to allow a user to create a webpage containing some html, based on their entries in a form? ie. I would want them to be able to input a name and when the button is clicked, a webpage called that name would be created. I imagine that this must be possible in php, but what functions/code would I be using?
Thank you!
I wrote this code to subscribe to USB devices being plugged in and unplugged; the point is for IOKit to deliver notifications to my iAttached() and iDetached() functions when the corresponding events occur. However, I don't get notifications.
The code can be seen here: http://gist.github.com/402391
I didn't want to over-populate this page with it, as it is moderately long.
have a need to alert through php,
I have the code below. Problem is that it works as long as I dont use header redirect. But as soon as I use it..I loose alert.
echo "I will do some functions here in php";
if($value == 1){
alert('ok working');
}
header(location: 'someOtherpagethanthis.php');
Is there any fast way to find the largest power of 10 smaller than a given number?
I'm using this algorithm, at the moment, but something inside myself dies anytime I see it:
10**( int( math.log10(x) ) ) # python
pow( 10, (int) log10(x) ) // C
I could implement simple log10 and pow functions for my problems with one loop each, but still I'm wondering if there is some bit magic for decimal numbers.
I have a number of apps all under the same domain: E.g.:
app1.overflow.com
app2.overflow.com/email
app3.overflow.com/home
I setting using these functions: http://www.elated.com/articles/javascript-and-cookies
How can I setup the cookie so that It can be read across all of the applications?
I dont seem to be able to get this to work?
Some of the plugins I wrote (re)calculate various prices, and I used Math.Round to keep results accurate with the default 2 digit setting in CRM.
But I figured... what if a user decides to set his CRM to use a different precision?
So, I need to access the CRM settings programmatically, so that my functions can work with whatever setting the user chooses.
How would I go about accessing the General (and, possibly, other) CRM settings from my code?
We use for or foreach to loop through collections and process each entries.
Is there any alternative in all those new lambda functions for collections in C#?
Traditional way of doing
foreach(var v in vs)
{
Console.write(v);
}
Is there anything like?
vs.foreach(v => console.write(v))
Using MySQL, I can do something like
select hobbies from peoples_hobbies where person_id = 5;
and get:
shopping
fishing
coding
but instead I just want 1 row, 1 col:
shopping, fishing, coding
The reason is that I'm selecting multiple values from multiple tables, and after all the joins I've got a lot more rows than I'd like.
I've looked for a function on MySQL Doc and it doesn't look like the CONCAT or CONCAT_WS functions accept result sets, so does anyone here know how to do this?
I want to get the fine name without the file extension in VIM.
I wrote the following functions in my .vimrc file for compile and run the Java program.
:function! JAVA_RUN()
:!javac %^M
:endfunction
map <F3> :execute JAVA_RUN()<CR> :source $HOME/.vimrc<CR>
In side the function how can I get the file name with out the extension.
Are there any aspects to the C++ programming language where the code is known to be slower than the equivalent C language? Obviously this would be excluding the OO features like virtual functions and vtable features etc.
I am wondering whether, when you are programming in a latency-critical area (and you aren't worried about OO features) whether you could stick with basic C++ or would C be better?
I'm using CSS 3 features like "rounded corner" or "shadow box".
IMHO These are fantastic features for people like me with no graphics knowledge. But, i've noticed, IE 7-8 not support CSS 3.
So i'm asking you: is there a way to "enable" some features maybe with some javascript functions to include in my html file ?
Thank you!
I am attempting to code some plugins to use with MIDI sequencers but have hit a stumbling block. I can't use global-scope variables to store information because multiple instances of the .dll can exist which share memory.
How do I create a class (for re-usability purposes in other plugins) containing 2 dimensional array and other variables the content of which is to be shared between functions? If that is possible, how would I read and write the data from the function in the framework where I do the processing?
I have an ajax app that will run functions on every interaction. I'd like to be able to run my setup function each time so all my setup code for that function remains encapsulated. However, binding elements more than once means that the handler will run more than once, which is obviously undesirable. Is there an elegant way in jQuery to call bind on an element more than once without the handler being called more than once?
Suppose we are inside a function and not in the global namespace.
function someGlobalFunction() {
var utilFunction1 = function() {
}
function utilFunction2 () {
}
utilFunction1();
utilFunction2();
}
Are these synonymous? And do these functions completely cease to exist when someGlobalFunction returns? Should I prefer one or the other for readability or some other reason?
Hi,
I have been using mootools for a year now. I need to use jquery for my new projects.
I always used hash() to make namespaces for my functions in mootools. For example,
var person = new Hash({
say_name: function(){
},
say_age: function(){
}
});
Does Jquery has similar stuff?
Is there any tool that generates set and get methods for a class.
Just I create classes very frequently and would like to have a tool which for each class-member wil generate following functions:
Member_Type getMemberName() const;
void setMemberName(const Member_Type & val);
Here are the GDI functions Chord() provided by MFC:
BOOL Chord( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 );
BOOL Chord( LPCRECT lpRect, POINT ptStart, POINT ptEnd );
It seems to me that no such method is privided by GDI+ (the Graphics class), so how do I implement my own Chord function (with the exact same prototype) ?
By the way, I just don't understand why does MS just don't provide them.
Thanks.