Search:

Type: Posts; User: klausi

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    10
    Views
    3,886

    itīs my reply

    I forgot to log in!

    klausi
  2. Replies
    3
    Views
    1,508

    unsigned long sizeoffile(FILE *file) { ...

    unsigned long sizeoffile(FILE *file)
    {
    fseek(file,0,SEEK_END);
    return(ftell(file));
    }


    klausi
  3. Replies
    4
    Views
    1,192

    Hi! Look here...

    Hi!
    Look here.
    You have to learn to inform yourself about standard functions, because programmers often donīt know them exactly.
    You can get the information simply by searching for example at...
  4. Thread: speakers

    by klausi
    Replies
    12
    Views
    2,423

    On very-low-level you would have to write a...

    On very-low-level you would have to write a device driver for your soundcard and program the functions you need.
    ;)

    klausi
  5. Thanks, Dave Jay!

    Thanks, Dave Jay!
  6. Thread: factorial

    by klausi
    Replies
    2
    Views
    1,362

    Itīs not the optimal solution to solve this...

    Itīs not the optimal solution to solve this simple problem recoursively.
    The recoursion wastes a high amount of your stack memory.

    better:


    unsigned int factorial(int n);
    {
    unsigned int...
  7. Replies
    13
    Views
    10,647

    Not again!!! Hereīs my code; itīs my first...

    Not again!!!

    Hereīs my code; itīs my first real C-program:



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

    #define PUFFER 256
  8. Thread: rotate string

    by klausi
    Replies
    10
    Views
    2,199

    Thank you, Prelude for correcting me, but why is...

    Thank you, Prelude for correcting me, but why is my "XOR-trick" "nasty"?
    I used it to save the memory for a temporary variable.

    Maybe that works:


    char *stringturn(char *str)
    {
    unsigned...
  9. Thread: rotate string

    by klausi
    Replies
    10
    Views
    2,199

    void stringturn(char *str) { unsigned int...

    void stringturn(char *str)
    {
    unsigned int front,back;
    char f,b;

    back=strlen(str)-1; /* for the strlen() function you must include string.h */
    for(front=0;front!=back;front++, back--)
    ...
  10. Can you exactly define "median"? I donīt know...

    Can you exactly define "median"?
    I donīt know what it should mean exactly.

    klausi
  11. Thread: London.

    by klausi
    Replies
    21
    Views
    5,692

    I agree with you, Brian. Plymouth is very nice....

    I agree with you, Brian. Plymouth is very nice. Have been there last summer.
    But it doesnīt make much sense to compare Plymouth with London.

    klausi
  12. Thread: Piracy?

    by klausi
    Replies
    41
    Views
    7,745

    Use Linux, and you have a lot of software...

    Use Linux, and you have a lot of software standing under the General Puplic License (GPL) and you wonīt do piracy anymore.

    klausi
  13. Thread: Microsoft Sucks

    by klausi
    Replies
    26
    Views
    5,054

    >It is a new, dangerous way of communism What I...

    >It is a new, dangerous way of communism
    What I said was ironic.
    I said this because some people, who donīt want to understand that Open Source works and makes people more rich, compare Open Source...
  14. Thread: Arrow keys

    by klausi
    Replies
    5
    Views
    3,668

    Thanks, I thought to have heard that it would...

    Thanks, I thought to have heard that it would exit.

    klausi
  15. Replies
    49
    Views
    11,270

    @KEN: >I thought GCC originated on Linux? Or did...

    @KEN:
    >I thought GCC originated on Linux? Or did he write GCC to compile his os?

    Linus Torvalds first used Minix (which was an UNIX-like OS for x86-computers developed by Andrew Tannenbaum) on...
  16. Replies
    49
    Views
    11,270

    Thatīs what I think about you! :D ...was...

    Thatīs what I think about you!

    :D

    ...was only a joke;
    nice to know...

    klausi
  17. Replies
    4
    Views
    1,070

    Read automatically fgets()...

    Read automatically fgets() instead of gets().
    Itīs better because more secure.

    klausi
  18. Thread: gets vs fgets

    by klausi
    Replies
    10
    Views
    2,373

    >Treat it as you would keyword auto and just...

    >Treat it as you would keyword auto and just forget it exists.
    Donīt forget it and read automatically fgets() instead.
    Itīs better.

    klausi
  19. Replies
    4
    Views
    1,870

    Ahhhrg!!!!!!!!!!!!! Not...

    Ahhhrg!!!!!!!!!!!!!
    Not again!!!!!!!!!!!!!!!!!!!!!!!!

    klausi
  20. Thread: Arrow keys

    by klausi
    Replies
    5
    Views
    3,668

    Is there an ANSII-conform way to get return-codes...

    Is there an ANSII-conform way to get return-codes without having to press carriage-return (Enter)?

    klausi
  21. Replies
    49
    Views
    11,270

    Itīs me!

    I forgot to log in.
  22. Thread: Piracy?

    by klausi
    Replies
    41
    Views
    7,745

    Why should poor students by expensive...

    Why should poor students by expensive Microsoft-Software?
    If all software were so expensive, how could they learn anythink related to it?
    I think that this makes the rich richer and the poor...
  23. Thread: Microsoft Sucks

    by klausi
    Replies
    26
    Views
    5,054

    Itīs human. The human irrationality. klausi

    Itīs human.
    The human irrationality.

    klausi
  24. Replies
    15
    Views
    2,174

    Because of the reasons Shiro said, the OTP wasnīt...

    Because of the reasons Shiro said, the OTP wasnīt used very often in practice. The military used and invented new encryption methods, which could decide about the warsīendings. For example the...
  25. Thread: Oxymorons

    by klausi
    Replies
    57
    Views
    9,079

    anti-terror-war

    anti-terror-war
Results 1 to 25 of 197
Page 1 of 8 1 2 3 4