i want to list files from dev end at tty bettwen 15 and 24...should appears /dev/tty15,/dev/tty16,/dev/tty17, etc until /dev/tty24
what is the command?
Hi...this is a little code that i'm doing, but i have some errors...:S
Hi have a txt file and i want to "convert to xml", but the program must know what is comments, and must organize...
txt file:
/* Licenciaturas na ESTG-IPVC 2009 – v1.1*/
- Info, <N Alunos>
<hr>---------------------------------------------------
3…
How do I pass a pointer value to an array of the struct;
For example, on a txt I have this:
John Doe;xxxx@hotmail.com;214425532;
My code:
typedef struct Person{
char name[100];
char email[100];
int phone;
}PERSON;
int main(){
PERSON persons[100];
FILE *fp;
char *ap_name;
char *ap_email;
char *ap_phone;
…
HI...i want to write something like this in a file, using fwrite
fwrite("name is %s\n",name, 60, fp);
but is not working, only write in the file the string. any idea?
While creating self contained elements with Jquery html() the following issue happens:
$('#someId').html('<li><input type="checkbox" /></li>')
will create
<li><input type="checkbox"></li>
It closes correctly the <li> tag but not the <input>
It seems its an issue from innerHtml which…
I'm writing a System::Wrapper module to abstract away from CORE::system and the qx operator. I have a serial method that attempts to connect command1's output to command2's input. I've made some progress using named pipes, but POSIX::mkfifo is not cross-platform.
Here's part of what I have so far (the run method at the bottom basically…
Is there any good tool out there that allows developers to correctly debug messages sent between windows with postMessage?
Or maybe a plugin for Firebug?
Thanks!
I'm trying to create something that looks like facebook's profile URL (http://facebook.com/username). So, at first I tried something like that:
$router->addRoute(
'eventName',
new Zend_Controller_Router_Route(
'/:eventName',
array(
'module' => 'default',…
Hello. I want to get a value from a function in other function i think i have to call a function in other function, then call it on main, but how?
void funcA(PEOPLE people[], int *total){
FILE *fp;
char line[100];
fp=fopen("example.txt","r");
if(fp==NULL){
exit(1);
}
else{
fgets(line, 100, fp);//get a number from the txt…
Hi...Imagine that i have on a txt this:
Hello
SLB
3
1324
how can i get the 3rd line? fgets or fscanf?
and imagine on a txt this:
8;9;10;12
how can i print the numbers separeted?
Hi,
I need to call a C++ API from C#. I have been able to call the API, but the char[] parameters do not seem to be marshalling correctly.
Here's the C++ signature:
Create2ptModel(double modelPowers[2],
double modelDacs[2],
int pclRange[2],
double targetPowers[32],
…
I'm trying to execute a simple example of Multicast sockets on Java.
MulticastSocket s = new MulticastSocket(6789);
InetAddress group = InetAddress.getByName("230.1.1.1");
s.joinGroup(group);
This code generates the error: IP_ADD_MEMBERSHIP failed (out of hardware filters?)
Any idea?
Thanks
I recently came across this and would like to implement something similar. The basic approach is clear: I have to threshold the image and check if a virtual object collides with the remaining foreground.
Instead of implementing the physics myself, I'd like use an engine like Box2D. But how do I integrate the thresholded…
CodePlex Daily Summary for Monday, June 13, 2011Popular ReleasesCommunity TFS Build Extensions: Alpha 1.0.0.4: Please see the Source Control change sets for updates in this release This is a minor release to wrap up the BuildReport activity This release contains signed assemblies and a CHM file. Effort is now going…
CodePlex Daily Summary for Sunday, June 12, 2011Popular ReleasesSizeOnDisk: 1.0.8.4: Fix: Contextual menu failures. Switch to ShellExecuteEx of Win32Api.Phalanger - The PHP Language Compiler for the .NET Framework: 2.1 (June 2011) for .NET 4.0: Release of Phalanger 2.1 - the opensource PHP compiler for .NET framework…
I have a webservers that send out emails to a sendmail relay server as a batch job. The emails need to be accepted by the relay sendmail server as fast as possible, however, they do not need to go out (be relayed) very quickly.
I am seeing a couple timeouts once and a while from the webserver trying to connect to…
I apologize if I am asking a question already answered, but my problem isn't really that I haven't found an answer. I have, in fact, found a half-dozen different "solutions" to my problem, tried them all, in various combinations, and have been consistently unsuccessful.
The goal
All I want to do is change the…
I have a RubyOnRails application running on the same server that runs sendmail. The application sends out (no need to receive) emails via the local sendmail.
Now I intend to move sendmail to a dedicated server. How do I make sendmail on that server accept connections from my application on the other server?
I…
I have 2 servers
the first (SRV01) is running Bind and other web app
the second (SRV02) is running 2 server Minecraft (^^)
in Bind I have 2 A recording for the 2 server MC
s1.domain.tld A SRV02IP
s2.domain.tld A SRV02IP
the 2 MC serv are running on 2 different port 25565 and 25566
so I want…
I have a Mac mini that I use as a media server running XBMC and serves media from my NAS to my stereo and TV (which has been color calibrated with a Spyder3Express, happy). The Mac runs OSX 10.8.2 and the internet connection is tunneled for general privacy over OpenVPN through Tunnelblick. I believe my…
I am using Expression Blend 4 and Visual Studio 2010 to create a Sketchflow prototype.
I have a Sample Data collection and a ListBox that is bound to it. This displays as I would expect both at design time and at run time. However, the ListBoxItem template it just complex enough that I wanted to…
Need help Urgent!!!!!
Did changes with help but still unsuccessful...
I have to request location updates, but I am unsuccessful in implementing that... i modified the code but need help so that i can see the current location.
PLEASE look through my code and help please.. I am learning this and…