Top new questions this week:
|
Please explain what, exactly, happens when the following sections of code are executed:
int a='\15';
System.out.println(a);
this prints out 13;
int a='\25';
System.out.println(a);
this prints …
|
#include<stdio.h>
#include<string.h>
int main()
{
char * p = "abc";
char * p1 = "abc";
printf("%d %d", p, p1);
}
When I print the values of the two pointers, it is printing the …
|
C++14 presents std::dynarray:
std::dynarray is a sequence container that encapsulates arrays with a
size that is fixed at construction and does not change throughout the
lifetime of the …
|
Why do I have to write std::cout and not also std::<< in a line of code like this:
#include <iostream>
int main() {
std::cout << "Hello, world!";
return 0;
}
cout comes …
|
Within the Bootstrap CSS project, styles are provided for your heading tags (H1, H2, H3, H4, H5, H6), but there's also a series of class names based on the headings as well (.h1, .h2, .h3, .h4, .h5, …
|
A discussion came up at work recently about Sets, which in Scala support the zip method and how this can lead to bugs, e.g.
scala> val words = Set("one", "two", "three")
scala> words zip (words …
|
Does the C++ standard guarantee that two pointers to a function always compare equal? I understand that this will normally be true for non-inline functions. But if there is an inline function and a …
|
Greatest hits from previous weeks:
|
I get this error when I do an svn update:
Working copy XXXXXXXX locked Please
execute "Cleanup" command
When I run cleanup, I get
Cleanup failed to process the
following paths: XXXXXXXX
…
|
How do I get the website URL?
Not the URL as taken from a link. On the loading page, I want to get the full, current URL of the current web page and store its value in a variable.
|
Can you answer these?
|
I am looking into ways of documenting my code in a JavaDocs kinda way.
Any ideas?
I use UFT 11.52
So far I have seen NaturalDocs + Perl.
Any other ideas?
Thanks in advance.
|
Well let me describe what I've done:
Downloaded https://github.com/mono/dbus-sharp
Added another project in xamarin studio (monodevelop) and named it "DBus-Sharp"
Added the reference to my …
|
I'm trying to write a simple application for the iPhone using Xamarin. Designing via the Interface Builder is only allowed in Xamarin Studio on the Mac. Is there a way to create the rest of the …
|