How can I write a program in php to get the domain information of an existing domain or if a domain name is already taken...? I would like to get the information using php.
It seems like I could program something without ever using the word 'new', and I would never have to worry about deleting anything either.
From what I understand, it's because I would run out of stack memory.
Is this correct? I guess my main question is, when should I call 'new'?
Hi all i have developed a some graphic programs in desktop system. Bu when i tried to run it in the hp compaq lap top its not getting executed. I developed it using turbo c. Then i tried writing a simple graphic program in turbo c in laptop, but the problem i am getting is in 'initgraph' statement it is unable to detect the driver. Can you please tell me what might be the problem.
It may sound strange that knowing a lot about ios and haing some experience in .net, I am a newcomer to C.
Somewhere I got this target to find average of n numbers without using printf and scanf. I don't want the code for the program but it will be really helpful if someone can help me with the alternatives to the mentioned functions.
Please let me know if code with printf/scanf is required here.
Also do let me know if my query stands invalid.
Thanks and Regards,
Nitish
I'm using VS 2010, and I'm wondering how I can get my c++ program to read a file using standard input while debugging. I know how to do it from command prompt, but not when debugging.
Basically I want it to read in a file with cin instead of me typing stuff - but in debug mode.
I have write a small helloworld program that needs cocoa framework. I'd like to know how to add framework in cmake. All the information I have found is out-of-date. I have cmake 2.8.1 on snow leopard.
I need to catch that exception but I can't figure out which one it is. The IDE i'm using right now doesn't allow for a program interrupt that way.
I know how to user try/catch, but I don't actually know what I'm trying to catch..
Can anyone help me with this?
I've been working on a program to monitor a network folder to find out which spreadsheets our company uses are the most popular. I'm using the FileSystemWatcher class in C# to do the monitoring. I've noticed I'm getting updates to files that are in folders that my user does not have permission to browse. I understand that my software is subscribing to a list of updates done by other system software and not actually browsing those files itself, but is this functionality intentional or is it a bug?
My program file is encoded in UTF-8 so "abc".length == 3 but "åäö".length == 6. I realize that å, ä, ö, etc. are stored as two bytes in UTF-8, and that a Ruby String is a sequence of bytes (not characters), but it is annoying! Is there a best practice to work around this problem?
Hi! My program file is encoded in utf-8 so "abc".length==3 but "åäö".length==6. I realize that å,ä,ö, are stored as two bytes in utf-8, and that a ruby String is a sequence of bytes (not characters), but it is annoying! Is there a best practice to work around this problem?
Hello,
I'm writing a program in python using dbus that detects inserted usb drives and manipulates the files inside of them. However, I can't seem to retrieve the path on my system of an inserted usb. Is there someway that I can get the path of an inserted usb in dbus, perhaps by using the GetProperty() method? I have tried using GetProperty("block.device"), but that returns /dev/sdc1 which doesn't exist on my system. Thanks in advance for any help!
Hi everyone,
I have a simple test application (in C) that grabs mmaped frames from my v4l device. And now, I'd like to display these frames within a tiny LessTif application (like gnome cheese, but only displaying the frames - nothing else). Do you have an idea how to implement such a LessTif program?
Thanks,
Dan
I have a C++ Windows program. I have a text file that has some data. Currently, the text file is a separate file, and it is loaded at runtime and parsed. How is it possible to embed this into the binary as a resource?
Hi, I'm working on how my company does documentation (especially programming documentation). I'd like to be able to synchronize sections of different Word documents, such that if a section in one document changes, the change is reflected in the other document, and vice versa. Is there a way to do this with Word, and if not, is there some word processing program that is good at this?
I'm trying to develop an application similar to ASTassistant, and in the article the author says that he included "the source code with the binaries." After downloading the ZIP folder, however, I've found no source. The program is written in REAL Basic, which I don't know anything about. Do I need to purchase REAL Basic to view ASTassistant's source code, or is it somewhere I haven't looked?
Thanks
I want to do a program that on notebook LCD show a controller of what we see on VGA output connector, it is possible to do that?
For instance, on LCD you can see a remote control (play, stop, volume) an on VGA you see the film without controls
BR
Santiago
My program crashed when I added the option -fstack-check and -fstack-protector. __stack_chk_fail is called in the back trace.
So how could I know where the problem is ? What does -fstack-check really check ?
The information about gcc seems too huge to find out the answer.
When a volume is attached to file system, on Windows,
the Window explorer detects the volume and refreshes automatically.
I wonder the technique.
How do an program(include device driver) get the notification?
-Of course, it doesn’t mean a polling. I want to get an event(or a message).
I would like to get the notification when a network volume(like SMB) is attached.
Thanks in advance.
I have Zend Server for i5/OS and want to connect (in PHP) to local DB2 Instance. Do I need DB2 Connect product to call any program on i5/OS? If I can use ODBC Driver, can somebody - please - give me an url to some place where I can download it (OpenSource?) ?
Another question: Is there any PDO_ODBC or ODBC adapter for Zend Framework's Zend_Db?
Hi everyone there, can anybody tell me how to make file descriptors behave like atm nodes in /dev directory. Since i dnt have atm switch to test my program, i have to test with normal files, is there any method to make special type of file descriptors that behave like atm nodes.
If we consider computer graphics to be the art of image synthesis where the basic unit is a pixel.
What is the basic unit of sound synthesis?
[This relates to programming as I want to generate this via a computer program.]
Thanks!
hi, i am doing c program of binary tree while inserting the node to tree after 2 or 3 nodes the child node having garbage value and crashing i am doing in xcode any idea...
I have an owner-drawn list control in my Windows program. I use CListCtrl::GetBkColor to get the background color, and for a selected item I use GetSysColor(COLOR_HIGHLIGHT). This matches what Windows uses for non owner drawn list controls, except for the case where the control doesn't have focus - then the background is replaced with gray.
Does Windows use one of the GetSysColor constants for the selected but unfocused background? If so, which one?
Write your own version of the strcmp function string_compare.
Supply a main program that will test each of the 3 differing outcomes.
int string_compare(char *s, char *t);
returns
<0 if s is lexically before t
0 if s is identical to t
>0 if s is lexically after t