Search:

Type: Posts; User: golem

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,963

    It's nothing. A month ago I read a book on...

    It's nothing. A month ago I read a book on dynamic HTML, which was actually a translation from English into Czech. Several sentences were pretty hard to decipher but among the most interesting parts...
  2. Replies
    18
    Views
    4,642

    I won't be considering IT as a career these days,...

    I won't be considering IT as a career these days, surely not with bad grades. It's apparent that IT drifts overseas for reduced costs in forthcoming years. In longer term it means unemployment for US...
  3. Replies
    20
    Views
    4,507

    Java is nothing compared to C++ speed, but take...

    Java is nothing compared to C++ speed, but take its simplicity and similarity to C++ and you would have the best educational programming language.

    Just few days ago I was able to semi-complete...
  4. Replies
    298
    Views
    166,944

    So showing the war prisoners who violently...

    So showing the war prisoners who violently entered sovereign state is unjustified? It is ridiculous to say that regardless what $$$$ed law says. And you don't mind that U.S attack on Iraq violated...
  5. Thread: Using NaN in c++

    by golem
    Replies
    3
    Views
    13,023

    Exercise for hardboy: double NaN = 0.0 / 0;...

    Exercise for hardboy:


    double NaN = 0.0 / 0;

    double NaN = 1.0 / 0; // this one for infinite and NaN

    and

    int _isnan( double NaN );
  6. Thread: Linking error

    by golem
    Replies
    10
    Views
    10,230

    :)

    :)
  7. Thread: Linking error

    by golem
    Replies
    10
    Views
    10,230

    int __cdecl main () or go to settings menu and...

    int __cdecl main ()

    or go to settings menu and set __cdecl as default
    calling convetion.

    enjoy.
  8. Replies
    16
    Views
    2,863

    Also, having only one experience (programming)...

    Also, having only one experience (programming) makes you much more vulnerable on labour market. Now, after many years I am still more and more convinced that programming can be very good additional...
  9. Replies
    1
    Views
    3,950

    Euclid's algorithm of finding GCD...

    Euclid's algorithm of finding GCD
  10. Replies
    4
    Views
    1,341

    // One of many solutions is this class A {...

    // One of many solutions is this


    class A {
    int x;
    virtual int getFromChild () {return x;}
    public:
    int operator < (A& right) {return this -> x < right.getFromChild ();}
    A (int val = 0)...
  11. Replies
    1
    Views
    2,342

    Book about 3D programming

    Could you suggest a good tutorial (book) about 3D programming for beginners? I want related algorithms, necessary math apparatus, everything needed to make 3D game engines. Book preferred.

    Thanks
  12. Replies
    3
    Views
    2,347

    Yet another solution V is the volume of tank ...

    Yet another solution

    V is the volume of tank

    P1 pumps up V/24 oil per hour

    P2 pumps up V/36 oil per hour

    If they would work together they pumped up V/24 + V/36 oil per hour
  13. Replies
    19
    Views
    2,305

    strtol vs atoi

    Atoi is not more portable than strtol. Both are ANSI but atoi is easier to use, so I chose that one. Isn't it ridiculous to argue about such stupid things?
    :)
  14. Replies
    19
    Views
    2,305

    Didn't you hear about atoi ? It's ANSI. ...

    Didn't you hear about atoi ?

    It's ANSI.


    #include <stdlib.h>

    int atoi( const char *string );
  15. Replies
    3
    Views
    2,579

    Is it homework or exam ??

    Is it homework or exam ??
  16. Replies
    7
    Views
    1,446

    I'm not sure but aren't you asking about ...

    I'm not sure but aren't you asking about

    Project / Settings/ Post-build step Tab ?

    The tab is still there, you can use it with copy ... command,

    in MSVC 6 of course.
  17. Thread: Question...

    by golem
    Replies
    2
    Views
    1,082

    When you have only one execution thread, and this...

    When you have only one execution thread, and this is probably your case, only one thing at a time is performed.

    If you do this kind of design, you should have guaranteed that while manipulating...
  18. Replies
    36
    Views
    6,752

    Poll: My first attempt was in BASIC at school, when I...

    My first attempt was in BASIC at school, when I was 14 and had no idea about computers at all. Pascal was the second but I didn't like it.
  19. Replies
    3
    Views
    2,275

    If I were you I would install 98 instead of XP. I...

    If I were you I would install 98 instead of XP. I used this book
    as a reference to program my latest application and after I finished I was surprised that it didn't work well on XP. Probably stock...
  20. Replies
    2
    Views
    1,045

    Splitter windows are MFC feature. I think they...

    Splitter windows are MFC feature. I think they are ordinary popup windows with thick sizing border both linked together programmaticaly, so they could be managed by mouse. There is a way to create...
  21. Replies
    9
    Views
    1,435

    Among many films I've seen lately was Matrix and...

    Among many films I've seen lately was Matrix and I thought
    I understood it. But what this topic has to do with general C++ ?
    ;)
  22. Replies
    9
    Views
    1,435

    No, it's an historical monster made from clay by...

    No, it's an historical monster made from clay by a jew rabbi which name I haven't remembered. I haven't seen that film.
  23. Replies
    9
    Views
    1,435

    TCHAR szBuffer[50]; wsprintf (szBuffer, TEXT...

    TCHAR szBuffer[50];

    wsprintf (szBuffer, TEXT ("%d"), mysql_num_rows (pResult));

    SendDlgItemMessage (hwnd, IDC_LIST, LB_ADDSTRING, 0, (LPARAM) szBuffer);

    This would work perhaps.
  24. Replies
    9
    Views
    1,435

    Make a text buffer, use wsprintf instead of...

    Make a text buffer, use wsprintf instead of printf and use it outside SendDlgItemMessage function, and then pass the address of this buffer. Isn't it easy?
  25. Replies
    4
    Views
    1,101

    You can use vector instead of list. For...

    You can use vector instead of list.

    For example

    vector<int> array; // Define an infinite array of integers

    And you add an integer, for example 5, to the vector tail by this command
    ...
Results 1 to 25 of 70
Page 1 of 3 1 2 3