Skip to main content
Filter by
Sorted by
Tagged with
1685 votes
7 answers
167k views

Why does this bit of code, const float x[16] = { 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6}; const float z[...
GlassFish's user avatar
  • 15.1k
622 votes
15 answers
175k views

Compiling a C++ file takes a very long time when compared to C# and Java. It takes significantly longer to compile a C++ file than it would to run a normal size Python script. I'm currently using VC++ ...
Dan Goldstein's user avatar
490 votes
8 answers
338k views

I used to use perl -c <filename> to check the syntax of a Perl program and then exit without executing it. Is there an equivalent way to do this for a Python script?
Eugene Yarmash's user avatar
357 votes
5 answers
155k views

The Less compilers that I'm using (OrangeBits and dotless 1.3.0.5) are aggressively translating body { width: calc(100% - 250px - 1.5em); } into body { width: calc(-151.5%); } Which is obviously not ...
Nick Babcock's user avatar
  • 6,156
331 votes
35 answers
209k views

I currently have an app displaying the build number in its title window. That's well and good except it means nothing to most of the users, who want to know if they have the latest build - they tend ...
Mark Mayo's user avatar
  • 12.7k
255 votes
6 answers
395k views

I encountered an odd situation where appending OPTION (RECOMPILE) to my query causes it to run in half a second, while omitting it causes the query to take well over five minutes. This is the case ...
Chad Decker's user avatar
  • 6,287
244 votes
4 answers
115k views

It is unclear to me how the compiler will automatically know to compile for 64-bit when it needs to. How does it know when it can confidently target 32-bit? I am mainly curious about how the compiler ...
Aaron's user avatar
  • 10.9k
235 votes
9 answers
269k views

In the past I have used C++ as a programming language. I know that the code written in C++ goes through a compilation process until it becomes object code "machine code". I would like to know how ...
user avatar
230 votes
3 answers
18k views

Question 1: Why does the following code compile without having a return statement? public int a() { while(true); } Notice: If I add return after the while then I get an Unreachable Code Error. ...
Willi Mentzel's user avatar
224 votes
22 answers
54k views

I'm using Xcode 6 Beta 6. This is something that's been bugging me for some time now, but it's reaching a point where it's barely usable now. My project is starting to have a decent size of 65 Swift ...
apouche's user avatar
  • 9,983
221 votes
20 answers
406k views

How do you compile and execute a .cs file from a command-prompt window?
Saj's user avatar
  • 18.8k
213 votes
5 answers
77k views

Make seems to me simply a shell script with slightly easier handling of command line arguments. Why is it standard to run make instead of ./make.sh
HoboBen's user avatar
  • 3,140
207 votes
15 answers
502k views

To get stuck in straight away, a very basic example: using System; using System.Windows.Forms; class test { static void Main() { Console.WriteLine("test"); MessageBox.Show("...
Wil's user avatar
  • 10.7k
202 votes
3 answers
207k views

I want to create a single executable from my Python project. A user should be able to download and run it without needing Python installed. If I were just distributing a package, I could use pip, ...
ShadowFlame's user avatar
  • 3,294
186 votes
11 answers
18k views

I am researching CoffeeScript on the website http://coffeescript.org/, and it has the text The CoffeeScript compiler is itself written in CoffeeScript How can a compiler compile itself, or what does ...
AlexanderRD's user avatar
  • 2,089
179 votes
8 answers
149k views

I was referring this documentation and came across the compilation concept. One can use either JIT or AOT compilation. However, I found it very brief and need to know following points in details, ...
Gaurang Patel's user avatar
175 votes
8 answers
140k views

Thinking that the answer to this is pretty obvious but here it goes: When I am working on a small project for school (in java) I compile it. On my coop we are using ant to build our project. I ...
sixtyfootersdude's user avatar
170 votes
8 answers
132k views

What's going on here? if(int a = Func1()) { // Works. } if((int a = Func1())) { // Fails to compile. } if((int a = Func1()) && (int b = Func2())) ) { // Do stuff with a and b....
Neutrino's user avatar
  • 9,955
167 votes
5 answers
179k views

I downloaded and extracted Crypto++ in C:\cryptopp. I used Visual Studio Express 2012 to build all the projects inside (as instructed in readme), and everything was built successfully. Then I made a ...
user avatar
159 votes
15 answers
128k views

Despite specifying JDK 1.7 in all project settings (including in File -> Project Structure -> Project :: Project SDK), the following error is produced by IntelliJ 13 when trying to compile some ...
PNS's user avatar
  • 20k
151 votes
13 answers
31k views

I know this is not so much a programming question but it is relevant. I work on a fairly large cross platform project. On Windows I use VC++ 2008. On Linux I use gcc. There are around 40k files in ...
user avatar
141 votes
12 answers
258k views

I'm trying to convert a pet project to TypeScript and don't seem to be able to use the tsc utility to watch and compile my files. The help says I should use the -w switch, but it looks like it can't ...
VoY's user avatar
  • 5,719
133 votes
5 answers
160k views

The Situation Nested within our Angular app is a directive called Page, backed by a controller, which contains a div with an ng-bind-html-unsafe attribute. This is assigned to a $scope var called '...
giraffe_sense's user avatar
133 votes
7 answers
369k views

Possible Duplicate: How do I create an .exe for a Java program? I've just made a simple program with Eclipse and I want to compile it into an executable, but simply can't seem to find out how to ...
Meir's user avatar
  • 12.8k
130 votes
6 answers
71k views

I always use the terms compile and build interchangeably. What exactly do these terms stand for?
Lazer's user avatar
  • 95.9k

1
2 3 4 5
350