Thank you both for the help. One last question on the desktop files:
This is what I have been using:
[Desktop Entry]
version=x.y
Name=ProgramName
Comment=This is my comment ...
Type: Posts; User: pauls2; Keyword(s):
Thank you both for the help. One last question on the desktop files:
This is what I have been using:
[Desktop Entry]
version=x.y
Name=ProgramName
Comment=This is my comment ...
I Have written, compiled and built two programs that I would like to be able to use easily from the desktop. I have information (dated) on making a .desktop file but I need to know where I can safely...
I need to spend some timewith the code I have been given, the man pages, and test writing some code to see how I will implement this into my program.
I am learning a lot from this one problem and...
There are a lot of ways to do what I would like to do if I were willing to step outside the bounds of C99. I have decided to limit my software to the C99 constraints.
I will find a way to limit the...
try using the software center search "sonnet" you get one return:
KDE platform user interface library (libkdeui5)
You might try using GParted. You should be able to set two partitions one in NTFS and the other in ext4. Your linux programs can use the ext4 partition and your windows stuff can use the NTFS...
I plan to give the user the opportunity to use a different filespec or file name or to bag it and leave the function without saving the file.
In the research I have done to date it seams that C99...
Well, when I pasted the code it lost the indenting and put a space into my line of '=' marks. But all the code is there.
I guess it helps if I use the correct slash to close the code --- sorry.
I am coding under the constraints of C99 using Geany and Ubuntu14.04.1.
I wrote a function to save formated text to a file so the information could be printed from a word processor if needed.
I...
My reasoning for using C99 is that you have the ability to easily port the program to any (almost any) other system as long as there is a compiler for it. When you begin to use GUI you lose the...
I believe Ubuntu ships with Python 3.x and 2.x. Updates are performed as available.
SagaciousKGB,
Thank you!
I used to (a long time ago) code with TurboC for DOS and I didn't have to think about thpose pesky newline characters because I used the DOS "getch" and controlled the...
With well over 1800 lines of code I didn't want to post the entire program - I was affraid it would scare people off. :)
The string literal is sent to the input function as part of the prompt - that is its only use.
here is the input() function:
int input(char *titl, int length)
{
char buf[length]; // set...
The space allotted for the filespec is 79 but the input function asks for the spec in 77 characters.
Yes if something other than O or R is provided the program will overwrite the file by default....
The function works well if the file doesn't exist and when I choose to overwrite an existing file.
When I try to rename a file the program closes with a segmentation fault code of 139.
I believe...
Thanks for the help! My question has been answered. I still have a lot to do before it will be ready to use.
When I complete the software I will be back to get help making it into a package that can...
Here is what I get when I try to run it:
paul@paul-desktop:~$ cd Documents/C-files
paul@paul-desktop:~/Documents/C-files$ ls
EXHAUST2.C EXTBAL50.C ExtBal6.c LAWSON.CPP TITLESCR.C ...
The program is (will be) a 6 degrees of freedom exterior ballistics program and it has LOTS of input and output that I will be releasing under the open source rules.
So, does that mean that it...
As I understand this, it opens a terminal window and runs it there.
I am hoping to run it without the terminal window - right from the desktop - without a terminal window.
Is that possible?
I am writing code for a ballistics program in ANSI C. I continue to compile and run it in a terminal window from Geany and it all works well.'
What do I have to do to make the executable run from...
I am sorry, the language is ANSI C. Thank you for your answer. My program will accept latitudes with positive values for Northern latitudes and negative values for southern latitudes. In decimal...
As I understand it a value float is signed by default - it can be either negative or positive without using 'signed float'.
Is that correct?
Is it better to call it as signed for good...
Sorry this is so late - I have been very busy and haven't had time until now to get back.
I wasn't very clear in what I wanted to do. I wanted to save a file of the information that would...
How - using ANSI C - do I save the formatted output on my screen (stdout) to a file and then print a hard copy of it on the printer?
I am using ANSI C for its portability and don't want to lose...