General :: Create A Program File For A New Program?
Mar 8, 2011How do I create a program file for a new program?
View 1 RepliesHow do I create a program file for a new program?
View 1 RepliesIs there any program/script that can create a torrent file for each file in a directory? I have been looking all over but can't seem to find anything of the sort. I have 700+ files I REALLY don't want to make my self.
View 1 Replies View RelatedI need help to do a program that emulates the following shell command line:"sort </etc/passwd | less".Using a socket in a connection-oriented setup.First the contents of the file /etc/password are being fed into the sort program. The sort program is then sorting the contents of the file and sending it to another programm called less. Less is paging the results so that you can see one page of the results at a time.I know that i can solve the problem this way:
1. Create a server program that will stream the contents of a file to any client that connects to it
2. Create a client application that will connect to the server and download the contents of the file. The program should then sort the file. After sorting the file the client should connect to the "less" program and send the sorted results
3. Create a server program that will listen for connections and download whatever is sent to it. It will then display that data one page at a time.
Ok so Basically i have 2 questions
1. i know how to create a file with c++ using but is there a way to save it to a specific location on your computer with windows and linux
Code:
2. i need to know how to run/execute/open a file in a c++ program im using and its not working
Code:
How to create a c program for an Orphan Process ?
View 5 Replies View RelatedI am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?
View 5 Replies View RelatedSince I own one of those Centrino based Core 2 notebooks that create annoying buzzing noises when idle (= entering C3 or C4 power saving states), I'm looking for a program that creates artificial CPU usage. It should allow me to limit the CPU usage to a certain percentage (I know that there are a lot of easy ways to create 100% usage ;-).
Another option would be to disable the C3 or C4 states, but in newer kernels the sysfs interface to set the max_cstate on-the-fly was removed for some reason, and I don't always want to reboot after switching from AC to battery (and vice versa).
Is it possible to create a symbolic link that include commands for the program?
For instance, I do the following to start the program:
./script -somecommannd
I would like to create a symbolic like that includes "-somecommand"
Is this possible? or would I need to create a second script that executes that command, and link to that script?
I have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?
View 1 Replies View RelatedI am running Ubuntu 9.10 and had hoped to use Synaptic to find and install Truecrypt. As Synaptic couldn't find it I downloaded it from [URL]. In case it helps the file is called "truecrypt-6.3a-linux-x86.tar.gz". Apart from not knowing how to get a working program from the .tar.gz file, I don't know whether the installation process sorts out where the file should go and puts it there, or whether I have to create a directory for it and put it there myself.
View 11 Replies View RelatedI have downloaded DavMail and its currently living and running from my /home/user/Downloads/DavMail
in this folder is
davmail.jar
davmail.log
davmail.sh
Lib/
[Code]....
I need to put davmail in a better location than downloads but am unsure where to put it, Im guessing if I seperate some of the files/folders such as lib ill have to modify the davmail.sh file.
wheres the best location to keep this or should it remain in my home folder, I was going to put this in
/usr/local/bin
/usr/local/lib
But the jar count as a binary? the .sh certainly wouldnt.
Write a program in any language you choose, to reverse a file.
View 8 Replies View RelatedMy midterm instructions are in mth format. I wouldn't even know what program to use to open in Windows. The actual midterm itself is an htm file. I need help ASAP.
View 11 Replies View RelatedI have custom software that writes to a sensitive large file when the user does something. I would like to make backup copies of The file that gets written to, but if I make a gzip of the file at the same time someone is changing something, it will corrupt the backup because some of the data will be missing, as its backed up during being written to.
a) Is there a way to detect if a file is currently being accessed/written to?
That way if its currently being accessed, I can just make the script wait until its done and then finally back it up.
b) Instead of backing up the large file while it has potential to get written to, would it be better to make a copy of the file first, then gzip the copy? This idea comes from the fact that gzipping the original takes 5-10 seconds, whereas making a copy only takes 1-2 seconds. The less time, the less chance of corruption.
c) Is there anyway to freeze a program or a file to stop it from being written to for an amount of time?
With a, b, and c together. The best solution I have to my problem would be a script that first detects rather the file is being accessed. If not, it would then freeze the file/program and then make a quick copy of it. Once the copy is created, it will unfreeze the original file/program and then go about gzipping the copy.
How Do I make a file a executable program ?
View 3 Replies View RelatedI'm using Ubuntu and I'm programing with eclipse CDT. My goal is to execute a php file and read the output to my c++ program. To do so I thought I should use fork(), dup2() and execl. When in shell, the call "php myscript.php" worked just fine, but when in c++ I tried:
execl("usr/bin/php", "php", "home/geiger/workspace/SemiServer/server_content/myscript.php", NULL);
And it didn't work (the process wasn't terminated and I got no output). I tried different version of this call, like losing the "php" string and/or drop "home/geiger" from the path string, to no better result.
i am new in tcp/ip.i want to write a program using c for file transfer where FTP client and FTP server will be used.and also this program should work for ipv4 as well as ipv6.and muiltple client can be connect simultaneously.i dont know how to start program.should i use shell script or socket programming for file transfer?can we use FTP client and FTP server in socket programming?
View 2 Replies View RelatedI will have to code this. However I am lacking of time since I have too much to do. make a short code bash/dash to prompt the country with Zenity, then, get the PLS or m3u url and prompt with another zenity which radio to play. http://www.listenlive.eu/index.html
My code to get url's radio country.htm is:
Code:
I have a number of uncompressed audio files recorded off of an analog (POTS) telephone line of fax transmissions. Is there a Linux utility or library I could use to convert these files into images of the fax they contain? I'm not looking to send/receive a fax via a modem, but just to "replay" the communications tones and parse out the fax message.I'm guessing this may not be possible due to duplex issues and not knowing which end of the conversation is sending what,but thought I'd ask to see if anyone knew of something.
View 4 Replies View RelatedI have Windows XP as an ISO file on a USB stick and want to make it bootable.Which Linux software do you recommend for doing that?
View 4 Replies View RelatedI am trying to install a program and it spews out an error about the .obj/matrix.o file. The output is quoted here:
[code]...
The program I was trying to install is a robot simulator which performs lots of matrix manipulation and linear system solving. I followed every step in the installation guide, except for this one:
[code]...
I'm looking to create a small business flier with some graphics on Ubuntu. Whats the best program that I can use?
View 4 Replies View RelatedI`ve just installed opensuse 11.4 and i dont know how to write and compile my programs
is there a compiler like turbo c++ to use??
I was wondering whether there is an inbuilt logging system in UNIX?
I ran and installation and the program opened up automatically but I can't find the program executable.
If I could find a log then I could locate this file.
I have problems to get it work. i have tried to use pm-utils, but it does nothing.
What is need is to kill application, when pc is going into suspend to ram and run that application again on wake. It's a graphical application.
Is there anything like burning rom from nero or roxio cd/dvd copier. Do you know of any dvd copying program? like without making the image and then burning with just one process just copy the disc sorta program like roxio dvd copier? I wanted to make copies of movies I made a dvd of but aside from image burn which is a hassle to make the image first. is there something for burning on the fly or dvd/cd copying? infrarecorder and cdburnerxp do not work for me at all.
View 3 Replies View RelatedI had Ubuntu for awhile, now I installed Fedora12, I'm trying to follow directions to install a program from source code (tar.gz file) I have the February 2010 issue of Linux Format, and am trying to follow it step by step. I copied gnurobbo off their disk to my desk top, which copied it. Then I did the cd command, then I did the ls command and it didn't show me anything but a line saying desktop and a few other things like pictures movies etc. so I did cd gnurobbo-0.64 and it says no such file. I have been trying this for a few times and I think I'm going crazy.
View 3 Replies View RelatedIs there any program to create databases graphically? Something like Glom maybe?
View 3 Replies View RelatedI want to create a shortcut to run a program called RoomEqWizard but the only way I know how to run the program is to open a terminal and type the location to where the program is and call the program file. I already tried creating a shortcut on the main menu but I get a "error creating the child process for this terminal" message every time...
View 1 Replies View RelatedI need a program (to draw or paint patents like the example below
Example:
http://www.google.com./patents?id=-K...page&q&f=false
I remember that the Word version of Windows XP had tools to create drawings but I can not find (or help) equal tools in Ubuntu Ooo.
Also, Windows has the "Paint" program that I used (pasting Word drawings) to erase, create mirror-effects, etc
Can somebody recommend me a good program (not CAD way) for simple drawings for patents?