Hi,
I have a list of binaries written in java, ada,C, python and I want to execute them.
How to do that ?
Is there any JVM binding to those languages ?
Thanks for your answers
Many of today's programminglanguages are based on C; like C++, C#, Java, Objective-C. So could I call a C method from C++ code? Or call C from Java or C#? Or is this goal out of reach and unreasonable? Please include a quick code sample for my and everyone else's understanding.
I created an application ( Creating up to 1,00,000 files in a folder ) with 2 different languages ( C#.Net & JAva ) with file concepts and its best methods.
The Application that I created with .NET takes just 3 seconds to create all the files. At the same time, with Java, it takes 15 seconds.
Why is it so ?
Seeking a method to:
Take whitespace separated tokens in a String; return a suggested Word
ie:
Google Search can take "fonetic wrd nterpreterr",
and atop of the result page it shows "Did you mean: phonetic word interpreter"
A solution in any of the C* languages or Java would be preferred.
Are there any existing Open Libraries which perform such functionality?
Or is there a way to Utilise a Google API to request a suggested word?
Hi!
I'm a web developper/objective-c developper and I'd like to learn quickly to make some apps for windows.
I say quick because I'm used to learning many languages and I don't need any overview on concepts, patterns, etc.
Any answers will be very appreciated :)
Thanks!
In scripting languages like Perl, it is possible to read a file into a variable in one shot.
open(FILEHANDLE,$file);
$content=<FILEHANDLE>;
What would be the most efficient way to do this in C++?
Most of the languages like C++ when writing into a file, put an EOF character even if we miss to write statements like :
filestream.close
However is there any way, we can put the EOF character according to our requirement, in C++, for an instance.
Or any other method we may use apart from using the functions provided in C++.
If you need to ask more of information then kindly do give a comment.
Thanks in advance.
When you're opening page in IE it downloads lots of files, including CSS, scripts, pictures, SWFs, etc. I need to develop small plugin which will monitor all these URLs and let's say save to file this list.
I need it in Delphi, but any example in any other programminglanguages will be really appreciated.
I know this is common in most languages, and maybe in C, as well. Can C handle separating several functions out to a separate file and having them be included?
The functions will rely on other include files, as well. I want the code to retain all functionality, but the code will be reused in several C scripts, and if I change it once I do not wish to have to go through every script and change it there, too.
I am interested in understanding object-oriented programming in a more academic and abstract way than I currently do, and want to know if there are any object-oriented concepts Java and C++ fail to implement.
I realise neither of the languages are "pure" OO, but I am interested in what (if anything) they lack, not what they have extra.
I know this is possible in other programminglanguages. Suppose we have the following arrangement:
- (void) myMethod:(NSString*)variables, ... {
// Handle business here.
}
- (void) anotherMethod:(NSString*)variables, ... {
// We want to pass these variable arguments for handling
[self myMethod:variables, ...]; // Do not pass GO
}
// Start the party:
[self anotherMethod:@"arg1", @"arg2", @"arg3", @"arg4", nil];
What's the trick to get this working in ObjC?
hello !
languages table(languagename,languagecode(pk),part);
parts table(subjectype,part(pk));
I want to access only perticular subject type into drop downs...
How can i do this.
In other languages you have a number of possibilities usually for memory reclamation:
Mark objects and then remove them
Explicit retain and release
Count references to objects
Internal heap disposition
How does Ruby work?
Which naming convention for conversions is standard across most languages?
convert_from_typea_to_typeb($arg)
or
convert_to_typeb_from_typea($arg)
Or is there another standard?
I keep reading about defficiencies and issues with languages. Specifically, I'm learning PHP and Javascript, but I see it everywhere. This question arose while reading Javascript: The Good Parts and PHP Objects, Patterns and Practice. While understanding and avoiding easy pitfalls, is there a way I can learn the fundamentals of OOP and discover solid programming practices without overlooking important areas (or simply becoming jaded)?
I'm sure I'll have plenty of opportunity to learn from mistakes!
Hi,
Since you 'should' learn C/C++ and as part of 'learn as much languages as possible', i decided to learn C++ in depth.
My OS is Windows and my question is should i re-install Linux as a dual boot to learn C++ on Linux?
Do i miss something if I develop in C++ only on the Windows platform?
(possible duplicate: http://stackoverflow.com/questions/1128050/best-operating-system-for-c-development-and-learning)
I have recently seen alot of activity saying that "if" statements should be banned. However in some of the alternatives people are just doing an "if" statement but discussed as a "case" statement, or as an overloaded function in pattern matching languages. Is it really such a clean solution to replace a well understood concept with a more obscure one?
Hello,
i found this autocompletion for Emacs: http://www.emacswiki.org/emacs/AutoComplete, but I can't find what languages it supports.
I want to use it particular for C++-autocompletion. Has anybody experience with this?
If php and ruby are languages, and cake and rails are frameworks, how do CMS like drupal and joomla fit into the scheme... can you use them in any language and any framework?
Greetings,
I am running PSPad (a Windows programming editor) on OSX/Snow Leopard using Wine 1.1.35
I want to associate various file extensions (.php, .js, .html) with PSPad.exe
OSX Finder does not allow this association -- I can only associate file types with $.app items in Applications.
How do I get OSX to pass a file to Wine/PSPad when I double click it in Finder?
i have an old scanner mirascan 640p that uses SCSI connectivity ,
it works only with windows 9x but doesn't work with xp and above ,
i found that xp not supporting SCSI by default
so a tried "Advanced SCSI Programming Interface" (ASPI)
http://www.adaptec.com/en-US/downloads/
but it doesn't work also
any ideas please ???
Can someone please help as i've spent all day trying to fix this. I installed the latest XAMPP and now i can't connect to mysql from terminal.I checked my .profile file and the PATH seems ok. Does anyone know whats happened and what's the solution?
PATH=$PATH:/Applications/XAMPP/xamppfiles/bin export PATH
THIS IS A PROGRAMMING QUESTION AS I'M A PHP DEVELOPER TRYING TO DO MY JOB!
Thankyou soo much in advance;-)
Hello all, though I'm familiar with stackoverflow , and loving it , i've actually got a couple of questions myself about something other then programming.
Here are my question
Is it true that in FAT filesystems the maximum number of files per filesystem equals the number of entries in the FAT table. And is it also true that in indexed filesystems the maximum number of files per filesystem equals the number of indexblocks – 1.
I'm reading some stuff and am trying to get a good understanding of it.
In programming, there is often a canonical book for a particular topic, like the dragon book for compilers, K&R for C, etc.
Is their a book regarding modern database design that simply must be read by anyone that would hope to eventually design databases?
I'm not looking for a bunch of recommendations here. The answer I'm looking for is either "Yes, it's [Title, author]." or "No, there are many good books on databases, but no one must-read."