Search:

Type: Posts; User: Karyumi

Search: Search took 0.00 seconds.

  1. How do I perform Insert, Update and Delete sqlite3 commands using C?

    My values come from an HTML which I've already parsed with C. I figured out how to do Select command and was able to print out my table but I can't seem to figure out how to do the Insert, Update and...
  2. How do I perform MySQL functions using C from an HTML file?

    So I've already created my HTML site and a c program which can parse its inputs. I've also already made a table in SQL and my c program is also able to print its contents. But how do I perform...
  3. How do I save my parse responses to a text file?

    How do I save my results from an HTML form to a text file?
    Here's my cgi code:


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

    int main(void) ...
  4. How do I assign values to elements of a 2D array?

    I'm currently making a code that finds that mean, median and mode of a set of numbers given by the user.

    My mean and median functions work just fine but I'm having problems with the mode.

    Here...
  5. Replies
    1
    Views
    2,182

    Adding and Deleting Birthday Reminders

    The code I'm creating has 4 options: 1)Add a birthday reminder, 2) Delete a birthday reminder, 3)Display a calendar, and 4)Closes the program.

    How do I add birthday reminders (Name + date of birth...
  6. Replies
    2
    Views
    16,668

    What is a good alternative for scanf?

    So I have this for my main function.


    int main(void)
    {
    int year;
    int month;
    int first_day;

    do{
  7. I see. But doesn't my first_day_year function...

    I see. But doesn't my first_day_year function calculate the first day of the year? So by adding the days of the months until the month before the month specified by the user, I should be able to get...
  8. @Subsonics, I have this in my calendar function ...

    @Subsonics, I have this in my calendar function




    for(i = 0; i < month; i++)

    {

    first_day = (first_day + month_days[month]) % 7;
  9. Calendar Program. Just need to fix on more thing!!!

    So my program basically asks for a user input of 1-12 and 1978-3000, for the month and year respectively.
    The output should be a calendar of the specified month and year.
    I've already gotten the...
  10. Hmm. The only problem I have now is where the...

    Hmm.
    The only problem I have now is where the first day of the month starts.
    I really don't see what I can do to fix this.
    Help, anyone? D:
  11. @Subsonics, yup. Saw it immediately after I...

    @Subsonics, yup. Saw it immediately after I posted this. But even though I fixed it, the program gave even weirder outputs.

    Here's my code now:



    #include <stdio.h>

    char *months[] =
    {
  12. C Programs for Calendar (DIsplay Month and Year)

    This is the code I have so far:



    #include <stdio.h>

    char *months[] =
    {
    " ",
    "\nJanuary",
  13. Replies
    1
    Views
    6,416

    C Program for Calendar

    Hello, I'm new to C and I need to make a program wherein the user inputs a number (1-12 corresponding to each month) and a year ( from 1978-3000).
    The output should be the calendar for the specified...
Results 1 to 13 of 13