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
F

Fer Simoes

@Fer Simoes
About
Posts
6
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • strange sum
    F Fer Simoes

    sorry marc, it seems you did not understand the meaning of the post. Nobody here writes crap code :b, it is only for fun

    Regards Fer Simoes

    Clever Code c++ csharp visual-studio question

  • strange sum
    F Fer Simoes

    this is my idea of how 22 came up, by looking at the disassembly the compiler gets the first '++a' and increment a from 5 to 6 then, as thios is a sum it needs the second operand, so get the next '++a' and increments a from 6 to 7. But, when triyng to make the sum it sees 'a' as the two operands for the sum so it uses the last value of 'a' (that is 7) and store it as a result the sum so far is 14 then it sees another su operation with operands 'last_result' and ++a so it increments 'a' from 7 to 8 and sum(last_result + a) giving a value of 22 silly. isn´t it?

    Regards Fer Simoes

    Clever Code c++ csharp visual-studio question

  • strange sum
    F Fer Simoes

    hi everybody, I have recently run into this when taking a silly C++ exam The question was: write the final result for this sum: int a = 5; int c = ++a + ++a + ++a; logically I Thought the result would be 21 and I tested it in two compilers: Visual C++ 6.0 says c == 22 Visual Studio 2005 says c == 24 I hop you enjoy this as much as I. Greetings

    Regards Fer Simoes

    Clever Code c++ csharp visual-studio question

  • Fast Drawing
    F Fer Simoes

    Hi Pocket PC 2000 and 2002 SDKs come with a section named Game API (or GAPI) that is the DirectX version for Pocket PC. Regards Fernando Simoes Fer Simoes

    Mobile graphics game-dev question

  • ports
    F Fer Simoes

    Hi. What kind of PDA do you have? are you using Windows CE? Fon WinCE the sockets functions are the same as for win2K. FS.

    Mobile question

  • bluetooth printing
    F Fer Simoes

    hi: I´m writing a program for printing to bluetooth serial port profile. Since it is managed like a serial port connection I´m able to send data to the printer, but the problem is that if I turn off the printer while sending data, the application doen´t detect it. Could anyone tell me if there is some way to check the status of the connection ? Thanks Fernando Simoes

    Mobile help question
  • Login

  • Don't have an account? Register

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