Hi,
The questions shown below is an interview question
Q)You are given have a datatype, say X in C.
The requirement is to get the size of the datatype, without declaring a
variable or a pointer variable of that type,
And, of course without using sizeof operator !
I am not sure if this question was asked before in SO.
Thanks and regards
Maddy
Hi,
I ask a question and receive answer. Should I thanks to mailing list (Reply-All) or just private to answer-sender?
Question: Hi. Where is problem? Thanks
Answer: Line 32. Regards.
Hi,
How can i Update /Get values in windows form while moving one form to other form(like cookies)?
i need to update the values to some variable and again i am going to refer stored values and need to do some calculations.
i have used Cookies in ASP.Net but i am not able to find out same concept in C#.net Windows forms .
can any one help me for resolve this issues?
Regards,
Jeyavel N
Hi,
i have to detect the position of the systemTray with java. I already placed an icon in the tray but don't know if its possible to get the position of that icon?
Best regards
Hemeroc
Hi,
I am integrating Paypal into my application for in-app purchase.
I am using Paypal Mobile Checkout for this purpose.
I will like to know whether Android Market will approve this kind of application which uses a payment gateway other than Google Checkout.
Can anyone let me know where I can find information related to this?
Thanks & Regards
Sunil
hi folks, i'm using ip*works for download newsgroup message and insert them into a database... ipworks is "comfortable" to use because it automatically split nntp data return into different object (or variable). So i've "author" "date" "topic" "messagge" already splitted to my use.
However ipworks isn't free and it cost a lot for my use.. so i'm asking you some component or code snippet to use to download and "manage" nntp messagges.
Thanks in advance and regards!
Hi..
I have get error with the following code and i can't figure it out.
char name[]="tolgahan"
char result[100]="";
strncat(result,name[1],1);
I guess, i need to convert name[1] to string format but i don't now how can i do that.
Please help me.
Best regards.
Hi all,
Is there a folder in the Domain Directory of Weblogic, where files put inside can be accessed directly from web browser? In other word, I don't have to pack the file in an ear, war file and deploy it to make it accessible?
Thank you very much
Regards
K.
Hello everyone,
I'm interested in building a JBoss service. Because I'm reusing some existing code, the service must be able to talk SSL/TLS and Protocol Buffers.
The documentation I see on the JBoss wiki makes it look like services have their transport and data interpretation handled by JBoss itself. Is it really the case?
How could I implement this requirement?
Regards,
M-A
Hi I've applied an ie fix for my site but it doesn't work for ie8. Do I have to be more specific?
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/AEBP_Homepage_12887/css/ie.css" />
<![endif]-->
Thanks for your help
Regards
Judi
Hi,
I have a servlet that construct response to a media file request by reading the file from server:
File uploadFile = new File("C:\TEMP\movie.mov");
FileInputStream in = new FileInputStream(uploadFile);
Then write that stream to the response stream.
My question is how do I play the media file in the webpage using or tag to read the media stream from the response.
Thank you very much.
Regards
K.
Hi,
I have created a really basic project (Make) like this:
(ede-proj-project "zrm"
:name "zrm"
:file "Project.ede"
:targets (list
(ede-proj-target-makefile-program "zm"
:name "zrm"
:path ""
:source '("zrm.c")
)
)
)
When doing M-x ede-proj-regenerate RET and M-x compile RET RET (accepting make -k as my compile command), make keeps bailing with a **missing separator error.
When editing my Makefile outside of Emacs (with the darn evil vi) and replacing spaces by tabs, it works.
Is there anything special I should pay attention in order to have this work ?
Regards
hi,
i'm sending a mail with attachment(1.pdf) but in mail it doesnt shows 1.pdf instead it shows some random file named "ATT008220.dat".
i'm using Rails 3.0
following is the code i'm using:
@file = File.read('c:/1.pdf')
@file.force_encoding('BINARY')
attachment "application/octet-stream" do |a|
a.body = @file
end
anybody knows why its happening? any idea?
Thanks & Regards,
Harsh Raval.
Now , I execute the command line "rake db:migrate" on the window OS, but I got the problem in the console. it print couldn't find HOME environment -- expanding~/.ruby-uuid'`
who can help me to solve this ? Thank you and best regards!
Hi,
I'm having trouble sending mail using PHP mail() on IIS 7 using Windows 2008 Server.
The server is dedicated, thus I have full control over my machine.
php.ini looks fine - ([mail function] is configured)
I don't get any error from mail() (with the right parameters of course)
btw - I got ASP and ASP.NET sending mails without any problems.
Would be very gratefully for help
Regards,
Roman
Hello all
I have installed the LogoTool module, but I only want it enabled in the custom theme used for the front end site, not for the Garland theme used in the administrative back end. How do I do that?
Best regards, Egil.
Hi folks,
I have a little program allowing users to type-in some regular expressions. afterwards i like to check if this input is a valid regex or not.
I'm wondering if there is a build-in method in Java, but could not find such jet.
Can you give me some advice?
Best regards
Phil
One of my friend been asked with a question, Retrieving the max top 100 numbers from one hundred million of numbers, in a recent job interview. Do you have any idea to come up with an efficient way to solve it?
regards!
Hi All,
I am working writing a regular expression used to validate string in C. Here is to what I have gone so far
'^"[A-Za-z0-9]*[\t\n]*"$'
for rules
- A string should begin with double quotes
- May not contain a newline character
However, I am not able to capture the rule for allowing '\' or '"' in a string if preceded with '\'. Here is what I tried:
'^"[A-Za-z0-9]*[\t\n]*[\\\|\\"]?"$'
But this doesn't seem to work. What might be wrong with the regular expression here?
Regards,
darkie15
Hi,
Does anyone know a great jquery horizontal newsticker?
Like:
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html
But without the white space.. Like an endless loop. And it should be possible for it to run very slowly.
Best regards.
Hi,
I'm trying to do some work with my SQL table.
I have 2 buildings with room numbers 1 - 100 in building 1 and 101 - 199 in building 2.
I have a location field (which I've just created) and want to run a query to populate it with either 'Building 1' or 'Building 2' depending on which room number it has in the 'Room' field.
Many thanks for your help.
Regards
Scott
Hello colleagues,
I am facing a very strange issue because of which when i do not add the below line to the html the layers(z-index) is not working.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"; "_http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Please let me know if you are aware of the issue and how to get layers working without adding this tag.
Best Regards,
Keshav
I have a wordpress site, where on the main page I list the content from more categories.
My question is, is there a plugin where I can paginate the results from a category?I mean something like $this-plugin_paginate('category_id'); or smth?
Best Regards,