Search:

Type: Posts; User: principii

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    3,470

    then use if/else statements?

    then use if/else statements?
  2. Replies
    7
    Views
    5,871

    I figured it out. I had to use autoconf.

    I figured it out. I had to use autoconf.
  3. Replies
    17
    Views
    3,470

    Maybe something like this: void...

    Maybe something like this:


    void enter_grade(int subject, float grade);
    int x=0;
    for(;;)
    {
    int subject;
    float grade;
    printf("Enter subject:\n\t0.Science\n\t1.Social...
  4. Replies
    7
    Views
    5,871

    scrappy - I downloaded the source code for all of...

    scrappy - I downloaded the source code for all of the programs included with unix net prog, and took unp.h from it (i didn't want to type it up myself), stuck it in a directory with subdirectories...
  5. Replies
    6
    Views
    1,077

    A little bit off-topic, but I've noticed in the...

    A little bit off-topic, but I've noticed in the code that he just made more readable, he did:


    return-type
    func-name (type arg)
    {
    ...
    }
  6. Replies
    7
    Views
    5,871

    Problems with sockets under linux

    I've been screwing around with Sockets programming for a little while - just to see what it's like.


    #include "../unp.h"
    #include <time.h>

    int main(int argc, char **argv)
    {
    int ...
  7. Replies
    5
    Views
    1,941

    $rpm --help $rpm -ivh

    $rpm --help
    $rpm -ivh <package>
  8. Replies
    3
    Views
    1,078

    That was exactly my problem! Thanks! I did: ...

    That was exactly my problem! Thanks!

    I did:

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

    int main(void)
    {
    char str[80], backwards[80];
  9. Replies
    10
    Views
    2,734

    Thanks very much! I understand now.

    Thanks very much! I understand now.
  10. Replies
    3
    Views
    1,078

    having a bit of trouble

    I'm doing an excercise in a book I bought, but I figured I'd go an extra mile. And i'm having a lot of trouble in getting this to work. Here is what I have (the part that works.)


    #include...
  11. Replies
    10
    Views
    2,734

    Do you think you might be able to post a quick...

    Do you think you might be able to post a quick example of how snprintf could be used to output information?
  12. Replies
    10
    Views
    2,734

    I've heard very bad things about sprintf() and...

    I've heard very bad things about sprintf() and that it should not be used. What kind of security risks might it impose? Would printf() be a security hazard? What alternatives are there that provide a...
  13. Just popping in. For what reason would you need...

    Just popping in. For what reason would you need to use a unix-based operating system? It appears to me, that it would be of no use to you. It takes time to learn the complexities and nuances of a...
  14. Replies
    10
    Views
    2,734

    That helped a little bit, but it wasn't what I...

    That helped a little bit, but it wasn't what I was really looking for. I want to know in what type of situations you would use the different printf()'s. And how to use them so that your program...
  15. Replies
    10
    Views
    2,734

    (x)printf() - very confused

    Hello all. I've been reading through various materials and have come to confuse the living kaboodles out of myself. This might be asking a lot, but could someone please explain the differences...
Results 1 to 15 of 17