Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Pavlos Touboulidis

@Pavlos Touboulidis
About
Posts
48
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Shog's Quick reply
    P Pavlos Touboulidis

    Navigate to the script first.

    The Lounge question

  • FetchAd Error 500
    P Pavlos Touboulidis

    I doesn't happen too me as well. I have Adblock too but I don't block any CP ads, only a script coming from akamai.net.

    The Lounge com sysadmin help question

  • your car.
    P Pavlos Touboulidis

    I would settle for this.[^] :rolleyes:

    The Lounge question discussion learning

  • Graphic Program
    P Pavlos Touboulidis

    I believe Inkscape is exactly what you're looking for. I downloaded it but I haven't tried it yet.

    The Lounge php database com help question

  • Nerd? Me?
    P Pavlos Touboulidis

    Me too, only 38. I should be happy I scored so low I guess, but I feel a little disappointed :((

    The Lounge php com question

  • Longest Function - my submission
    P Pavlos Touboulidis

    This is really, really scary.

    The Lounge c++ html com tools help

  • Find text in binary files - Unicode
    P Pavlos Touboulidis

    There is Peek. (That's the first link google returned, search for peek11.zip for more links). It's an old, freeware tool that works as a shell extension. Adds the 'Peek' submenu on the right click context menu of explorer and has 3 choices: Binary, Stardard, Unicode. It will search the file you right clicked for strings and display the results with notepad. I use it all the time.

    The Lounge html com design business tools

  • Game - Clear the bombs in 100 seconds.
    P Pavlos Touboulidis

    Just passed it. Level 3 is unbeatable. It's like level 1 but there's a huge dynamite :mad: on the table and if *any* ball hits it, you lose. Final score: 631.

    The Lounge php game-dev question

  • Browser Adding maybe?
    P Pavlos Touboulidis

    Same thing happens to me. I find it very strange, as you said. Now, I use FireFox.

    The Lounge com windows-admin question

  • It was bound to happen :)
    P Pavlos Touboulidis

    I totally agree. 'Jr.' sounds as stupid as 'Version 2.0' to me.

    The Lounge html com question announcement

  • To all new members
    P Pavlos Touboulidis

    Yes! That's a very good idea! You'll be CodeProject's 'familiar': HP 98/100 MANA 120/120> cast brain familiar You point your finger at Nish at utter the word 'Menantera' Nish feels smarter HP 98/100 MANA 110/120> tell familiar cast study TCP/IP You tell Nish to 'cast study TCP/IP' Nish utters the words 'Studucis Internetis' Nish writes an Article about 'Simple TCP/IP Servers' HP 98/100 MANA 100/120> tell familiar cast analyze project You tell Nish to 'cast analyze project' Nish utters the words 'Analysis Incrade' Nish writes some rubbish HP 98/100 MANA 90/120> cast brain You utter the word 'Menantera' You feel smarter HP 98/100 MANA 80/120> cast mana familiar You point you finger at Nish and utter the word 'Manacus' HP 98/100 MANA 30/120> cast brain familiar You point your finger at Nish at utter the word 'Menantera' Nish feels smarter HP 98/100 MANA 20/120> tell familiar cast analyze project You tell Nish to 'cast analyze project' Nish utters the words 'Analysis Incrade' Nish writes a great paper about your current project HP 98/100 MANA 10/120> tell familiar implement paper You tell Nish to 'implement paper' Nish starts working. Nish gives you a CDROM containing source code, compiled code, setup package AND manual. HP 98/100 MANA 0/120> rest You sit down and rest your tired bones HP 98/100 MANA 0/120> meditate You close your eyes and focus on regaining your mana HP 98/100 MANA 10/120> smile You smile happily HP 98/100 MANA 20/120>

    The Lounge

  • GIS info
    P Pavlos Touboulidis

    There's a free library with source code for ESRI shape files. I've used it and it works. http://gdal.velocet.ca/projects/shapelib/shapelib.html. There are lots of GIS data file formats. I suggest you learn a few things about their features before you start working.

    The Lounge csharp graphics help question

  • how do you do special effects on your name?
    P Pavlos Touboulidis

    50 chars max? What a coincidence... That's the default maximum size for text fields in MS Access ;P

    The Lounge question

  • CodeProject banned site
    P Pavlos Touboulidis

    Colin, IMHO, when you're looking for beta testers among programmers, you should describe your product in 2-3 lines, like what it is supposed to do and how. Saying "Speed up your internet connection with VMTU" is not enough, it just looks like I plain web ad. ;)

    The Lounge csharp com

  • Evolution
    P Pavlos Touboulidis

    "i give up. believe what you want, that's the beauty of america." Yeah, believe what you want. We're just going to present it to you they way we like it.

    The Lounge help question code-review

  • Evolution
    P Pavlos Touboulidis

    This is along the lines of the "Q: What are the things that make up Atoms made up of? A: Quarks etc. Q: But what are Quarks etc. made of? A: Errr sub-quarks etc. Q: But what are...." I used to wonder about that a lot back in school, when they started teaching us chemistry. I had asked the teacher several times, but she would never give me a direct anwer. That stupid bi*** just couldn't say "I don't know" :mad:

    The Lounge help question code-review

  • Any budding journalists?
    P Pavlos Touboulidis

    They used to play it here (GR) a couple of years ago, at about 2am. I can still remember the theme song... Wasn't much but a lot better than what they play now... Telemarketing:((

    The Lounge com question announcement

  • Decompilers (Not Java)
    P Pavlos Touboulidis

    LOL :laugh:

    The Lounge csharp c++ java visual-studio

  • Keyboard and Game!
    P Pavlos Touboulidis

    Most games have a "main loop", in conjuction with some timer code to make it run at a constant rate. You can also make a game behaving like a standard application - I mean make it event driven. Of course, you can combine these two... Here is some pseudocode for the 1st and 2nd type: Main Loop

    do
    {
    if (is_key_down(LEFT_ARROW_KEY))
    player.MoveLeft();
    if (is_key_down(RIGHT_ARROW_KEY))
    player.MoveRight();

    draw_background();
    draw_sprites();
    draw_info();

    timer_sync_code();

    }while(!is_key_down(ESCAPE));

    Event Driven Here, the main loop is the standard message dispatcher

    MyApp::OnTimer()
    {
    draw_background();
    draw_sprites();
    draw_info();
    }

    MyApp::OnKeyPressed(int key)
    {
    switch(key)
    {
    case LEFT_ARROW_KEY:
    player.MoveLeft();
    break;
    case RIGHT_ARROW_KEY:
    player.MoveRight();
    break;
    etc, etc, etc
    }
    }

    The reason you have this problem is because windows sends WM_CHAR and WM_KEYDOWN messages using the keyboard delay and repeat rate. If it wasn't like that, it would be impossible to typeeeeeeeeeeeeee;)

    1. One way would be to use DirectInput (part of DirectX). I haven't used it, but I'm sure it won't be hard.
    2. If you're using the game loop method, you could replace the pseudo-is_key_down functions with GetKeyState() (or GetAsyncKeyState()). These functions take the virtual key you're interested in as parameter and return the status of that key. If I remember correctly, you should "and" the return value with 0x8000 to get the pressed/unpressed state.
    3. If you're using the OnTimer() and OnKey() method, you can remove the OnKey() function and use what I wrote above in (2), inside OnTimer().
    C / C++ / MFC help game-dev question announcement

  • Spyware and other unwanted net access
    P Pavlos Touboulidis

    Could it be that you have ZoneAlarm's auto-check-for-updates enabled? Don't think so but who knows... :)

    The Lounge sysadmin help learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups