Search:

Type: Posts; User: jennilla

Search: Search took 0.01 seconds.

  1. Thread: beginner

    by jennilla
    Replies
    22
    Views
    2,112

    Thank you all, everything is right now. tomorrow...

    Thank you all, everything is right now. tomorrow I will be back with new assignment and new questions :)
  2. Thread: beginner

    by jennilla
    Replies
    22
    Views
    2,112

    excactly, should it be list[i] = i;?

    excactly, should it be list[i] = i;?
  3. Thread: beginner

    by jennilla
    Replies
    22
    Views
    2,112

    ok, now it works, but works wrong, it writes in...

    ok, now it works, but works wrong, it writes in wrong numbers.
  4. Thread: beginner

    by jennilla
    Replies
    22
    Views
    2,112

    it still says that there is an error......

    it still says that there is an error... confused...
    int main()
    {
    int i,list[10];
    int j=0;

    for (i=0, i<10, i++){
    list[j] = i;
    };
  5. Thread: beginner

    by jennilla
    Replies
    22
    Views
    2,112

    and I also need the code to write numbers in the...

    and I also need the code to write numbers in the array by itself not manually, but inthis way I have an error -parse error before'?
    If I have to write the code in defensive programming, then what...
  6. Thread: beginner

    by jennilla
    Replies
    22
    Views
    2,112

    and one more question - what is deffensive...

    and one more question - what is deffensive programming?
  7. Thread: beginner

    by jennilla
    Replies
    22
    Views
    2,112

    Thanks

    ok, now it writes 0 in even numbers, but how to get them deleted. i could rewrite the array somehow? and why do I need (int argc, char *argv[]) and #include <stdlib.h>?
  8. Thread: beginner

    by jennilla
    Replies
    22
    Views
    2,112

    beginner

    please help a beginner to start writing the code:
    I need to write a code that writes in a list numbers from 1 to 10 and then delets the even ones. i dont know what to start with. please help.
Results 1 to 8 of 8