I forgot to log in!
klausi
Type: Posts; User: klausi
I forgot to log in!
klausi
unsigned long sizeoffile(FILE *file)
{
fseek(file,0,SEEK_END);
return(ftell(file));
}
klausi
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...
On very-low-level you would have to write a device driver for your soundcard and program the functions you need.
;)
klausi
Thanks, Dave Jay!
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...
Not again!!!
Hereīs my code; itīs my first real C-program:
#include <stdio.h>
#include <string.h>
#define PUFFER 256
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...
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--)
...
Can you exactly define "median"?
I donīt know what it should mean exactly.
klausi
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
Use Linux, and you have a lot of software standing under the General Puplic License (GPL) and you wonīt do piracy anymore.
klausi
>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...
Thanks, I thought to have heard that it would exit.
klausi
@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...
Thatīs what I think about you!
:D
...was only a joke;
nice to know...
klausi
Read automatically fgets() instead of gets().
Itīs better because more secure.
klausi
>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
Ahhhrg!!!!!!!!!!!!!
Not again!!!!!!!!!!!!!!!!!!!!!!!!
klausi
Is there an ANSII-conform way to get return-codes without having to press carriage-return (Enter)?
klausi
I forgot to log in.
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...
Itīs human.
The human irrationality.
klausi
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...
anti-terror-war