When you first started to write program, what was the first programming language you learned?
Please don't post repeats. If someone already posted it, just vote for it.
I need to use C# to get data from database(sql) and the data in database is updated every few seconds. So do I have to make a loop or there is a better way to do that? Is it possible that when database is updating, the program can wait until it finishes updating? thx!
I write a program helloworld.exe ,it depends on a.dll,I don't have the source code of the a.dll.a.dll is a dynamic dll ,how can i change it to static library?so I can link it to the helloworld.exe.
I am writing a program in Python, and want to get it to make the OS open the current working directory, making for instance Windows open explorer.exe and navigating to the wanted directory. Any ideas on how to do this?
The directory is already given by os.getcwd.
Cross platform methods preferred :)
I've been wondering if using long descriptive variable names in WinForms C# matters for performance? I'm asking this question since in AutoIt v3 (interpreted language) it was brought up that having variables with short names like aa instead of veryLongVariableName is much much faster (when program is bigger then 5 liner). I'm wondering if it's the same in C#?
I am getting an asp.net site developed and need a program which will generate barcode's.
So far all I have found is http://www.barcodelib.com/purchase/main.html#pricebarcodenetweb
Does anyone know of an open source alternative? or a cheaper alternative.
I expect any good program should do all their reads and writes in a loop until all data written/read without relying that write will write everything (even with regular files). Am I right?
Implemented simple FUSE filesystem which only allows reading and writing with small buffers, very often returning that it is written less bytes that in a buffer (using -o direct_io). Some programs work, some not. Are them buggy or programs should not expect truncated writes and reads from the regular files?
On Windows, it's possible to program an LSP service on top of Winsock which provides the ability to do a lot of manipulation/etc. with networked applications. For instance, some anti virus applications register an LSP and analyse network traffic that way. Is there a friendly way to accomplish the same sort of thing on OSX?
I just want to set a crontab using that I want to make a program run at every 15 minutes
from 18:00 to 09:00
I have given this statement and waited but I don't think it is working
*/15 18-9 * * 1-6 Program_name
Any suggestion would be greatly appreciated
I am making a servlet program. It is working fine, but now I am trying to make a method other than doGet or doPost that get called from JSP. Is it possible?
Hi,
I am writing my own shell program. I am currently implementing the cd command using chdir.
I want to implement the cd with the below options :
-P Do not follow symbolic links
-L Follow symbolic links (default)
My query is that , when a given path is entered on the shell how to figure out if the path is a symbolic link or an absolute path progamatically?
Thanks
Hi, I'm writing a program to solve a geometry problem.
My algorithm doesn't treat collinear point very well.
Is there any transformation I can apply to the points to get rid of the collinearity?
Besides Arduino, what other ways are there to learn hardware programming in a hands-on way? Are there any nifty kits available, either a pre-assembled robot, that you can program to move a certain way, or do certain things, or anything similar to that?
Hi,
I wrote an ajax program.when i am getting response, at that time i will display
that content in my web page using html tags.
So how can I use html tags in javascript?
When I run my C++ program it crashes with this error.
* glibc detected ./load: double free or corruption (!prev):
0x0000000000c6ed50 **
I'm trying to track it down using cout statement but am finding it difficult. Could gdb make this easier? How is it done?
I just got a bug report from someone running an app I wrote under Windows XP. He says it won't start up.
The application failed to initialize
properly (0xc0150002). Click on OK to
terminate the application.
It works fine at my end, (under Windows 7,) and I don't have any Win7- or Vista-specific stuff in the program, so it should work on XP too. How do I go about tracking this down and debugging it?
I have written a java application which is a RMI server. I need to start rmiregistry to run this application and i also want my apllication to start automatically when the system starts.
I have converted my application into a windows servise. When i try to start my service it shows this error
Error 1067: The process terminated unexpectedly
Is it because my program throws an exception when my application is started before the rmiregistry is started.
I have a Windows C# program that uses a C++ dll for data i/o. My goal is to deploy the application as a single EXE.
What are the steps to create such an executable?
hi,
since eregi replace was deprecated on version 5.3 i want to make my program compatible with new version of php
http://php.net/manual/en/function.eregi-replace.php
so, i'm trying to use preg_replace like this
preg_replace(",",'','20,000.00');
but come with error
i'm familiar with eregi_replace(',','','20,000.00'); i'm not familiar with regex expression. what is the best replacement for eregi_replace?
Hi all. I'm trying to make a program that can load an unknown set of plugins from a sub-folder, "Plugins". All of these plugins implement the same interface. What I need to know is how do I find all of the classes in this folder so that I can instantiate and use them?
i am trying to compile a c-based forms api program on Linux x86_64
using command
gcc -m32 -I"$ORACLE_HOME/forms/api" -L"$ORACLE_HOME/forms/lib" -L"$ORACLE_HOME/lib" -ld2f fapi.c
it fails with a bunch of undefined references.
$ORACLE_HOME/lib/libd2f.so: undefined reference to `sifom'
$ORACLE_HOME/lib/libd2f.so: undefined reference to `idfrsti'
$ORACLE_HOME/lib/libd2f.so: undefined reference to `simmal'
etc...
does anyone know the list of all the library files i need to add?
i am trying to make java application that can get the information from other active window program ...such as information bar or even screenshot of other active window
is JNI the only option in this case?
thanks
I have a folder with .txt files in it. How can i make my menuitem get those .txt files and put the filenames in the menuitem, so that it creates a list of all .txt files in that folder.
So when i put a .txt in the folder the program automatically creates the menu item.
Does someone knows how to do this, or perhaps an example?
I was trying to get SDL to work on my mac but kept running into mysterious errors. After some googling, I realized that my issue was that SDL compiled in 32 bits, or was 32 bits, or something, and XCode was compiling my program in 64 bits. There were some solutions, as well, but all were very technical or required arcane knowledge which my novice brain did not comprehend. So, how can I either get a version of SDL that will work with a 64 bit compiler, or tell XCode to compile in 32 bits?
Is there a CLI command or program that will list available wireless access points? I'm running Ubuntu 9.04 on a laptop and sometimes I boot straight into the CLI instead of a GUI. I know iwconfig can configure a connection but will not list available AP's.