Hi,
I have a problem to detect when used in GNOME or KDE
operating system that runs the application.
The program I am doing QT4, and I have trouble feeling of look-
in the systray, so I pass it to KDE, but which is not
macro to do so.
PD: I use KDE and C / C.
I search in web and I see this:
http://stackoverflow.com/questions/963611/creat...
Jeffrey Meunier has an implicit Curry macro here, which uses defmacro. I was wondering if someone has ever written this with syntax-rules?
...
Hi team,
I don't profess to be any master of Excel, so when these things arrive I can generally write a best-effort macro to sort out any bulk updates, but this one has me stumped.
When we migrate our reports that connect to an OLEDB source and Cube they are coming across with the following two connection settings:
.RefreshOnFileOpen...
I love the shorthand handling of string literals in Objective C with the @"string" notation. Is there any way to get similar behavior with NSNumbers? I deal with numbers more and it's so tedious having [NSNumber numberWithWhatever:] calls everywhere. Even creating a macro would work, but my knowledge of how best to do that is limited.
...
How can I run a macro in an Excel file I open with Perl?
...
Hi ,
How to select a range of cells as an email body from excel and not the excel as an attachment using Macro vba . I just only need the content to be a body of the outlook mail. Any one help me coding for this one using macro
Thanks in Advance
Shyam
...
Macros or whatever else to zoom text in VS 2008 text editor.
...
Is it possible to write a macro in Clojure that generate more than one value or expression?
For me it looks like it's not possible, at least not by using the syntax quote template `(..).
e.g. from: [1 4] via [1 (mr 2 3) 4] to [1 2 3 4]
or from:
(do
(prn 1)
(prn 4))
via:
(do
(prn 1)
(mr 2 3)
(prn 4))
to:
(do
(prn 1)
...
Hi all, After reading about VA_NARG
I tried to implement function overloading depending on number of arguments in C using macros.
Now the problem is:
void hello1(char *s) { ... }
void hello2(char *s, char *t) { ... }
// PP_NARG(...) macro returns number of arguments :ref to link above
// does not work
#define hello(...) ...
Possible Duplicate:
What does #define STR(a) #a do?
#include <stdio.h>
#define f(a,b) printf("yes")
#define g(a) #a
#define h(a) g(a)
int main()
{
printf("%s\n",h(f(1,2)));
printf("%s\n",g(f(1,2)));
}
Can somebody explain why output is different for both printf() statements.
...
Is there any way of finding the height of the ROWS from 1 to 50, and the width of the COLUMNS from A to Z in an Excel sheet without manually clicking and writing down the answer?
Thanks
Michael.
...
I am maintaining a large codebase and some vcproj files are used in different solutions. Due to some horrendous configuration and dependencies it seems the best way to handle some build issues is to #ifdef the code but in order to do that I need to set a preprocessor definition at the solution file level and not at the vcproj level.
Is...
I'm seeing strange behavior with the MAX macro in Objective C. Specifically, I have this code in my main function:
NSArray* array = [NSArray array];
NSLog(@"[array count] - 1 = %d", [array count] - 1);
NSLog(@"MAX(0, [array count] - 1) = %d", MAX(0, [array count] - 1));
NSLog(@"MAX(0, -1) = %d", MAX(0, -1));
The output is:
[array co...
Hi All,
This is what I want to do using GVIM 7.3:
open a file in new tab (first tab)
get all lines which contain a pattern -> insert them to a register/clipboard
open a new tab (second tab)
paste the code from clipboard
do some regex replace process in the second tab.
I can manually execute commands one by one successfully.
I even c...
I'm working on a VB macro which generates an Excel report out of a Microsoft Project planning.
In order to save the report, I have to open a Save File Dialog by calling
GetSaveAsFilename("name", , , "Title") but I don't want to use the Excel.Application for this because I'm supposed to activate it first which doesn't make sense.
How s...
I'm working on a C# project that has a post-build event command line that looks like this:
for /R "$(ProjectDir)TestData\GoldFiles" %%f in ("*.csv") DO
@xcopy "%%f" "R:\Root\$(TargetName)\1.0\TestData\GoldFiles\" /Y
This is my first exposure to Visual Studio Macros. I can understand this well enough to know what it's doing. Now...
Does anyone know how to dynamically get all the variables values passed into a function for the sake of logging ?
I'm looking for a simple way (like using a compiler macro) to be able to log the function, and the variable values passed into it (which will then be written to a log file so we can easily find inputs that cause functions to...
I just read little bit about macro and was trying to create the one in .net
I was able to do very small operations since I dont know much about vb.net and regular expressions.
I want to create a properties and variable declaration for the below code.
What will be the regular expression to parse this string. So that I can get all the com...
Hi Pal's,
Here i need to compare and Validate HTML tags using macros in word or excel and the same time insert the appropriate attributes in the tag.
...
Hi,
I am very new to coding in outlook macro and I am badly stuck with this problem. I have a string variable and i have a email template.The thing is, i want to add this string variable to this email template but i need to add in the middle for example, after "APPLICATION:", i wanna add the string in the email. Could you pls help. I am...