Search:

Type: Posts; User: Wintersun

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    2,795

    hehe okay :-) ehhh now you all probably laugh...

    hehe okay :-) ehhh now you all probably laugh your asses off, but what is a wide string? hehe... Windows has lots of weird types, but I'm looking forward to delve deeper into the universe and learn...
  2. Replies
    8
    Views
    2,795

    Hey thanks man that actually worked :) I...

    Hey thanks man that actually worked :)

    I disabled the unicode, and switched to something called "multi-byte character set" and I am now able to compile. Thanks a lot for your help :)
  3. Replies
    8
    Views
    2,795

    Problem compiling simple code examples

    Okay I am new to Windows programming in C++, so I am looking at various tutorials on the internet in order to learn about it. My problem is that none of the code examples so far have been compilable...
  4. haha yeah you are right - I guess that's what...

    haha yeah you are right - I guess that's what makes it seem very nice for noobs like me. Haha!
  5. thanks a lot!! :-) now I'm on my way to mastering...

    thanks a lot!! :-) now I'm on my way to mastering what appears to be the programming language I've dreamed of..hehe.
  6. system("pause") in C#? (warning: noob question)

    Hi guys!

    First of all: I am totally new to the laguage C# - just learning the basics right now. I have some experience with C and C++ though. I just typed a simple program and compiled it, but...
  7. Replies
    4
    Views
    1,043

    So that means that return new Best( value,...

    So that means that

    return new Best( value, bestRow, bestColumn );

    allocates memory for a class of type Best?
    What would the equivalent expression look like in C?
  8. Replies
    4
    Views
    1,043

    Return new(bla bla)...?

    Hello there,

    At the moment I am writing a little game in C for a project at the University I am attending. The game is Connect Four. My tutor gave me an example program written in Java, so I am...
  9. Replies
    9
    Views
    2,945

    Thanks for the code example..I have a few...

    Thanks for the code example..I have a few questions regarding the functions:


    for ( flines = 0 ; fgets(buf, sizeof(buf), fp) ; ++flines)
    ;

    how can this function count the number of lines...
  10. Replies
    9
    Views
    2,945

    Thanks for the code, man - this works fine. ...

    Thanks for the code, man - this works fine.

    However, since I am a noob at programming, I don't understand this part of the code:
    && fgets(buf,sizeof(buf),fp); ++i)

    Any idea how I could remove...
  11. Replies
    9
    Views
    2,945

    Reading a line from a file in C

    Hi!

    For 2½ months I have been taking classes in C-programming, and at the moment I am writing a program for my exam.

    A part of the challenge is to read in a random line consisting of two words...
Results 1 to 11 of 11