Search:

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

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. samba shares not accessible from windows 8.1

    Good morning/afternoon/evening. I am having trouble getting my samba shares accessible on a windows 8.1 computer. Here is a copy of my smb.conf...


    #
    # Sample configuration file for the Samba...
  2. Replies
    2
    Views
    416

    pointer question c

    Lets say i have

    t
    ypedef struct{
    int age;
    int some_random_number;
    char first_name[80];
    char last_name[80;
    } Human;
  3. Replies
    1
    Views
    290

    trying to get rid of default tiles

    Just installed wmaker on top of ubuntu and there are 2 tiles that came by default that I cannot remove. How can I remove these tiles? When I try to maximize windows, the tiles occupy the space and...
  4. Replies
    1
    Views
    442

    Program hanging

    I must be missing something here.



    void Database_create(struct Connection *conn)
    {
    int i = 0;
    int total_addresses_used;

    printf("How many to store in this database?\n");
  5. Replies
    1
    Views
    306

    [SOLVED] long integer question

    Lets say I have: long max_data, max_rows;How does this work? (If you need more of the code im looking at, please let me know.) max_data = (argc >= 4) ? strtol(argv[3], NULL, 10) : 512; ...
  6. Replies
    2
    Views
    518

    Re: subprocess call module

    its subprocess call by the way. sorry just noticed that
  7. Replies
    2
    Views
    518

    subprocess call module

    here is the code:


    subprocess.getoutput(['php','package.php',directory+'/kaltura-installer', 'false', 'CE v6.0.0 dev'])

    The subprocess call ends after the directory+'/kaltura-installer', and...
  8. Replies
    14
    Views
    1,512

    Re: dynamic arrays in structs c

    /*
    * ex17.c
    *
    * Copyright 2014 Ronald C. Reid <ronald@laptop1>
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public...
  9. Replies
    14
    Views
    1,512

    Re: dynamic arrays in structs c

    just found out about calloc.....going to mess around with this....
  10. Replies
    14
    Views
    1,512

    Re: dynamic arrays in structs c

    is *conn->db->rows a pointer to rows? or is it an array of conn->db->rows
  11. Replies
    14
    Views
    1,512

    Re: dynamic arrays in structs c

    #include <stdio.h>
    #include <assert.h>
    #include <stdlib.h>
    #include <errno.h>
    #include <string.h>
  12. Replies
    14
    Views
    1,512

    Re: dynamic arrays in structs c

    #include <stdio.h>
    #include <assert.h>
    #include <stdlib.h>
    #include <errno.h>
    #include <string.h>
  13. Replies
    14
    Views
    1,512

    Re: dynamic arrays in structs c

    Sorry it took me so long to reply. Been busy over here. It looks like conn->db is pointing to the first address in
    conn->db = malloc(sizeof(struct Database))....am i right?
  14. Replies
    14
    Views
    1,512

    Re: dynamic arrays in structs c

    I'm going to take a look at that.
  15. Replies
    14
    Views
    1,512

    dynamic arrays in structs c

    This is the starting code (from "Learn C the hard way"). The goal is supposed to be to knock out the MAX_DATA and MAX_LENGTH values, and have the corresponding items dynamically alloted.


    ...
  16. Replies
    3
    Views
    650

    Re: trying to learn c

    Thanks!
  17. Replies
    3
    Views
    650

    trying to learn c

    Im working on the tutorial from 'Learn C the hard way' and currently im on the exercise for malloc and pointers to structures. I have a few questions for someone that is willing to help a newbie...
  18. Replies
    6
    Views
    624

    Re: integers in array taking weird values

    Got it. Thank you for the advice and i will clean code up before i post in the future.
  19. Replies
    6
    Views
    624

    Re: integers in array taking weird values

    oh yeah I know it was badly written. I'm just curious why the output was like that...
  20. Replies
    6
    Views
    624

    Re: integers in array taking weird values

    i know the nested function is wrong, this is some code that i wrote before i was informed of that
  21. Replies
    6
    Views
    624

    integers in array taking weird values

    here is the code this time (please bear with me i am trying to learn C)


    #include <stdio.h>


    int main(){


    int nbr;
  22. [SOLVED] Re: seems like array of integers is cut in half after being passed to function

    Ok, that makes perfect sense! Here is my ammended code:


    #include <stdio.h>
    void iterateThroughArrays(char *arguments[], int numbers[], int totals);




    int main(int argc, char *argv[])
  23. [SOLVED] seems like array of integers is cut in half after being passed to function

    #include <stdio.h>
    void iterateThroughArrays(char *arguments[], int numbers[]);




    int main(int argc, char *argv[])
    {
    char *names[] = {"Ron", "Jen", "Jazlyn", "Reid"};
    int ages[] = {30,...
  24. Thread: no idea

    by wingnut2626
    Replies
    10
    Views
    729

    [SOLVED] Re: no idea

    solved. I am going to try to understand what you said steeldriver
  25. Thread: no idea

    by wingnut2626
    Replies
    10
    Views
    729

    [SOLVED] Re: no idea

    let me digest that...
Results 1 to 25 of 161
Page 1 of 7 1 2 3 4