No C++ love when it comes to the "hidden features of" line of questions? Figured I would throw it out there. What are some of the hidden features of C++?
I need to be able to make a program that looks through a mailbox of bounced messages, where the messages come back with the initial message in a .msg attachment, and open the .msg attachment for processing in ASP.NET 2.0. Is there any sort of code that might help in this? I've been looking at http://stackoverflow.com/questions/44383/reading-email-using-pop3-in-c as a starting point, but can't figure out how best to open the attachment from there, or if there's some easier way I'm missing.
Many tutorials focus mainly (or exclusively) on 'how to do XYZ'. There are questions persuading pear SO user share good resources in that category.
I invite you to share good founds that explain 'whys' brilliantly. You know, that very article, white paper, podcast, executive summary, ... that led you to a Aha! moment and you finally saw the woods not just the trees.
I am working on a secure web site, that will allow the user to register their computer, to avoid answering the primary security questions.
Is this just placing a cookie on their machine, and checking to see if the cookie exists?
Or do I need to retrieve the client machines ID data?
Hi,
many questions are close, but none answers my problem...
How do I use reflection in C# 3.5 to get all classes which are static from an assembly. I already get all Types defined, but there is no IsStatic property. Counting 0 constructors is really slow and did not work either.
Any tips or a line of code? :-)
Chris
Are there any features you would like to see added to C++?
Maybe...
A programming construct
An extra operator
A built-in function you think would be useful
I realize questions like this are frowned upon, but I think this one is a genuine programming question that can be answered and the answers will spawn valuable discussion. (And it's community wiki.)
Here is one of mine:
How come C++ has no exponent operator, like Python's **?
Hi all,
Im writing an application that needs to get notified when a control in another application is clicked\invoked. How can i catch the click from my application?
Here are some more related questions :
Is UIAutomation can be a solution? is it working on unmanaged applications also?
Is the Spy++ solution works also on managed applications?
i'll be happy with any help.
I'm installing an extension to an application and it needs to be copied into the same directory. I want the setup script to look to see if the app is installed by checking for it's register key and getting its installed directory and set the install path that is shown to this path.
My questions are:
Can I check a registry key with the installer before they user gets to the directory selection screen?
If I can how to I change the text in that box?
Hi folks. I was kindly helped by fudgey earlier. Unfortunately the solution doesn't work in IE. Here is the original post:
http://stackoverflow.com/questions/2768141/expand-div-with-focus-jquery
and here is his demo (also doesn't work in IE):
http://pastebin.me/6561cd9a033a5f16940ae12f813e938c
Any idea on how to make this work there?
Thanks!
Hi there,
I am writing some learning tests (i.e. what's the answer for...; choose correct options...). Now my question is, how should I store them. SQL db seems quite an overkill, but I really don't know what would be the best choice if I wanted to select random subset of questions etc. Perhaps some simple xml files?
Thanks for advice.
Hi again...
Guys I'd asked 2 questions before and I'd said that I want to split a string like below:
Input string:
a=aa|b=b||b|c=cc
and the output:
a=aa
b=b||b
c=cc
some guys answer my question but they use .Match():
var matches = "a=aa|b=b||b|c=cc".match(/(?:[^|]|\|\|)+/g)
but I need to use the .split() method and store the outputs in an array.
please help me guys... It's so critical...
Thanks...
This question is related to http://stackoverflow.com/questions/54989/change-windows-hostname-from-command-line, but I'm in a different situation. The netdom tool will not work on a computer not joined to a domain. I've tried setting the hostname from the registry, but I was wondering if there was another way from the command-line.
I Was reading random questions and answers here on SO and came across this question:
C#, IAsyncResult and the thread pool
The question is asked is X method using the thread pool or using normal threads.
What's the difference between using the thread pool and a normal thread?
I've seen references to using the AccountManager like http://stackoverflow.com/questions/2245545/accessing-google-account-id-username-via-android but it seems like it's for grabbing the authtoken?
I just need access to the username, no passwords or any auth tokens.
I'm using android 2.1 sdk.
Forgive me if this is a stupid question, but what makes actors so lightweight?
To be honest, I'm not even sure how they work. Aren't they separate threads?
'Seems I have two questions. Thanks in advance :)
I am trying to find the total number of lines added and total number of lines removed by a user in a git repository. I looked at http://stackoverflow.com/questions/1265040/how-to-count-total-lines-changed-by-a-specific-author-in-a-git-repository, which had the command git log --author="<authorname>" --pretty=tformat: --numstat, but the answer failed to give a script(however simple) to total the lines changed. What's the simplest way to sum up the lines added/removed?
I want to continuously ping a server and see a message box when ever it responds i.e. server is currently down. I want to do it through batch file.
I can show a message box as said here http://stackoverflow.com/questions/774175/how-can-i-open-a-message-box-in-a-windows-batch-file/774253#774253
and can ping continuously by
ping <servername> -t
But how do I check if it responded or not?
Refereing to my previous question,
http://stackoverflow.com/questions/2682364/how-to-stich-to-image-objects-in-java
I successfully stiched two java.awt.Image objects, now I need to stich multiple objects of the same type. Is there any API or library available for that
I have been writing my first jQuery plugin and struggling to find a means to time how long different pieces of code take to run.
I can use firebug and console.time/profile. However, it seems that because my code executes so fast I get no results with profile and with time it spits out 0ms. (http://stackoverflow.com/questions/2690697/firebug-profiling-issue-no-activity-to-profile/2690846#2690846)
Is there a way to get the time at a greater level of detail that milliseconds in javascript?
Hi!
Which programming language to use for serious web project (price catalogue)?
After some time of studying web PHP frameworks i got that:
Codeigniter: good, but when i read about authorization (that 20% users can login correctly without party solutions), i am disappointed.
Zend Framework: more serious, but raises questions about speed and i found only few examples.
PHP: long time to understand PHP frameworks functionality
Does a destructor get called if the app crashes? If it's an unhandled exception I'm guessing it does, but what about more serious errors, or something like a user killing the application process?
And a few more potentially dumb questions:
what happens to all the objects in an app when the app exits and all finalizers have been executed - do the objects get garbage collected or are they somehow all "unloaded" with the process or appdomain?
is the garbage collector part of each application (runs in the same process) or is it independent?
I used to be a member of +Ma's Reversing, and later became a member of Caesum's Electrica. Recently I've played Bright Shadows. Are there other good sites for a challenge?
Question reopened; not a duplicate. Similar, yes, but slightly different.
Related: http://stackoverflow.com/questions/24692/where-can-you-find-funeducational-programming-challenges
In PDC sessions i see only Framework 4.0, Azure and WPF.
My all applications is in windows forms and asp.net (codebehind) and framework 2.0 or 3.5. I see i'am obsolete, ok. But my questions is Windows Forms is dead, i need start migrate to WPF or Silverlight? or my Windows forms with Devexpress can leave more than 3 years?
hi,
I want to fade in / fade out some text placing it randomly on the screen in a flex module.
I have 2 questions:
1) What Flex container should I use to display the actionscript text animations into it ?
2) What type should I use for text ? I need to set the textFormat on it. Is UITextField the correct solution ?
thanks