Search:

Type: Posts; User: megablue

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,370

    yup... but I'll add additional detections.

    yup... but I'll add additional detections.
  2. Replies
    4
    Views
    1,370

    I'm not doing something suspicious nor...

    I'm not doing something suspicious nor malicious...
    Just trying to pack the files into an exe so that it could act like utorrent.
    Where the exe act as a very light weight installer (eject the...
  3. Replies
    4
    Views
    1,370

    Store a file into an exe after compiled?

    Is it possible to create an char array and add some markers around the char array so that "file writer" program knows where to start writing and the storage program knows where start outputting and...
  4. Replies
    3
    Views
    3,714

    Yes... I figured that out. That was the reason i...

    Yes... I figured that out. That was the reason i said i tried but all attempts were failed.
    I had studied a few open source wrapper/binding. I knew the header part since it is common for many C++...
  5. I don't know is it the correct method to use....

    I don't know is it the correct method to use.
    But you can always use a special constructor function which live outside the scope of the class.

    for example


    TheObject & createTheObject()
    {
    ...
  6. Replies
    3
    Views
    3,714

    C++ to C binding

    I'm new to C++ and this is my very first attempt to write C++ to C binding.

    Problem: with the code below, i can only create single instance of the set in C. How can I make the variable to create...
  7. Replies
    6
    Views
    2,210

    Win32 Framework For C?

    Is there any good and simple (but complete/advanced) framework for C. I'm creating windows controls on runtimes. Perhaps a framework that cover most aspects of Windows GUI programming in C is enough...
  8. Thread: flip

    by megablue
    Replies
    18
    Views
    2,984

    int n=12345,c=10,a=0; while(n%c!=n*10) {...

    int n=12345,c=10,a=0;
    while(n%c!=n*10)
    {
    a=n%c;
    printf("%d",a / (c/10));
    n-=a;
    c*=10;
    }
  9. Replies
    2
    Views
    5,255

    How to start Game Programming ?

    I know this is very common topic :D ...not only in this forum...also....the world... Most gamers dream about making his/her own game(s)... or programmers may make game for fun

    Anyone can guide...
  10. Replies
    5
    Views
    1,114

    oooh.. i got it... blur :o that mean when i...

    oooh.. i got it... blur :o

    that mean when i want to pass in one arg

    f1(2);/* ---> f(2, 0, 0,0) */

    then it is no so convenient way...

    one of my friend seen an example that using an...
  11. Replies
    5
    Views
    1,114

    :confused: why define f1 .....f4? Is thats...

    :confused: why define f1 .....f4?

    Is thats mean when i call the function


    f(1); /* it pass in f( 1 , 0, 0, 0); */

    right?

    but why i need to define in this way
  12. Replies
    5
    Views
    1,114

    How to set default argurments for function?

    as title
  13. Replies
    11
    Views
    1,680

    you do not need to return any pointer if you do...

    you do not need to return any pointer
    if you do call by reference for both changed and unchanged pointees
    or simply apply the changes to the same pointee
  14. Replies
    13
    Views
    2,712

    is there any possible to solve it using recursion...

    is there any possible to solve it using recursion and without string.h?

    i tried to solve using recursion, but failed.
  15. while(!kbhit()); input = getch(); And why...

    while(!kbhit());
    input = getch();

    And why should i change to this one?
  16. actually what i was trying to understand how the...

    actually what i was trying to understand how the _sleep() function works.... and i'm glad that someone shown me a great example but i not really understand what is the information the program gather...
  17. Some bottleneck in coding digital watch simulator

    I felt like the cloacking() function have a lot of bugs.
    And sometimes when i ran some program like (Azurues, MyIE2) minute in my program gone crazy(changing very fast)...

    Please give some...
  18. Replies
    4
    Views
    2,178

    can someone help me to figure out the problem?

    can someone help me to figure out the problem?
  19. Replies
    4
    Views
    2,178

    Failed Sample 1 input: a+(b/c) output: abc/...

    Failed Sample 1
    input: a+(b/c)
    output: abc/
    Expected : abc/+

    Failed Sample 2
    input: 1+(a+(b/c)-d)
    output: 1abc/+d-
    Expected: 1abc/+d-+
  20. Replies
    4
    Views
    2,178

    Infix to Postfix Coding Problem

    #include<stdio.h>
    #include<string.h>
    #define STACKSIZE 100

    typedef int Item_t;

    typedef struct {
    Item_t Items[STACKSIZE];
    int Top;
    } stack_t;
  21. Replies
    14
    Views
    2,113

    ....erm.. the pointer is the only passed in...

    ....erm.. the pointer is the only passed in element right?
  22. Replies
    14
    Views
    2,113

    oic... when an array passed into a function... it...

    oic... when an array passed into a function... it will be treated as a pointer in the function... and the sizeof array only return the size of the pointer itself not the allocated memory of the...
  23. Replies
    14
    Views
    2,113

    thx...this is a nice function ^_^.. save me a lot...

    thx...this is a nice function ^_^.. save me a lot of time
  24. Replies
    14
    Views
    2,113

    ...erm.... got the idea... malloc(name[BUFSIZ])...

    ...erm.... got the idea... malloc(name[BUFSIZ]) doesn't allocate enough blocks of memory...
    but i still donno how to solve the problem... can you give me some guide
  25. Replies
    14
    Views
    2,113

    void addname(char name[BUFSIZ],struct list1...

    void addname(char name[BUFSIZ],struct list1 **node)
    {
    struct list1 *x,*ptr;
    char *s = malloc( sizeof( name ) );
    x = malloc(sizeof(struct list1));
    strcpy( s, name);
    x->name=s;...
Results 1 to 25 of 51
Page 1 of 3 1 2 3