Search:

Type: Posts; User: jc2020

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    21
    Views
    24,548

    Maybe this could help. john2.c #include...

    Maybe this could help.

    john2.c


    #include <stdio.h>
    #include <stdbool.h>
    #include <string.h>

    int main()
  2. Thread: cron and c.out

    by jc2020
    Replies
    19
    Views
    13,706

    Cron really can run anything. Same as Salem...

    Cron really can run anything. Same as Salem solution - - && ./a.out.
  3. Thread: cron and c.out

    by jc2020
    Replies
    19
    Views
    13,706

    First I want to thank all of you. I learn more...

    First I want to thank all of you. I learn more then I ever known about c and life (sorry for crying out loud). I believe the code I posted caused most or all of my problems. All of that unneeded...
  4. Thread: cron and c.out

    by jc2020
    Replies
    19
    Views
    13,706

    Salem, why is your txt files inside crontabs? ...

    Salem, why is your txt files inside crontabs? Should it be the other way around? Was there a problem with cron running all three of your c-files inside cron like it does for script and batchs? ...
  5. Thread: cron and c.out

    by jc2020
    Replies
    19
    Views
    13,706

    I knew not to challenge the light, but I had to...

    I knew not to challenge the light, but I had to take a crack at it since I know this opportunity may never arise again. It was just a moment of fun. You remember so much and I think you have a...
  6. Thread: cron and c.out

    by jc2020
    Replies
    19
    Views
    13,706

    laserlight, I know what you mean but like you...

    laserlight, I know what you mean but like you said:

    But It’s near the same if someone said:

    You either say day for day and night for night. Midnight is night is the middle of the night.
    ...
  7. Thread: cron and c.out

    by jc2020
    Replies
    19
    Views
    13,706

    Why are we talking down on your fellow member? ...

    Why are we talking down on your fellow member?

    Allow me to pick into my own thread:



    I’ll comment on this myself as an outsider who may understand common people. jc2020 are you saying you...
  8. Thread: cron and c.out

    by jc2020
    Replies
    19
    Views
    13,706

    Yep, it’s my terminology and even my English that...

    Yep, it’s my terminology and even my English that gets in the way. Thanks for the reminder laserlight. I’ll work to do better.
  9. Thread: cron and c.out

    by jc2020
    Replies
    19
    Views
    13,706

    cron and c.out

    Hello cboard,

    My question(s) is more OS related than C because I’m trap at not knowing what CRON full capabilities are. I have 3 well crafted c-files (id1 - id3.out) that works standalone without...
  10. Replies
    16
    Views
    8,297

    This may not be what you're looking for but...

    This may not be what you're looking for but strlen works well.



    #include <string.h>
    #include <stdlib.h>
    #include <stdio.h>

    #define BUFFER_1024 1024
  11. Replies
    7
    Views
    6,390

    There is just too much out there for so many...

    There is just too much out there for so many difference flavours. Just for the record, everything here work for FreeBSD-10, 11 and 12 running mysql56 at minumum and should be the closest for all of...
  12. Replies
    7
    Views
    6,390

    I think I best to read into the links and info...

    I think I best to read into the links and info that you provided before I ask anything more about it. But for now I see no reason to fear password in cron because there are no users of that jail and...
  13. Replies
    7
    Views
    6,390

    Thanks for the detailed information with keywords...

    Thanks for the detailed information with keywords that I should been using. I knew nothing about that type of API.

    First of all I am sorry I use in the word SQL. I’m using mysql. Now I know...
  14. Replies
    7
    Views
    6,390

    Hi laserlight, I always wanted to learn how to...

    Hi laserlight,

    I always wanted to learn how to automate my website using a database. There are easier ways to do it but that is not what I am after. The time of day and the temperature at dusk...
  15. Replies
    7
    Views
    6,390

    How to Automate INSERT_INTO using C?

    Hello cboard,

    I have a small website for my business on DO. It has been a lonely experience, so I been wondering how to automate a few simple things that would keep a visitor attention for a...
  16. Replies
    8
    Views
    5,814

    I think it's the way the terminals works. They...

    I think it's the way the terminals works. They align data to the left. So when I add zero to the front every single line gets one. I threw every thing Alex had at it. It workd for char becaisr...
  17. Replies
    8
    Views
    5,814

    I was unaware that format specifiers could do all...

    I was unaware that format specifiers could do all of that. I'm reading Alex's Printf Format Strings already. Between that and pointers I'm going to study well. Thanks so much @laserlight.
  18. Replies
    8
    Views
    5,814

    my other part:

    I just can't figure what is missing or how to fit it in.


    int i = 8;
    char line = i + '0';

    if(line < 5)
    {
    fputs(destination, fptw);
    }
  19. Replies
    8
    Views
    5,814

    Add a char in front of a few string

    This is my first time sending any things using a cell phone. My fingers don't fit.

    I have a ton of numbers that i am trying to make changes to.

    Acct.txt
    89896
    7874
    90000
    9998
    80234
  20. Replies
    15
    Views
    14,087

    I use to think most programmers were men, but...

    I use to think most programmers were men, but since trying to be one myself, I realize there are a great number of women programmers out here and you have to be careful not to use words like dude or...
  21. Replies
    15
    Views
    14,087

    Got it!, now I can spend my time learning C the...

    Got it!, now I can spend my time learning C the proper way. My project will be completed before this week is out. Thank you everyone. Thank you @Salem, for helping to get me started. Your code...
  22. Replies
    15
    Views
    14,087

    I tested this with 1, 2 and 20 character length. ...

    I tested this with 1, 2 and 20 character length. Same results for each:

    Something Might be Out of Order:



    fseek(fptr,0, SEEK_SET); fgets(buf1, 0, fptr);
    result = [] ...
  23. Replies
    15
    Views
    14,087

    fget() is doing something, I get no error but the...

    fget() is doing something, I get no error but the character (I) did not enter the buffer. What am I missing here?


    #include <stdio.h>
    #include <string.h>

    int main() {

    FILE...
  24. Replies
    15
    Views
    14,087

    @flp1969 Do that mean I can print result to file?...

    @flp1969 Do that mean I can print result to file? I tried fgets. Maybe I used it incorrectly. I’m going to read about fgets() now!

    Maybe something would include the function fseek() to make...
  25. Replies
    15
    Views
    14,087

    PS: @GReaper, I usually open files this...

    PS:


    @GReaper, I usually open files this way. I picked up this type coding from a thread here at the cboard. I going to build around this tonight. IIRC it work for something when the standard...
Results 1 to 25 of 44
Page 1 of 2 1 2