ok i have two executables (A and B) that have an tcp connection. Executables A must be killed often and this causes a problem with the tcp connection. Is there anyway to restart the executable A and have the connection be maintained. I cannot change executable B and i do not want to bring it...
...myFunction(){
int var1 = 5;
float var2 = 5.5;
somefunction(var1, var2);
}
However if I change somecfunction to:
void somefunction(int *var1, float *var2)
and pass the variables in by reference the output is correct. Can anyone explain why this problem is happening and a fix so i...
I am working with code that uses equivalences to make large common arrays.
I getting a error that reads like so:
Can't place `ifwicao' as directed by EQUIVALENCE due to alignment restrictions
And as far as i can tell everything lines up.
Does anyone know exactly why this happens and what is...
unfortunelty they are not all being initialized to the same thing. the problem is it still has not compiled after 9 hours... and i am not sure that it will ever end. I have read other places that initializing everything backwards makes things faster but i tried that and it did not work....
any...
I am trying to compile some data in file that goes like this
BLOCK DATA stuff
INTEGER istuff(484484)
REAL rstuff(484484)
EQUIVALENCE istuff(1), rstuff(1)
COMMON someOtherVariable/rstuff
DATA rstuff(1) /1.2/
DATA rstuff(...) /1.2/
DATA rstuff(484484) /1.2/
END
this has been compiled...
i am using the gnu compiler version 3.2.2, so i am compiling with g77. And by static i mean that the value remains the same, so after the function leaves and then comes back the value remains the same. Is this the case if i do this:
REAL Variable
DATA Variable / 10 /
would this become...
in fortran variables become static if you initialize them in there declaration. When you initialize a variable using DATA is this considered to be in the declaration, e.g. does it cause the variable to become static.
I am using fortran 77
thanks
i have used php image functions or worked with images, but here is what i want to do, is it possible and if so how do i do it:
i am being passed the path where the file is located
so i want to upload the file to my server
change the name
and esize the image
are there functions for this??
I want to prompt a user and ask them if they would like to restart their computer after i install some things....
i would like to do this in my c# program......
i just don't know what to call to restart the computer....
yeah i have found a bunch of installers that use scripts but i am trying to find one that uses a gui instead of script..not a gui for the end user but for me while i set it up...
i developed a program in VS .NET and would like to package all the files in an installer..
does anyone know of a good easy to use installer that preferably has a gui interface for setting up the install file.
thanks
ahhh yes i didn't realize that is how listeners work...
you are a genius, if i had a lot of money i would give some of it to you...i would have never figured that out on my own......since i can't give you money will you settle for a purple star...
...but if do some other stuff, like resize...it will output them multiple times with only one click from then on...here is the code:
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.io.IOException;
public class clickTest
{
public static void main(String[]...
BUTTON.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
System.out.println("PRINT");
}});
when i click on a button i am getting a bunch of...
i need mouse pressed and mousereleased or whatever it is...my problem is it is giving multible mousepressed, i am not sure if it is giving multiple mouse clicks or not but it should give the same amount....
anyways i have to used mousepressed...
any thoughts on why i might be getting multiple...
I have the following code:
addMouseListener(new MouseAdapter()
{
public void mousePressed(MouseEvent e)
{
System.out.println("MousePressed");
}});
and when i first open my program...
i want to edit a picture file with a program. For example i want to go through each pixel and check its RGB values and do something like
if(pixel[123][100].Red == 5)
pixel[123][100].Red = 27
is this possible or is there an easier way to do this.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.