Is there a way in C# to replicate a '#ifndef _DEBUG' from C/C++?
I'd like to conditionally exclude/include code based on whether I'm building in debug mode. Can I use something as simple as a #ifndef _DEBUG as I would in C++? ...
I'd like to conditionally exclude/include code based on whether I'm building in debug mode. Can I use something as simple as a #ifndef _DEBUG as I would in C++? ...
Background: 19th-century German archeologist Heinrich Schliemann was of course famous for his successful quest to find and excavate the city of Troy (an actual archeological site for the Troy of Homer's Iliad). However, he is just as famous for being an astonishing learner of languages - within the space of two years, he taught himself...
I am an experienced Perl developer with some degree of experience and/or familiarity with other languages (working experience with C/C++, school experience with Java and Scheme, and passing familiarity with many others). I might need to get some web work done in Python (most immediately, related to Google App Engine). As such, I'd like ...
Possible Duplicate: What are the best C# .NET books? Hello, I m sorry this obviously is not a programming questions, hope it s fine. Can you please recommend a book on C# ? I have been programming with C# for a year. I have Java and OOP experience. Looking to learn more about C# . Thanks. ...
Some time ago I've started with PowerShell that is really great. I can code almost everyting I know, I can use .NET framework, WMI, even WIN API. Features like piping help me a lot to write manageable and readable code. V2 added advanced functions, modules, background jobs, remoting (woow) etc. As I said, I can do almost everything with...
I'd like to know the difference between object and instance of class. I feel both are same, but why do we call with two names. Can anybody explain with real life example? ...
In either java or c I can write a function like fun(){ fun(); } (ignoring syntax details) In java I get OutOfMemory exception but in C (and maybe some other languages) it seems to run forever, as if it were an infinite loop. Why don't I get OutOfMemory error here as well? ...
Hi! I have to track if given a week full of data integers ( 40, 30, 25, 55, 5, 40, etc ) raise an alert when the deviation from the norm happens (the '5' in the above case). An extra nice thing to have would be to actually learn if 5 is a normal event for that day of the week. Do you know an implementation in ruby that is meant for th...
Thanks for your help !!! ...
The question is how to succeed to escape from the job you are very good at. I worked 12 years with the same language for 2 different companies. The easiest for me is to search another company which is using that same language - again. But, what if you want to work in another environment? Even just another language ? I find it very dif...
It seems that Cocoa seems to be the main platform for Objective-C. GCC (which Xcode uses) supports Objective-C so it must be available on a wide range of platforms. Are there any notable cross-platform projects that use Objective-C but not Cocoa (or its open source cousin GNUStep)? Is it really used outside the Apple ecosystem? ...
Is there a standard way of dealing with the interaction between separate compilation and different kinds of closure conversion when compiling higher-order function calls? I know of three function-like constructs that are distinctly compiled in most programming languages: closures, (top-level) functions, and C++-style function objects. S...
I am a beginner to programming when i start to code i just start writing and solve the problem . i write whole program in a single main fuction. i dont know when to make class , and functions what are good books which i read to learn these concepts ...
I'm interested in creating a visual programming language which can aid non-programmers(like children) to write simple programs, much like Labview or Simulink allows engineers to connect functional blocks together without the knowledge of how they are internally built. Is this called programming by demonstration? What are example applicat...
In set theory, a set is a superset if it contains everything in the original set and possibly more. A subset however is does not contain everything of the initial set. With that in mind, in most object-oriented programming languages (I'm thinking Objective-C but I know the same is true for Java and others), the parent class is called th...
If established name doesn't exist, what name you can suggest? ...
Hi, let's say that you in your new programming work your boss comes and says "hey, there is this new language X and I want you do get Y done with it", which is kind of an opened problem, in the sense that there could be 10000 different ways to achieve it. So let's suppose that you do not know the languaage X and your boss says "I need i...
what is the most advanced c or c++ book you ever read? i am asking this because i already read lots and lots of books on c and c++ on a lot of topics including (object oriented programming-data structures and algorithms-network programming-parallel programming (MPI-PThreads-OpenMP-Cilk-Cuda)-boost library....). So whats next. I still wan...
I have quite a lot of C++ legacy code modules from my colleagues, each doing different jobs. Unfortunately they are poorly written and yes, all GNU C++ code running under Linux. I want to write a controller program to make singular C++ module a workflow for a very urgent demo. Also I need to write a front-end web-app allowing clients s...
Hello all , Just out of interest , we know there's a lot of programming involved in the making of a satellite . Which languages are they written in ? ...