I have a Makefile which runs fine from a bash shell, but fails to run from Eclipse. This is because the path I am setting in my .bash_profile is not getting used.
What is the best way of making this happen? Is there somewhere else I could put the path, to make sure it is invoked in non-interactive shells (which is I assume how eclipse is running make)?
So this is probably a long shot, but is there any way to run a C or C++ file as a script? I tried:
#!/usr/bin/gcc main.c -o main; ./main
int main(){ return 0; }
But it says:
./main.c:1:2: error: invalid preprocessing directive #!
i want to run asp.net website on apache server instead of IIS.
i googled a lot, but din get satisfactory answers.
i only came to know that we can use something called 'mono' - third party api for doing this.
i want to knw some basic things like do we need to install .net framework on that server?
what if its a unix server?
any detailed explanation links if provided wud be greatly appreciated.. thanks
i dont know if this is possible, but i need to do the following.
When i make changes to a word document on my pc (save it and the date changes everytime), I want a .exe file on the same computer to run. Is there any way or third party software, with which i can achieve this?
I'm trying to run .ajax and insert a data element from the onClick of an item from the page. Whats the best way to do this?
Something like this:
function grabinfo(foo){
$.ajax({
url: "infospitter",
method: "GET",
data: "id="+foo,
success: function(html){
$(#showstuff).html(html);
}
});
}
<input onClick="javascript:grabinfo(18343)" />
// and on page each item will have this button input
Hello,
Is it possible to run compiled C and C++ Files on a mac without opening and running it in terminal?
E.G is there a separate GUI i can use for executing compiled c programs?
i have created a simple c# winform program that uses MS sql, and several DLLs. what steps should i do in order to get the program run on another computer.
ie should i transfer the exe file + the dlls i used?
should i also install .net framework 3.5 on the other pc?
i used visual studio 2008 to compile.
I have installed latest JDK (x64) on Windows 7 but browsers still can't run the java apps. I understand that JDK includes JRE. JDK is installed correctly and from command line (Java -version) shows installed version as well. Any suggestion please? Thank you
hi all,
in the case of an IM client.
i have made 2 separate threads to handle sending packets (by std io) and receiving packets.
the question is how to make these 2 threads run simultaneously so that i can keep prompting for input while at the same time be ready to receive packets at any time?
i have already tried setting a timer but the data is always lost receiving.
Hi,
I need to run a javascript function when the update panel is loaded completely(I want to scroll), and not on initial page load.
Please suggest.
Thanks
I can't run a website application from VS 2008. When I press Ctrl + F5 i got an alert "unable connect to ASP.net Deployment server" (sp.) I'm using windows 2k3 sp2.
Thanks!
Programs like page defrag by sysinternals or the chkdsk utility that run on startup. Please enlighten me. What kind of programming language do they use for these kinds of operations.
I have a python script on a linux server that I can SSH into and I want to run the script on the linux server( and pass it parameters entered by the user) and get the output on an ASP.net webpage running on IIS. How would I be able to do that?
Would it be easier if I was running a wamp server?
Edit: The servers are in the same internal intranet.
Is there a good resource to get run times for standard API functions? It's somewhat confusing when trying to optimize your program. I know Java isn't made to be particularly speedy but I can't seem to find much info on this at all.
Example Problem:
If I am looking for a certain token in a file is it faster to scan each line using string.contains(...) or to bring in say 100 or so lines putting them to a local string them performing contains on that chunk.
is there any trick to run a Webservice automatically to check some date specific and performs some operations on particular date. like sending birthday email's and so on ?
I have a debug .exe file that i want to run on other machines that don't have MS Visual Studio 2008 installed on them. How can this be done? The release option doesn't work as the application does not function correctly when build in release (not sure why).
At the moment I'm getting a message saying "This application has failed to start because the application configuration is incorrect".
An ideas?
Cheers.
I am completely new to this game, so please be gentle ;-)
I made an example program in Fortran 90, lets call it 'program.f90'.
I compile it:
g95 program.f90
It creates an executable called a.out
How do I run this? It is supposed to print something to the screen, and get input from me, but I cannot figure out how to!
Hi,
I have two functions in C:
function1(){
// do something
}
function2(){
// do something while doing that
}
How would i run these two at the exact same time?
If possible, please provide an example!
Hi, I am trying to make 2 functions run at the same time.
def func1():
print 'Working'
def func2():
print 'Working'
func1()
func2()
Does anyone know how to do this?