Search:

Type: Posts; User: amahmoo

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: pointers in C

    by amahmoo
    Replies
    3
    Views
    454

    It looks like a cast of var1 to be a pointer of...

    It looks like a cast of var1 to be a pointer of type pointer to var.
    this is what it is
    can you explain this? above in more laymen terms
  2. Thread: pointers in C

    by amahmoo
    Replies
    3
    Views
    454

    pointers in C

    (var *) var1
    can someone explain to me whats happening above
  3. Replies
    6
    Views
    1,067

    no its not i need test_obj to equal to something...

    no its not i need test_obj to equal to something but not null
  4. Replies
    6
    Views
    1,067

    struct question

    typedef struct
    {
    int a =1;
    }
    test_struct;


    test_struct *test_obj = NULL;

    int main ()
  5. Replies
    3
    Views
    605

    simple pointer question

    test(uint8_t *a)
    {
    return 0;
    }


    int main()
    {
    int b;
    test(&b);
  6. Thread: Pointers in c

    by amahmoo
    Replies
    1
    Views
    423

    Pointers in c

    Can someone give me a brief how to us pointer with structs and arrays and using pointers with void as a parameter in a function.
    also i am confused on how function pointers work.? can some one...
  7. Replies
    11
    Views
    744

    thank you this is what i needed to know i...

    thank you this is what i needed to know i appreciate it so much love you laserlight
  8. Replies
    11
    Views
    744

    I am programming in c

    I am programming in c
  9. Replies
    11
    Views
    744

    look i didn't mean what you think doesn't matter....

    look i didn't mean what you think doesn't matter. What you say does matter. I am sorry i didn't mean to sound that way also its my fault i am not clear in what i am asking is becase i dont understand...
  10. Replies
    11
    Views
    744

    i am just trying to set a to 1 using the...

    i am just trying to set a to 1 using the following code up there its from my hw he told us to do it this way it doesnt matter what you think is semantically correct he just doing it to think...
  11. Replies
    11
    Views
    744

    I need the union there i need to do this for my...

    I need the union there i need to do this for my hw for school laserlight can you help?
  12. Replies
    11
    Views
    744

    #include using namespace std; ...

    #include <iostream>
    using namespace std;






    typedef struct
    {
  13. Replies
    11
    Views
    744

    struct question

    typedef struct
    {
    int a;
    }struct_ex



    typedef struct example_1
    {
  14. Replies
    2
    Views
    400

    the_struct is a normal struct

    the_struct is a normal struct
  15. Replies
    2
    Views
    400

    typedef explanation

    typedef void(*ptest)( the_struct * Pthe_struct)

    Can some explain this to me what going on above
  16. Thread: void function

    by amahmoo
    Replies
    5
    Views
    639

    #include #include using...

    #include <iostream>
    #include <stdio.h>
    using namespace std;




    void hi()
    {
    printf("Hi, there!\n");
  17. Thread: void function

    by amahmoo
    Replies
    5
    Views
    639

    can you show me how i should call the examples i...

    can you show me how i should call the examples i put up
  18. Thread: void function

    by amahmoo
    Replies
    5
    Views
    639

    void function

    How do i call void functions
    I know what they are I just get confused I put some examples i dont understand that well. How would i set a return to them and how would i call them. I just am looking...
  19. Replies
    33
    Views
    2,783

    typedef struct { int inst; void * t1;...

    typedef struct
    {
    int inst;
    void * t1;
    } Dip;

    int main()
    {
    Dip req;
    int a;
  20. Replies
    33
    Views
    2,783

    i still dont understand why can you just show me...

    i still dont understand why can you just show me how to do it how will it affect you
  21. Replies
    33
    Views
    2,783

    he wanted me to use typedef struct { ...

    he wanted me to use


    typedef struct
    {
    int inst;
    void * t1;
    } Dip;

    instruction: assign t1 to 1
  22. Replies
    33
    Views
    2,783

    professor told me he told me i need to assign...

    professor told me
    he told me i need to assign adress to void *t1 in struct
    i need to pass adress to struct that adress hold a value of 1
  23. Replies
    33
    Views
    2,783

    req-> unsigned int t1 =1;?

    req-> unsigned int t1 =1;?
  24. Replies
    33
    Views
    2,783

    also operation is going to involve casting

    also operation is going to involve casting
  25. Replies
    33
    Views
    2,783

    your causing pointer to point to that object

    your causing pointer to point to that object
Results 1 to 25 of 86
Page 1 of 4 1 2 3 4