Const compiler/runtime [closed] - programming-languages

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How are treated constants in various languages/compilers? They take up space in RAM in runtime or are replaced with their values ​​at compile time?

A compiler is free to go either way. The typical way to handle this is to use scalars directly while keeping larger objects like arrays in memory.
In addition, if you build an embedded system, they typically go into read-only memory like flash rather than RAM.

Related

Sys:Info perl module to get memory and space information [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Does any one have idea about how to use sysinfo to get info like swap memory , memory used , available memory , load average , total physical memory , total cache memory.
I am new to perl.
thanks in advance.
sysinfo
use Linux::SysInfo qw/sysinfo/;
my $si = sysinfo;
print "$_: $si->{$_}\n" for keys %$si;

Urm, List<T>() in C++/CX? Any kind of List, Collection - even an ObvervableCollection? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am trying to bind (in XAML) to a List in C++/CX and I can't seem to have any Lists. Where'd they all go? Any kind of list will do... Even a Dictionary, or Stack, or ... something! Or has C++ changed that much since I last used it?
There are C++/CX implementations of the Windows collection interfaces in the Platform::Collections namespace, defined in <collection.h>.
See also the article on Collections in C++/CX on MSDN.

Parallel computing in image processing? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Can anybody give me some examples and brief explanation of parallel computing in image processing (that could make use of CUDA kernels on an Nvdia GPU) ? For example with regards to pixels my perception so far is that the image could be split into smaller sections and same process applied to those sections to build the overall objective, but is there more to it than that? Also how would that be achieved in terms of programming?
Check this : http://supercomputingblog.com/cuda/intro-to-image-processing-with-cuda/
The linked page contains direct answers to your questions, and example code for a quick start.

Addresses with 0x at the beginning [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
In some kind of applications that I used to "change" something in the executable files requires a proper addresses with the 0x in the beginning. For example: 0x2FF0C4.
The question is, what are those addresse and how can I get them?
I've searched a lot before creating this question, but the address phrase in the search engines provides large amount of records, because I don't know the way, how can I 'name' it.
I guess it's some kind of memory address ?
Can't beat Rouhani's simple answer but here's a little more information on memory addresses:
"Addresses" on computers are usually assumed to be "memory addresses" that identify locations on RAM. By convention, locations on RAM are denoted by hexadecimal because they are commonly encountered in powers of two i.e. pages; thus, it's arithmetic is easier with hexadecimal.
Edit: I realized that you answered your own question.

Identifying hex value of keystrokes [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I need some guidance on how to write a Perl, VBScript or JavaScript code to display the hex value of a key stroke. I need this mainly for multimedia keys in keyboard like mute, volume up, volume down, etc.
Luckily somebody already wrote it: See
http://www.javascriptkit.com/javatutors/javascriptkey2.shtml

Resources