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...
Type: Posts; User: wingnut2626; Keyword(s):
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...
Lets say i have
t
ypedef struct{
int age;
int some_random_number;
char first_name[80];
char last_name[80;
} Human;
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...
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");
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; ...
its subprocess call by the way. sorry just noticed that
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...
/*
* 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...
just found out about calloc.....going to mess around with this....
is *conn->db->rows a pointer to rows? or is it an array of conn->db->rows
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
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?
I'm going to take a look at that.
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.
...
Thanks!
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...
Got it. Thank you for the advice and i will clean code up before i post in the future.
oh yeah I know it was badly written. I'm just curious why the output was like that...
i know the nested function is wrong, this is some code that i wrote before i was informed of that
here is the code this time (please bear with me i am trying to learn C)
#include <stdio.h>
int main(){
int nbr;
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[])
#include <stdio.h>
void iterateThroughArrays(char *arguments[], int numbers[]);
int main(int argc, char *argv[])
{
char *names[] = {"Ron", "Jen", "Jazlyn", "Reid"};
int ages[] = {30,...
solved. I am going to try to understand what you said steeldriver
let me digest that...