Search:

Type: Posts; User: owi_just

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,067

    thanx laserlight but it didnt really work, maybe...

    thanx laserlight but it didnt really work, maybe you can explain it to me a little more
  2. Replies
    3
    Views
    1,067

    my string class

    I am trying to write my own string class but I have trouble writing:
    operator<<
    operator>>
    How do I access ostream and istream?
    Please help?
  3. Replies
    6
    Views
    1,142

    so your saying that there is no reason to use...

    so your saying that there is no reason to use structs in c++?
  4. Replies
    6
    Views
    1,142

    structs in c++

    Quick question:
    Someone told me that it's not customary to use structs in c++,
    is this true? :confused:
  5. Thread: sorting words

    by owi_just
    Replies
    5
    Views
    2,248

    manually?

    manually?
  6. Thread: sorting words

    by owi_just
    Replies
    5
    Views
    2,248

    sorting words

    Dows anyone have any tips on how to sort a list of words (names) ??? thanx
  7. Replies
    4
    Views
    2,515

    Do I have to define constants? Can I use the...

    Do I have to define constants?
    Can I use the parameters that are passed to the function to declare the size?
  8. Replies
    6
    Views
    5,826

    Thanks for the help, it helped me undestand alot.

    Thanks for the help, it helped me undestand alot.
  9. Replies
    4
    Views
    2,515

    dynamic allocation of 2d array

    I need to dynamicly allocate a 2 dimensional array in a function.
    The parameters that are passed to the function are the columns and rows of the matrix.(Do i use malloc, calloc, new...)?
  10. Replies
    6
    Views
    5,826

    The function has to be recursive and when I call...

    The function has to be recursive and when I call the function from inside the function i'll have to write:
    avgL=AverageOfValues(root->left, &num_of_nodesL);
    and from what I understand you can't do...
  11. Replies
    6
    Views
    5,826

    passing variables between functions

    I have a function that its prototype is:

    float AverageOfValues(TNODE *root, int *amm_of_nodes);
    I know that, unlike in C++, in C you cant pass variables by-refrence (&var),
    My question is how...
  12. Replies
    2
    Views
    6,785

    thanks salem it worked!!

    thanks salem it worked!!
  13. Replies
    2
    Views
    6,785

    Passing 2d arrays to functions

    Pleeaase help,
    I have the following code that when I run it in *.cpp file it compiles and works but when I compile it as *.c, I get the following errors:


    --------------------Configuration:...
  14. Thread: binary tree

    by owi_just
    Replies
    3
    Views
    1,849

    i have a homework assignment to whrite various...

    i have a homework assignment to whrite various functions (i.e. adding leaves, counting the nodes ....)and i have to test them on trees to see if i did them right. I thought maybe i can write a...
  15. Thread: binary tree

    by owi_just
    Replies
    3
    Views
    1,849

    binary tree

    Can anyone give me an idea of how i can write a program that makes a binary tree so that i can test other programs that work with binary trees?
  16. Replies
    1
    Views
    1,615

    passing 2dimensional arrays to functions

    Can someone explain to me about passing 2 dimensional arrays to functions.
    To bemore specific:
    I know that the function prototype should look like:
    int MatSum(int mat[][N], int row, int col)
    but...
  17. Replies
    3
    Views
    1,554

    isnt there a way to format scanf and then check...

    isnt there a way to format scanf and then check the return value?

    something like :
    res = scanf("/*whatever*/", ***);
  18. Replies
    3
    Views
    1,554

    reading chars with scanf

    Im writing a program and in it I ask the user to enter a certain ammount of letters seperated by a space (i.e: "a b c"). How can I do this while making sure the input is valid (separated by a...
  19. Replies
    5
    Views
    1,128

    thanx for the replies, i was playing around...

    thanx for the replies,
    i was playing around with it a little more,
    whould it work if i declared the struct in one of the .h files and include it in main.c,
    whould all the files recognize it that...
  20. Replies
    5
    Views
    1,128

    multiple file scope question

    I am making a program with multiple *.c files and multiple *.h files.
    I want to declare a "typedef struct" like this:


    typedef struct node{
    char data;
    struct node* next;
    )NODE;
    ...
  21. Thread: ramdom??

    by owi_just
    Replies
    3
    Views
    1,050

    ramdom??

    can someone please explain to me how I can get a random number???
  22. Thread: Adt

    by owi_just
    Replies
    1
    Views
    994

    Adt

    Can someone tell me where i can find a good (or any) tutorial on abstract data types?
  23. Replies
    2
    Views
    1,328

    thanx that helped

    thanx that helped
  24. Replies
    2
    Views
    1,328

    binary to decimal

    Can anybody please tell me how i can convert a binary number to decimal.
    And, if its at all possible, how to do it without knowing how many digits are in the binary number

    Thanks
  25. Replies
    2
    Views
    8,288

    array to linked list

    hi,
    I have to write a few functions that do a few things with two linked list, but the problem is that i have to test them with linked lists. Does anybody have a quick code that can convert an array...
Results 1 to 25 of 36
Page 1 of 2 1 2