Search:

Type: Posts; User: tzpb8

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    3,333

    Woaw, it works beautifully, strcpy is exactly...

    Woaw, it works beautifully, strcpy is exactly what i asked for, thanks again Dave your great :)
  2. Replies
    14
    Views
    3,333

    I wanted to learn pointers and arrays better but...

    I wanted to learn pointers and arrays better but now i'm moving on to structers so thanks for the rewrite Dave but sence i cant at variables declaration inside structers assign values, how can i...
  3. Replies
    14
    Views
    3,333

    I didn't mean to cause frustration sorry if i...

    I didn't mean to cause frustration sorry if i did, so if i write my loops on one line and statements (however small or large they might be) on another line and write like i did in#4, i would write...
  4. Nani means "what?" though i dont know what ¿Qué?...

    Nani means "what?" though i dont know what ¿Qué? means so i googled it:
    When used with the verb ser, cuál and qué can both mean "what," but they are not interchangeable. Cuál is more common, and is...
  5. Replies
    4
    Views
    1,311

    I dont know much about linux but if you write it...

    I dont know much about linux but if you write it correctly maybe it will workout so here is what you can try to compile it as:


    #include <stdio.h>

    int main(void)
    {

    printf("\n\nHello...
  6. Replies
    14
    Views
    3,333

    @Salem: I use the editor that comes with Dev-C++...

    @Salem: I use the editor that comes with Dev-C++ 4.9.9.2.
    It is not the editor.. its just my taste, see i even forgot to add line breaks within the blank() function for printing out an almost clear...
  7. Replies
    14
    Views
    3,333

    @siavoshkc: that works also, cool :) now i think...

    @siavoshkc: that works also, cool :) now i think i know how to do it both ways.
    Though you forgot to edit the arrays passed to not be pointers to pointer arrays but to just pointer arrays like this:...
  8. Replies
    14
    Views
    3,333

    Great thank you, it works :) How is this...

    Great thank you, it works :)

    How is this formating? (it was really hard for me to split the for loops and printf functions to seperate lines :()


    /*Pointer array test.*/
    #include <stdio.h>...
  9. Replies
    14
    Views
    3,333

    Function array and pointer

    I can only get the first element of an array to work when passed to another function.
    If i try to print out the next element of that array in that function i dont get the result i expected (the...
  10. Replies
    47
    Views
    8,284

    I see, wanted to master pointers but i guess its...

    I see, wanted to master pointers but i guess its to early :)
  11. Replies
    47
    Views
    8,284

    If it's a problem i can stop writing numbers in...

    If it's a problem i can stop writing numbers in function names, just thought it looked nicer.. like how you like to have whitespace
  12. Replies
    47
    Views
    8,284

    yeah i know lol.. thats why i asked if i'm on to...

    yeah i know lol.. thats why i asked if i'm on to something
    'array' declared as function returning a function -is one of the warning i got
  13. Replies
    47
    Views
    8,284

    jibberish makes more sence if mixed with logic

    jibberish makes more sence if mixed with logic
  14. Replies
    47
    Views
    8,284

    an pointer array of three pointer types pointing...

    an pointer array of three pointer types pointing to function type int named sUP3r with the parameter blue int type
  15. Replies
    47
    Views
    8,284

    Think i'm on to something? #include...

    Think i'm on to something?


    #include <stdio.h>
    int sUP3r(int a);
    int g1uE(int a);

    int main(void){
    int a = 18;
    int (* array[3]) (int sUP3r) (int blue);
  16. Replies
    47
    Views
    8,284

    Oooh but when you say name is a type you make me...

    Oooh but when you say name is a type you make me think it's either int char or float etc, what i meant with name is the name of the pointer itself. You mean that name is an array? when you say name...
  17. Replies
    47
    Views
    8,284

    function pointer is: datatype (* name)...

    function pointer is: datatype (* name) (parameter types)
    array pointer is simply: datatype (* name) []
    Right? or can i write it in another way without parenthesis? so i can figure out how...
  18. Replies
    47
    Views
    8,284

    Thanks, i got alittle lost after reading...

    Thanks, i got alittle lost after reading "declaring" and also after reading about function pointers this much so i wanted to atleast understand how to define them :)
    Though "
    int (* a) []; // a is...
  19. Replies
    47
    Views
    8,284

    This is how you define/declare a function...

    This is how you define/declare a function pointer? e.g: int (* name) (parameters) ?
  20. Replies
    47
    Views
    8,284

    pointers hold memory addresses nothing more...

    pointers hold memory addresses nothing more right? so a function pointer would be the same i reconned.
  21. Replies
    47
    Views
    8,284

    I dont know what that is if you say declaration,...

    I dont know what that is if you say declaration, no.
    Defining a pointer: a[] is the same as *a, and *a is a pointer, So is (* a) [] really an array?
  22. Replies
    47
    Views
    8,284

    And what memory address do assign to that...

    And what memory address do assign to that function pointer?
  23. Replies
    47
    Views
    8,284

    So i can pass the "return" value of a function to...

    So i can pass the "return" value of a function to another function with a function pointer?
  24. Replies
    47
    Views
    8,284

    About my coding style.. it comes from html.....

    About my coding style.. it comes from html.. wrote some sites and i think i have a clear way of seperating tables/functions, which i think is most important, sence everything is written in blocks and...
  25. Replies
    47
    Views
    8,284

    Oooh i see simple enough :)

    Oooh i see simple enough :)
Results 1 to 25 of 36
Page 1 of 2 1 2