Search:

Type: Posts; User: Noobwaker

Search: Search took 0.01 seconds.

  1. Can I not do it with C?

    Can I not do it with C?
  2. So I want to make a bunch of text area things

    So I want to make an application/program with a bunch of text area things that the user can paste text into, and press some buttons and have the program process the text and spit out some new text in...
  3. Replies
    2
    Views
    880

    Okay, cool. Thanks.

    Okay, cool. Thanks.
  4. Replies
    2
    Views
    880

    Question about struct pointers

    ...or at least I think that's what it's about.

    Is there any difference during execution between
    obj->thing
    and
    (*obj).thing
    ?
  5. Replies
    4
    Views
    1,587

    Oops... Thanks

    Oops...


    Thanks
  6. Replies
    4
    Views
    1,587

    This line fails: #include "windows.h" #include...

    This line fails:
    #include "windows.h"
    #include "stdio.h"
    #include "time.h"
    #include "math.h"
    #include "string.h"

    typedef struct UNIT{
    void **p;
    int pS;
  7. Replies
    4
    Views
    1,587

    kinda wierd stuff with pointers...

    I'm trying to learn how to do dynamic allocation stuff, so I'm trying to make a program that uses this. I don't get any errors when I compile, and none of the malloc checks print anything, but...
  8. Replies
    12
    Views
    3,963

    Many thanks

    Many thanks
  9. Replies
    12
    Views
    3,963

    I'm not compiling with any C++ stuff. But... I...

    I'm not compiling with any C++ stuff.
    But... I don't think that answered my question. If it did, then I didn't understand it.
  10. Replies
    12
    Views
    3,963

    Then is there another way to do dynamic memory...

    Then is there another way to do dynamic memory allocation?
  11. Replies
    12
    Views
    3,963

    I wanted to use it for a malloced pointer.

    I wanted to use it for a malloced pointer.
  12. Replies
    12
    Views
    3,963

    unknown size for type 'void'

    So, how do I do something like cast a void to an int?
  13. Replies
    8
    Views
    8,461

    So does anyone know why the compiler would freeze?

    So does anyone know why the compiler would freeze?
  14. Replies
    8
    Views
    8,461

    Oh, thanks. I had no idea. Well, now it...

    Oh, thanks. I had no idea.

    Well, now it doesn't give me any errors, but it doesn't compile either. It just kinda sits there, as if the compiler had an infinite loop in it. Or does VC just take...
  15. Replies
    8
    Views
    8,461

    Ok, thanks. All the header errors are gone. Now...

    Ok, thanks.
    All the header errors are gone. Now it just doesn't like my source code.

    errors:

    oRly.c
    oRly.c(154) : error C2143: syntax error : missing ';' before 'type'
    oRly.c(174) : error...
  16. Replies
    8
    Views
    8,461

    Oh... thanks. Ok, I think I fixed the...

    Oh... thanks.


    Ok, I think I fixed the windows.h problem, but now I'm having other problems with the gl header. I'm getting a bunch of these errors:

    gl\gl.h(1151) : error C2054: expected '('...
  17. Replies
    8
    Views
    8,461

    Using VC Toolkit 2003

    I tried to compile a source file that I already had, but I got several errors pertaining to my include files...


    >cl /c wussemblem.c
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version...
  18. Replies
    6
    Views
    2,524

    Oh yea, oops. hehe...

    Oh yea, oops. hehe...
  19. Replies
    6
    Views
    2,524

    I don't know what you meant about me missing a...

    I don't know what you meant about me missing a header file, or calling mis-matched conversion strings, but I took your other 3 pieces of advice, and changing "r" and "w" to "rb" and "wb" made it...
  20. Replies
    6
    Views
    2,524

    The first file is really small, around 100 bytes,...

    The first file is really small, around 100 bytes, and all the rest are 0 bytes.


    #include "windows.h"
    #include "stdio.h"
    #include "string.h"

    void main(){
    FILE *fl1, *fl2;
    char Fn[255],...
  21. Replies
    6
    Views
    2,524

    File reading and writing

    I tried to make a program that takes a file and turns it into a bunch of smaller files, but the output files are always empty... can someone tell me where I'm messing up?


    #include "windows.h"...
Results 1 to 21 of 21