Search:

Type: Posts; User: viper2k

Search: Search took 0.00 seconds.

  1. Thread: Array question

    by viper2k
    Replies
    12
    Views
    1,087

    Ah .. that is it :D ... thats fun about coding...

    Ah .. that is it :D ...

    thats fun about coding ... this is something I should have known.. I just was unable to see it. :)..


    I placed a


    --i;
  2. Thread: Array question

    by viper2k
    Replies
    12
    Views
    1,087

    Hmm... I've been following the values .. and...

    Hmm...

    I've been following the values .. and the numbers check out...
    I've edited the code so it outputs the value changes.


    void reverser(char input[], char output[])
    {
    int i,...
  3. Thread: Array question

    by viper2k
    Replies
    12
    Views
    1,087

    Thanks for the reply ... I do not really...

    Thanks for the reply ...

    I do not really understand what is not right about swapping the bytes in an array ...
    This code is just for learning purposes so I'm not asking for a code re-write, I...
  4. Thread: Array question

    by viper2k
    Replies
    12
    Views
    1,087

    I see your point... Though I must add I;m into...

    I see your point...

    Though I must add I;m into my 3th day of C programming so that's why my codes are somewhat bloated...

    But aside from that (which I'm interested in also ofcourse...). This...
  5. Thread: Array question

    by viper2k
    Replies
    12
    Views
    1,087

    Array question

    Hi.. Working on a function.. which should reverse a simple array...


    void reverser(char input[], char output[])
    {
    int i, c;
    for(i=0; input[i] != '\0'; ++i);
    for (c=0;i !=0; ++c){...
  6. Replies
    7
    Views
    2,568

    lol :) ok .. I think I'll stick with Pelles and...

    lol :) ok .. I think I'll stick with Pelles and GCC for now then..

    My main goal at this moment is to learn C the right way and if I see the replies my humble conclusion is that with VS and so I am...
  7. Replies
    7
    Views
    2,568

    OK... The plan is to go to C++ & Assambly in time...

    OK... The plan is to go to C++ & Assambly in time .. but first C :P ...

    Well the problem in VS is when I start a new project I only have the options : Visual C++, Visual Basic, Visual C# or visual...
  8. Replies
    7
    Views
    2,568

    Beginner question.. wich compiler

    Hi..
    I just started out with C and beginning to like it :) .. With the help of "The C Programming Language" by Kernighan and Rithie I certainly have the feeling it will all work out..

    Question...
  9. Replies
    7
    Views
    1,857

    Ah so what I'm actually doing there is converting...

    Ah so what I'm actually doing there is converting the input 'char' to a readable int for the compiler?

    :) good... now I understand... It frustrates me if I'm using a syntax just because I know it...
  10. Replies
    7
    Views
    1,857

    AH... that was it :D .. I thought in windows...

    AH... that was it :D ..

    I thought in windows with CTRL-C you call for EOF :) .. but indeed with CTRL-Z it works just fine .. :)

    To Comontater:
    Well I can believe there are more efficient ways...
  11. Replies
    7
    Views
    1,857

    stuck on my first day of C coding (arrays)

    I just started out with C .. and I'm kind of stuck on a very simple code...
    What it should do is get input .. and count how much numbers there are.

    Why does this not work ??

    #include <stdio.h>...
Results 1 to 11 of 11