Search:

Type: Posts; User: pauls2; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    426

    [SOLVED] Re: Installing my programs

    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 ...
  2. Replies
    3
    Views
    426

    [SOLVED] Installing my programs

    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...
  3. Re: Writing formated output to a file for later printing in C99 - error checking?

    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...
  4. Re: Writing formated output to a file for later printing in C99 - error checking?

    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...
  5. Replies
    1
    Views
    338

    Re: Using Sonnet in Ubuntu 14.04

    try using the software center search "sonnet" you get one return:
    KDE platform user interface library (libkdeui5)
  6. Re: Problems with running programs in Ubuntu from USB drive

    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...
  7. Re: Writing formated output to a file for later printing in C99 - error checking?

    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...
  8. Re: Writing formated output to a file for later printing in C99 - error checking?

    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.
  9. Writing formated output to a file for later printing in C99 - error checking?

    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...
  10. Re: "It's not a real program if you have to run it from the command line."

    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...
  11. Replies
    11
    Views
    743

    Re: First programming language to start?

    I believe Ubuntu ships with Python 3.x and 2.x. Updates are performed as available.
  12. Replies
    12
    Views
    1,069

    [SOLVED] Re: segmentation fault from my file save function

    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...
  13. Replies
    12
    Views
    1,069

    [SOLVED] Re: segmentation fault from my file save function

    With well over 1800 lines of code I didn't want to post the entire program - I was affraid it would scare people off. :)
  14. Replies
    12
    Views
    1,069

    [SOLVED] Re: segmentation fault from my file save function

    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...
  15. Replies
    12
    Views
    1,069

    [SOLVED] Re: segmentation fault from my file save function

    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....
  16. Replies
    12
    Views
    1,069

    [SOLVED] segmentation fault from my file save function

    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...
  17. Replies
    8
    Views
    646

    [SOLVED] Re: Running ANSI C programs in the desktop

    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...
  18. Replies
    8
    Views
    646

    [SOLVED] Re: Running ANSI C programs in the desktop

    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 ...
  19. Replies
    8
    Views
    646

    [SOLVED] Re: Running ANSI C programs in the desktop

    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...
  20. Replies
    8
    Views
    646

    [SOLVED] Re: Running ANSI C programs in the desktop

    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?
  21. Replies
    8
    Views
    646

    [SOLVED] Running ANSI C programs in the desktop

    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...
  22. Replies
    3
    Views
    345

    [SOLVED] Re: float - characteristics

    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...
  23. Replies
    3
    Views
    345

    [SOLVED] float - characteristics

    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...
  24. Replies
    2
    Views
    290

    [SOLVED] Re: formatted output from the screen

    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...
  25. Replies
    2
    Views
    290

    [SOLVED] formatted output from the screen

    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...
Results 1 to 25 of 30
Page 1 of 2 1 2