Search:

Type: Posts; User: mog

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    931

    printf("%%d and \\n"); perhaps..

    printf("%%d and \\n");


    perhaps..
  2. Replies
    2
    Views
    862

    You can use a pointer just like you do. ...

    You can use a pointer just like you do.




    struct Goods_g goods;

    DisplayPort(&goods, your_floats);

    Otherfunction(goods); // will use "goods" populated with values from DisplayPort...
  3. Thread: An Important fact

    by mog
    Replies
    2
    Views
    1,560

    TCP must be used in zone-transfers between master...

    TCP must be used in zone-transfers between master and slave -servers.
    If the TC-bit is set in the response to the resolver, it could either query again for the missing information or switch to TCP...
  4. Replies
    4
    Views
    3,661

    RFC 1939: Each command may be up to 40...

    RFC 1939:

    Each command may be up to 40 characters long.
    Responses may be up to 512 characters long, including the terminating CRLF.

    Responses to certain commands are multi-line. In these...
  5. Replies
    10
    Views
    17,332

    Maybe this will help you understand. ...

    Maybe this will help you understand.



    #include <sys/types.h>
    #include <unistd.h>

    int main(int argc, char *argv[])
    {
    pid_t pid;
  6. Two forms in the same program with one button to...

    Two forms in the same program with one button to open the other with position "Centerscreen".



    public class A : Forms
    {
    public A()
    {
    Button button = new Button("PushMe");
    ...
  7. Replies
    10
    Views
    17,332

    if (pid == 0) { child(1, 2); // ...

    if (pid == 0)
    {
    child(1, 2);
    //
    // And here everything proceed as normal.. At least in your code, because you dont use any return-statement "or" "else"..
    //
    }
  8. Replies
    4
    Views
    2,662

    What?? I dont think there is any room for a...

    What??

    I dont think there is any room for a "or you can" -post!

    It is more like you´re sayin: "C# also works like this".
    You dont have to enter all code that belongs to a class inte the same...
  9. Replies
    4
    Views
    2,662

    Maybe i dont get the whole picture here.. but. ...

    Maybe i dont get the whole picture here.. but.

    If you want a class to hold all your variables/Datasets and equal, you need to declare the variable static also.

    For example:

    Data.cs

    ...
  10. Replies
    37
    Views
    392,744

    Sticky: I think that when you reach a certain level of...

    I think that when you reach a certain level of experience you know what to do and what not to do.
    So in a beginners point of view i think this is a good example, and the main point that i see is
    ...
  11. Thread: Malloc and MPI

    by mog
    Replies
    17
    Views
    21,878

    You need to allocate space for the structure...

    You need to allocate space for the structure also.



    struct Node *n = malloc(sizeof(struct Node));
    n->array = malloc(5 * sizeof(double));
  12. Replies
    4
    Views
    1,737

    You can look at Accept-Language -header that most...

    You can look at Accept-Language -header that most browsers send when entering a webpage.
  13. Replies
    4
    Views
    961

    Im not knocking anything away. Even the most...

    Im not knocking anything away.

    Even the most useless thing would be useful if you put some useful stuff in it..
    I don´t really see the point of replying to me with that.
  14. Replies
    4
    Views
    961

    The first one is a structure containing one int...

    The first one is a structure containing one int and a pointer to another structure of the same kind.
    The second one is quite useless because you only have a pointer to one (probably the first node...
  15. Replies
    3
    Views
    2,677

    Are you compiling / linking against SDL lib? ...

    Are you compiling / linking against SDL lib?



    // ex.
    gcc app.c -o app -lsdl
  16. Replies
    4
    Views
    2,046

    As long as you sit at the same location and...

    As long as you sit at the same location and transfer from one other host to one other host the architecture are of less importance me thinks.
    Just be sure that both DB&#180;s accept connections from you....
Results 1 to 16 of 16