Search:

Type: Posts; User: cowell_theodore

Search: Search took 0.01 seconds.

  1. Sorry bout that, I just wanted to show a safer...

    Sorry bout that, I just wanted to show a safer alternative to atoi. thanks for the advice.
  2. here is how I would do it, but you probably are...

    here is how I would do it, but you probably are not programming on windows.


    #define UNICODE
    #define _UNICODE
    #pragma comment(lib,"Shlwapi.lib") //for StrToInt
    #include <tchar.h>
    #include...
  3. Replies
    3
    Views
    722

    okay... int i; i = 10; printint(i); /*...

    okay...

    int i;
    i = 10;
    printint(i);

    /* goes a little something like this...No need to show you how to balance stack.
    start:
    mov i,10
    push i
  4. Replies
    4
    Views
    1,503

    Also if it were me I would have a separate thread...

    Also if it were me I would have a separate thread do this so you don't freeze the program for 3 seconds. But I don't know hardly nothing about programming in dot net, Primarily because I'm already...
  5. Replies
    4
    Views
    1,503

    If you weren't doing in in dot net I could show...

    If you weren't doing in in dot net I could show you.
    but maybe... Just a delay for three seconds under c++ I would right...


    #include <tchar.h>
    #include <Windows.h>

    class CMyTimer
    {
    ...
  6. Replies
    8
    Views
    3,264

    at first glance

    I noticed that you were using string, which is part of STL. If you have to use STL, here is something to consider...
    basic_string<char> str2;
    basic_string<char> ::iterator itr;

    then we can...
Results 1 to 6 of 7