Search:

Type: Posts; User: cc0d3r

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds; generated 14 minute(s) ago.

  1. Replies
    15
    Views
    3,401

    Take fgets() statement out of the loop.

    <hint>

    Take fgets() statement out of the loop.
  2. Thread: h/w help

    by cc0d3r
    Replies
    20
    Views
    3,835

    So is he having a problem with searching the...

    So is he having a problem with searching the board or turning of precompiled headers?
  3. Thread: h/w help

    by cc0d3r
    Replies
    20
    Views
    3,835

    Exactly _what_ are trying to do ??

    Exactly _what_ are trying to do ??
  4. Thread: h/w help

    by cc0d3r
    Replies
    20
    Views
    3,835

    Not sure, if that's what you want, but here the...

    Not sure, if that's what you want, but here the ansi version:


    #include <stdio.h>

    int main( void )
    {
    int input;

    do{
  5. Replies
    12
    Views
    5,455

    Use to include stdio.h in your code: ...

    Use <> to include stdio.h in your code:

    #include <stdio.h>
  6. Replies
    5
    Views
    1,456

    Post the code that you have so far.

    Post the code that you have so far.
  7. Thread: C Scrolling

    by cc0d3r
    Replies
    8
    Views
    1,785

    The closest thing I can think of right now is...

    The closest thing I can think of right now is ncurses library on UNIX.

    HTH,
  8. Replies
    28
    Views
    3,524

    First and second are examples of the different...

    First and second are examples of the different styles of using '*' operator, but are otherwise equivalent.
  9. Replies
    28
    Views
    3,524

    fputs() expects a FILE * as its second argument,...

    fputs() expects a FILE * as its second argument, so use fputs("TEST", fp) instead.
  10. Replies
    3
    Views
    10,362

    1. There's no reason to redeclare k twice and in...

    1. There's no reason to redeclare k twice and in if-else tests use '==' operator to compare int variables.
    Example:


    void printAttitude(int k) /* declaration of k */
    {
    if(k == 1)
    ...
  11. Replies
    10
    Views
    7,139

    Yes, that's the book I initially started learning...

    Yes, that's the book I initially started learning C from as well as K&R2. This chapter has enough example code on initializing and using mult. arrays. Once you've collected the data, it's trivial to...
  12. Replies
    10
    Views
    7,139

    No reason to worry. Just read your C book, try to...

    No reason to worry. Just read your C book, try to understand the basics (for/while loops, array, functions) , look at the examples, etc. and I'm sure you'll be able to solve this problem ..
    ...
  13. >And i still need help with the 3rd one k=0;...

    >And i still need help with the 3rd one


    k=0;
    do {
    printf("*");
    k++;
    } while(k<97);
  14. What part of this can't you understand, pick any...

    What part of this can't you understand, pick any anonymous ftp site, say ftp.xfree86.org and try to login as "guest".

    This fails because the ftp software by default only accepts ftp/anonymous...
  15. Just login as ftp with the password being some...

    Just login as ftp with the password being some junk containing @ char.
  16. Thread: !!!

    by cc0d3r
    Replies
    2
    Views
    4,546

    Enjoy while you can ;)

    Enjoy while you can ;)
  17. Thread: honeynets

    by cc0d3r
    Replies
    1
    Views
    1,957

    Re: honeynets

    It depends on what you want to accomplish. If you're just wanting to learn about the hacker techniques it might be easier to setup a lab and learn from that.

    HTH,
  18. ftp/anonymous is the standard login for the...

    ftp/anonymous is the standard login for the anonymous ftp. While guest might work for other types of network software, it isn't the case here.

    Anyway, anonymous ftp on your school's server is...
  19. Replies
    6
    Views
    2,659

    KDE's KUser seems to what you're looking for ...

    KDE's KUser seems to what you're looking for ...
  20. Try 'ftp' or 'anonymous' (no quotes) as the login.

    Try 'ftp' or 'anonymous' (no quotes) as the login.
  21. Thread: gdb

    by cc0d3r
    Replies
    2
    Views
    1,462

    http://heather.cs.ucdavis.edu/~matloff/UnixAndC/CL...

    http://heather.cs.ucdavis.edu/~matloff/UnixAndC/CLanguage/Debug.html
  22. Replies
    17
    Views
    2,724

    >this will aviod buffer overflows (segmentation...

    >this will aviod buffer overflows (segmentation faults)<

    Don't be so sure. strn* functions do not protect agains stupidity ;) :

    int main(void)
    {
    char s[5];

    strncpy(s, "A", 10);
    }
  23. Replies
    10
    Views
    5,458

    Can you provide a little more info on that?

    Can you provide a little more info on that?
  24. Replies
    10
    Views
    5,458

    On Unix systems you can also use getpass from...

    On Unix systems you can also use getpass from <unistd.h>:

    #include <unistd.h>

    int main(void)
    {
    char *p;
    p = getpass("Password: ");
    }
  25. Replies
    12
    Views
    3,169

    Never mind

    Never mind
Results 1 to 25 of 61
Page 1 of 3 1 2 3