Search:

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

Page 1 of 5 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    590

    Re: sql aggregate functions

    Another quick question that might have an answer. In my Book table I also have a Date field (yyyy-dd-mm), is there anyway to return that in years it has been published? So for example one may be...
  2. Replies
    4
    Views
    590

    Re: sql aggregate functions

    Ahh yes thank you for the tips and that link as well.


    SELECT Books.author_id
    FROM Books
    GROUP BY Books.author_id
    HAVING COUNT(*)>=2

    This got me the people who have written 2 or more books...
  3. Replies
    4
    Views
    590

    sql aggregate functions

    I am having trouble when it comes to writing queries that involve aggregate functions (such as Count and also when using Having). I have two tables of People (id and name) and Books (bookid,...
  4. php socket with java program socket, possible?

    I am trying to connect my php server with a java program....the idea is that when a user hits a button it calls a php script, I would like this php script to in someway send data to a java program...
  5. Re: PHP / ajax Display size of sql table (always display current size)

    Hey just figured I would let you know I got it to work!! Got my getXmlHttp() function returning the correct object based on browser, and the HandleResponse to update the .innerHTML of the right...
  6. Re: PHP / ajax Display size of sql table (always display current size)

    Thank you very much, I was having a hard time wrapping my head around dealing with the program flow and then returning/updating. What you said really cleared up how this process works! I have...
  7. PHP / ajax Display size of sql table (always display current size)

    I am working on a simple website using html,css,php, and some jquery currently (sliders). Currently when they are logged in it shows how many other users are also logged in. I have this all in a...
  8. Replies
    0
    Views
    282

    Simple PHP cURL RESTfull client

    So I am trying to broaden my web skills by learning cURL and handling a GET request as JSON. So far I have a database set up that has a table of unique id's and usernames, and another table that...
  9. Replies
    27
    Views
    1,246

    Re: Program A Device

    Not sure if it is just because of well designed website - but in all honesty after looking at all these options - it appears to me the Arduino boards are actually what I am looking for. I feel like...
  10. Replies
    27
    Views
    1,246

    Re: Program A Device

    Totally agree. I have taken a Computer Organization course which went slightly into digital circuits (mux/and/or gates) and it definitely a challenge for me because of little prior knowledge. Another...
  11. Replies
    27
    Views
    1,246

    Re: Program A Device

    Wow! Thank you all so much for the responses they have all been so helpful!

    @xb12x - thank you for mentioning that there are emulators for android development. This has been something of interest...
  12. Replies
    27
    Views
    1,246

    Program A Device

    I really have no idea where to put this question - so I will put it on my favorite programming forum to start before I can narrow in on specifics.

    I am a very experienced programmer with 3 years...
  13. Re: C differentiate between TCP/UDP on same socket

    True, I think I may have used poor wording because I dont mean 'socket' more as a C server listens on a certain port, and binded to that port is a TCP listener and a UDP listener. I have seen an...
  14. C differentiate between TCP/UDP on same socket

    I am writing a server.c in which on the same socket I am allowing TCP and UDP connections. Currently my TCP works fine and much of the core of the structure is very similar to this websites examples:...
  15. Replies
    5
    Views
    700

    Re: size in bytes of char *

    Oh okay, so the size of the pointer name is 4, which is size of int so that makes sense. so after I find the length of valid chars in my name pointer (etc. b,o,b,\0), I take my i counter and that is...
  16. Replies
    5
    Views
    700

    size in bytes of char *

    So I am trying to figure out the size of a char * array I have in bytes. I am just confusing myself by trying to figure this out because of:


    sizeof(char) = 1
    sizeof(char *) = 4

    So I am going...
  17. Replies
    2
    Views
    849

    [c] break up char pointer array

    I have a function which returns a pointer to a string of chars (max being max size in bytes)



    int read_ret(char *message, int max);
    read_ret(&msg, 80);


    I know this msg has two strings...
  18. Replies
    2
    Views
    450

    [ubuntu] map to ubuntu server drive

    So I have an ubuntu server, I just added an external HD to it (ntfs), now on my mothers windows computer I would like to map a network drive to this ntfs hard drive so she can back up her files. I...
  19. Replies
    3
    Views
    382

    trace scanned image

    I have a picture that is black and white and is an outline of objects. I have lots of these and what I did was scan them into my computer and now I just need the outline of it on the computer and not...
  20. Replies
    1
    Views
    566

    Re: PostgreSQL query start up help

    Ok, so right now im working with this command:


    psql --host=localhost -U tempusr -f set_everything_up.sql

    which returns:


    psql: FATAL: password authentication failed for user "tempusr"...
  21. Replies
    1
    Views
    566

    PostgreSQL query start up help

    Just need some help with the initial set up of starting to make a query file using psql.

    Currently I have an .sql file which creates a bunch of tables and also fills in the tables with data.

    I...
  22. Replies
    13
    Views
    3,118

    [SOLVED] Re: C char from recv null terminate for strcmp?

    Correct I am using Telnet, reason being was just for testing quick test cases on my localhost as opposed to running my client.c. I appreciate all the help and definitely learned alot about chars[] in...
  23. Replies
    13
    Views
    3,118

    [SOLVED] Re: C char from recv null terminate for strcmp?

    Ok I did what you said spjackson this is my output:


    >>Q (81)
    >>U (85)
    >>E (69)
    >>U (85)
    >>E (69)
    (13)
    >>
  24. Replies
    13
    Views
    3,118

    [SOLVED] Re: C char from recv null terminate for strcmp?

    My STDOUT looks like this when doing that loop:


    >>Q
    >>U
    >>E
    >>U
    >>E
    >>
    >>
  25. Replies
    13
    Views
    3,118

    [SOLVED] Re: C char from recv null terminate for strcmp?

    running a quick test when using memset(message,'\0',sizeof(message)):


    int i;
    for (i=0;i<sizeof(message);i++) {
    printf(">>%c\n",message[i]);
    }

    I see that...
Results 1 to 25 of 117
Page 1 of 5 1 2 3 4