Hi,
How can i addition one + one matric (array data structure) and after it find the third smallest number in it in C language (not C++)? Thank you for the code.
I have some xml files that contain text,
how can I can extract this text from the xml documents?(libraries etc?)
how can I use this text to create a pdf document?
I am working in a PHP environment, however if this is not the suitable language, I could change.
I don't want anything incredibly complicated. I am working on a client outside the US, and I just want a basic check to see if someone is accessing his page from the US or not. After that, I am going to default the language in either English or Spanish, after determining where the visitor is from.
Thanks.
Given: LDAP stores location of users.
How do I drive their timezones using their location? Any pointers are accepted, Java language preferred.
Thanks in advance.
desired tree output should be like picture showed in below website.
[web]http://www.all-science-fair-projects.com/science_fair_projects_encyclopedia/upload/6/6d/Binary_search_tree.png
can I take output like that. If I can, how?
(sorry, because I cannot sketch the graph in question task so I must give link )
(language is gcc)(platform is linux)
I'm trying to use the method for naming a lua package after the filename mentioned here, however _REQUIREDNAME is never defined. For example I have these two files
samplePackage.lua:
print("_REQUIREDNAME: ", _REQUIREDNAME)
return nil;
packageTest.lua:
require "samplePackage"
And when I run packageTest.lua it outputs > _REQUIREDNAME: nil
I also couldn't find any mention of _REQUIREDNAME in the Lua 5.1 Refrence manual, so was this removed from the language, or am I missing something?
here we got a positional parameter:
SELECT
u
FROM ForumUser u
WHERE u.id = ?1
and here a named parameter:
SELECT
u
FROM ForumUser u
WHERE u.username = :name
this is DQL (doctrine query language) but i think the concept is the same.
could someone please explain what these mean and do?
Hi,
I have Application X with Subform x1, x2, x3.
The Subform has, because its multi-language, not a static text in it, neither a specific window header text or something.
What can I do to find this window in my code an react when its open, e.g. with a messagebox?
Hello all!
I was thinking if there such a function for c language.
I have a char array with data from a text file and i need to convert it to hexadecimal format.
Thank you in advance!
Language Integrated Query. Now I know that the acronyms are. I have seen C# examples, but can't really understand them. Can I use them with PHP? Can I use it along with ORM? Has any PHP MVC framework has this?
i want to read a file which consists of 1's and 0's in each line, how do can i store a false in any bool variable after reading 0 from the file.
language c++
hi, i want to learn c# programming language.i already know c++(console only) programming.i have downloaded visual c# express 2010 .Which free resources would you recommend me to learn c# and dot net 4.0 ?
I'm reading the gcc manual at the moment, especially the part about warning/error flags. After reading the part about the -Wextra flag, I wonder if it is useful at all. It seems that it complains about things which seem to be rather subjective or a matter of taste. I'm not that experienced with gcc, I only use it from time to time for some small projects at university, so to all experienced C/C++ (or for whatever language you use gcc), what's the deal with -Wextra?
Java is not my main programming language so I might be asking the obvious.
But is there a simple file-handling library in Java, like in python?
For example I just want to say:
File f = Open('file.txt', 'w')
for(String line:f){
//do something with the line from file
}
Thanks!
Is it possible to execute raw commands as javascript through the Java driver for MongoDB?
I'm tired of wrapping everything in Java objects using Rhino, and would happily sacrifice performance for the convenience of passing javascript directly through to the DB.
If not, I can always use sleepymongoose or something, but I don't really want to add yet another language (python) to the stack at this point.
Any insights are appreciated.
Is it easy to get the business listings such as when you search in Google Maps?
If there is an API that would be great! In any language, preferable, PHP or javascript
I want to create a C# app which rests in the system tray.
However, I would like this application to overlay certain graphic elements / drawing on top of the screen above all windows at certain times.
So, for example, while my application is running, even though minimized to the tray, it will draw certain shapes on top of the screen regardless of what is there.
Is this possible using C#? If not, is there any other language that would have this capability?
I am interested in what people use as their text editor, and would specifically like to know what is the feature of vim that you like the most?
In answering, please state what you mostly use vim to do, sysadmin tasks, programming, and in what language you mostly program in.
In Java how can I take the data of my file on my display screen?
I want to use data in my file and also want that data to be displayed on my output screen when I execute my program. Can any body please help by providing me such example in Java language. Thank you!
High,
I need to do some image manipulations on CT volume images. Mainly segmentations.
Which open-source library supports 3D algorithms - Filtering, edge detection, deformable objects and so ?
Language is not an issue at the moment.
10x
I know there are many settings for a language for a table and a database.
I already created the database. I believe when I created it, it was default/LATIN. I want to change everything-I mean...both the table and the database, to UTF-8.
How can I do that? thanks.
given an X, what math is needed to find its Y, using this table?
x->y
0->1
1->0
2->6
3->5
4->4
5->3
6->2
language agnostic problem
and no, i dont/cant just store the array, and do the lookup.
yes, the input will always be the finite set of 0 to 6. it wont be scaling later.
I have a problem with "pairing" arrays into one (by index). Here is an example:
INPUT:
inputArray = [ [0, 1, 2, 3, 4], [2, 3, 5, 7, 8], [9, 6, 1] ]
OUTPUT:
outputArray = [
[0,2,9],
[1,3,6],
[2,5,1],
[3,7,chooseRandom()],
[4,8,chooseRandom()]]
Questions:
1) How to avoid out of range problem
2) How to write chooseRandom() to choose N neighbour
I'm using python but feel free to share your thoughts in any language.
It's from the comments under this answer:
http://stackoverflow.com/questions/2487429/how-to-encapsulate-the-helper-functionscommonly-used-apis-in-a-oop-language-lik/2487464#2487464
I'd like to see explanations in layman words.
Thanks