CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: click66

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    786

    how to create a 2D world with a bitmap

    Dear,

    I'm new to game programming and I've got a project for school to create a game like worms. (you know the team17.com games).

    With a little research I found that the best way to create the...
  2. Re: Operator overloading (insertion operator and extraction operator)

    1>c:\users\don\documents\visual studio 2010\projects\oefeningen\operatoroverloadingh9\complex.h(49): error C2143: syntax error : missing ';' before '&'
    1>c:\users\don\documents\visual studio...
  3. Operator overloading (insertion operator and extraction operator)

    Hi,

    I'm trying to overload the insertion operator, it's one off the exercieces I need to make for my class. Every operator that i've overloaded works fine except the insertion operator.

    I've...
  4. Replies
    3
    Views
    2,691

    Re: Visual studio fatal error LNK1104

    Thanks guys :-)
  5. Replies
    3
    Views
    2,691

    Visual studio fatal error LNK1104

    Hi guys,

    i'm working in visual studio 2010 ultimate and I've wrote a small program, it first worked fine but when I wanted to rerun it it gave me this error:

    LINK : fatal error LNK1104: cannot...
  6. Replies
    1
    Views
    460

    Replace a color in a html text file (C)

    Hi guys,

    I've wrote this code that can replace a color to a new one but there is still one problem.

    When the original code is longer then it gives me a problem for example:

    the code is...
  7. Replies
    8
    Views
    1,012

    Re: how to delete a file?

    yeah it is working, but it always sais the first thing of the if test. it doens't delete anything..
  8. Replies
    8
    Views
    1,012

    Re: how to delete a file?

    the file exists and is in the same location? But i'm working in C not C++, so is there no way to delete a file?:s
  9. Replies
    8
    Views
    1,012

    how to delete a file?

    Hi guys,

    I''m working on my last part of a program and I don't know how to delete a file.

    I thought it would be something like this:




    if( remove("backup.txt") != 0 )
  10. Replies
    5
    Views
    1,798

    Re: Pointer problem with structs

    found the problem, had to define my pointer above the if test:)
  11. Replies
    5
    Views
    1,798

    Re: Pointer problem with structs

    sorry didn't saw the tags button. Changed it.
  12. Replies
    5
    Views
    1,798

    Re: Pointer problem with structs

    Yep sorry forgot to include my header file but still these errors:

    error C2223: left of '->volgende' must point to struct/union
    error C2065: 'pointer' : undeclared identifier
    warning C4047:...
  13. Replies
    5
    Views
    1,798

    Pointer problem with structs

    Hi guys,

    I'm writting a function to read in a tekst file and create a struct of the information.
    Now I think everything works but only the subdynamic list doens't work because of my pointer.
    ...
  14. Replies
    5
    Views
    808

    Re: Read a file back in (C)

    Yeah I get it :-) but I'm sitting with a problem never did this before. But It gives me some errors to read the txt file back in the struct this is my code:

    http://pastebin.com/eGn6igCP

    This...
  15. Replies
    5
    Views
    808

    Re: Read a file back in (C)

    Thanks for you help already. But we need to use time.h so it's a lib of C, that's why the time is in that format.

    I'm going to try how you explained. But how do you see it with the time then?
  16. Replies
    5
    Views
    808

    Read a file back in (C)

    Hi,

    I've just searched for a function to read a file backin i've worked something out like this

    void leesIn(Lijst lijst)
    {
    char buffer[100];
    FILE *fptr;
    fptr=fopen("backup.txt","r");...
  17. Replies
    2
    Views
    1,294

    Re: Union problem in C

    Thanks:) awesome. It works.
  18. Replies
    2
    Views
    1,294

    Union problem in C

    Hi guys,

    I know it's a C++ forum but C++ is also ansi C so I would give it a shot.

    I've got a small problem, I made a struct with this union:



    union {
    Task *task;
Results 1 to 18 of 18





Click Here to Expand Forum to Full Width

Featured