Search:

Type: Posts; User: pcwizzzz

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    2,145

    Thank you all!!!

    Hey there,
    Sorry it toke me so long to reply but i was caught into some exams. First of all i want to thank you all here for your help. Second, Hammer, thank you, that was the problem, a dot and a...
  2. Replies
    10
    Views
    2,145

    here is the code again: float generare(void) {...

    here is the code again:
    float generare(void)
    {
    int r;
    float U;
    randomize();
    r=random(100);
    U=r/99;
    return U;
    So, randomize initialize the random generator. Then, r gets an integer number...
  3. Replies
    10
    Views
    2,145

    Thanks everybody, I still see my version as...

    Thanks everybody,
    I still see my version as being the easiest, i just haven't found yet the mistake. Probably isn't a big mistake, that's why i cant see it.
    Oh, and thanks Code Jerk but it cant...
  4. Replies
    10
    Views
    2,145

    problems with generating random numbers

    Hi everybody,
    I have a problem with a fuction that should generate a random number between 0 and 1 but it only generates 0 everytime. i dont know what's wrong anymore, if someone could help me i...
  5. Thread: C# tutorials

    by pcwizzzz
    Replies
    2
    Views
    1,527

    C# tutorials

    Hi all, i need an information. I learnt C for a while and now i'm trying to study C#. I'm not too good on C but i can handle it. Where could i find some good tutorials about C#? Or some free online...
  6. Thread: Getchar

    by pcwizzzz
    Replies
    4
    Views
    1,442

    Ok. Now another problem linked to strings. I read...

    Ok. Now another problem linked to strings. I read a string into a array of char and want to count the letters. i put the !='\0' condition in a while statement but still, when i type space it stop...
  7. Replies
    2
    Views
    1,038

    Return, what, and what for!!!!

    Ok, so every function has to return something. right. now, it returns something by an argument that i define it. what for the return statement? I read some messages posted here about that but still...
  8. Thread: Getchar

    by pcwizzzz
    Replies
    4
    Views
    1,442

    Getchar

    I dont get this:
    c=getchar(). where c is an integer type. so getchar takes the input from a file or keyboard and put it into a numerical variable. how that? what does this function return? the ascii...
  9. Thread: Eof

    by pcwizzzz
    Replies
    2
    Views
    1,328

    Eof

    Hi there. I'm a bit confussed. Theoretically i know what's the meaning of EOF but practically not really. So, have a text that i read with getchat and in an IF structure have the condition...
Results 1 to 9 of 9