Results 1 to 25 of 25

Thread: Quick question anybody can answer...

  1. #1

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935

    Quick question anybody can answer...

    Other than \n, what are the common escape chars in PHP, C, C++, etc?

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    \t - Tab
    \f - Form Feed (I think)
    \0 - null terminator
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

  4. #4

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    Originally posted by kovan
    std::endl
    That reminds me: does VB.Net include escape chars like in Java/C++/etc, or are you still stuck with vbCrLf junk?

  5. #5

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    Originally posted by crptcblade
    \t - Tab
    \f - Form Feed (I think)
    \0 - null terminator
    I know there's also \a in C++ for the bell, I think I'm forgetting one

  6. #6
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    There's also \r
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  7. #7
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    Originally posted by filburt1


    That reminds me: does VB.Net include escape chars like in Java/C++/etc, or are you still stuck with vbCrLf junk?
    dont ask me vb questions anymore i have disowned vb

  8. #8
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Now here's another question...

    In C++, there's the long double data type. According to MSDN, long double and double are the same. So what is the point of having long doubles?
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  9. #9

    Thread Starter
    Member filburt1's Avatar
    Join Date
    Aug 1999
    Posts
    6,935
    Yeah, in PHP, that's right

  10. #10
    Fanatic Member Gandalf_Grey_'s Avatar
    Join Date
    Oct 2001
    Location
    the 42nd dimension
    Posts
    665
    I thought a long double was an integer? i am probably wrong though

  11. #11
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    Originally posted by crptcblade
    Now here's another question...

    In C++, there's the long double data type. According to MSDN, long double and double are the same. So what is the point of having long doubles?
    Ah - I believe I can answer that - it is entirely dependant on the compiler how these data types get implemented. Whilst VC++ (what MSDN no doubt refers to) the implementation is the same, yet in another C++ compiler, they would be given different storage space.

    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  12. #12
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    okay, now, what's a Dim?

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  13. #13
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    Declare Immediate Memoryspace
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  14. #14
    Fanatic Member Gandalf_Grey_'s Avatar
    Join Date
    Oct 2001
    Location
    the 42nd dimension
    Posts
    665
    wow ummm i didn't know that, i am not very good with abbrv. i know what they mean but ask me what IDE, (i know scsi), SDRAM (i know Random access memory but i have no clue what the SD is), LASER, SONAR etc. I know what they are i just don't care thier abbreviations

  15. #15
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    SD - Static Disc/Disk RAM.

    IDE - Integrated Development Environment

    LASER - I didn't know that was an abbreviation...

    SONAR - I forget...
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  16. #16
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  17. #17
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    Ok, ok - it's short for Dimension, I was pulling your pud...
    But it sounded good, hey?
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  18. #18
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    Originally posted by rjlohan
    Ok, ok - it's short for Dimension, I was pulling your pud...
    But it sounded good, hey?
    Gandalf_Grey_ you gotta watch RJ.... stand too close, he'll do it again

  19. #19
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    Originally posted by Nucleus


    Gandalf_Grey_ you gotta watch RJ.... stand too close, he'll do it again
    What r u eeking about? You love it - we all know you do...
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  20. #20
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    Originally posted by rjlohan
    SD - Static Disc/Disk RAM.

    IDE - Integrated Development Environment

    LASER - I didn't know that was an abbreviation...

    SONAR - I forget...
    Laser - Light Amplification by Stimulated Emission of Radiation.

    I dont know what SONAR is, but RADAR is Radio Detection and Ranging.
    You just proved that sig advertisements work.

  21. #21
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    Ahh SONAR
    You just proved that sig advertisements work.

  22. #22
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    Sound Navigation & Ranging according to crptcs link...
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  23. #23
    Jethro
    Guest
    Originally posted by crptcblade
    Now here's another question...

    According to MSDN, long double and double are the same. So what is the point of having long doubles?

    You don't have to go to the bar so often...

  24. #24
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    booom,


    boooom



    tish



    bo

    om


    ti
    sh

  25. #25
    DerFarm
    Guest
    two acronyms no one should be without:

    SNAFU
    FUBAR

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width