Search:

Type: Posts; User: artur

Search: Search took 0.01 seconds.

  1. Replies
    41
    Views
    5,661

    to goto or not to goto?

    All right, couldn't find a compiler that does not recognize the for keyword with empty parameters.

    The while(1) statement issues a warning at my Freescale's Codewarrior 5.0 compiler: that's why I...
  2. Replies
    41
    Views
    5,661

    Is GOTO a bad idea ever?

    Hi all!

    Well programmers are unanimous when it comes to use the goto keyword: everybody aggrees it's a bad idea to use it AT ALL.

    Is that really true? For example, this code:



    int main()...
  3. Really? So I'll need a good PRNG. By mencioning...

    Really? So I'll need a good PRNG. By mencioning it, you meant that I'd have to implement my own PRNG code?

    Thanks for the fast answer!
  4. Random function @ stdlib.h: how do they behave?

    Hi all,

    When generating pseudorandom numbers using the ISO C library stdlib.h (the classical sequence):


    srand(mySeed);
    int myRandomValue = rand();

    I need to know what effectively happens....
  5. Replies
    11
    Views
    5,131

    Solved!

    I managed to make it work, but I don't know what I did right...
    (I think the trick is including the windows.h header) I used the ResEdit software on a random DLL I took from C:\Windows\. Using that...
  6. Replies
    11
    Views
    5,131

    Not exactly!

    Not exactly! This was not the solution (sorry I made you misunderstand), but I managed to find a way to make it work. I'll explain in my next post.
  7. Replies
    11
    Views
    5,131

    What?? Well, g++ goes not give me any error at...

    What?? Well, g++ goes not give me any error at all, at the end of build. What do you mean by unreferenced?

    My command is something like
    g++ -shared -p -pg -o tmydll.dll Sources\Comm.o...
  8. Replies
    11
    Views
    5,131

    Language correction

    Language corrected! I noticed that before, I wanted this thing working before writing real values to the Resource File... :tongue:
  9. Replies
    11
    Views
    5,131

    DONE, but not working!

    Done! But nothing happened :tongue:. I followed these steps:

    1.Created my .rc file



    #define VER_FILEVERSION 3,10,349,0
    #define VER_FILEVERSION_STR "3.10.349.0\0"
    ...
  10. Replies
    11
    Views
    5,131

    DLL Properties @ Windows7 using g++

    Hi all,

    I constructed a DLL @ Windows7 using g++ and Eclipse. I want to show the version of the DLL file at the properties:details windows in Windows Explorer (this way my client can see what...
Results 1 to 10 of 10