character code points versus plain integers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #31
    And once again, this is where reading helps.

    How to ask a question

    Originally posted by How to ask a question, from the FAQ
    How to ask a question
    Please follow these guidelines when posting questions as submitting clear and concise questions allows those reading to understand your problem and respond more easily.

    * Post your question in a relevant forum
    * Make sure you are not posting in an Articles section
    * Give the relevant Platform, OS and Version information
    o In the C/C++ forum this might be Intel/Windows/MSVC++ 6.0 or StrongArm/ThreadX/Greenhills C/C++
    o In Access it might just be the version of Access you are using 97, 2003 etc.
    * Give as much detail as possible When you post a question or problem, express the situation clearly and concisely and include all relevant information, code used, data used, result expected, result achieved and any error codes or messages that you get as a result.
    * Use Clear English to write your question in if possible, try to avoid using abbreviations
    * Do not use leet speak or text speak, they are not Clear English
    * Make use of the available formatting tags in the forum Use CODE tags around your code as appropriate:
    o
    Code:
    ..code goes here..
    o [code=php] ..php code goes here.. [/code]
    o [code=c] ..C like code goes here.. [/code]
    o [code=html] ..html code goes here.. [/html]
    This will preserve white space and use a mono-spaced font making the code easier to read.
    * Do not ask people to reply by email or follow up answers with a PM
    * Please don't say that a problem is urgent if it's not. If your problem is time sensitive, please give specific time frames e.g. In 3 days, within 24 hours.
    * Please try to read your own post after you've posted it. If you can't make any sense of it, it's a fair bet that our experts will struggle and waste time just trying to understand what you're trying to say. Also, if you get bored when you're half-way through reading it because it rambles on endlessly, how will our experts fare?
    * If you wish to post a question do not post it in a discussion created by someone else unless it is about exactly the same problem. Please start a new discussion.

    * Full list of Code Tag Supported Languages
    * Access Forum Specific Guidelines
    Be sure you actually click on the link - because I'm posting this in a forum, the code tags are being rendered - the link has them how they are supposed to be.
    Last edited by sicarie; Aug 14 '07, 05:54 PM. Reason: Be sure....

    Comment

    • Cyber dorkz
      New Member
      • Aug 2007
      • 25

      #32
      man, i'm soo dutch , do you know that? i dont understand code tags and all that other stuff.

      Comment

      • sicarie
        Recognized Expert Specialist
        • Nov 2006
        • 4677

        #33
        Originally posted by Cyber dorkz
        man, i'm soo dutch , do you know that? i dont understand code tags and all that other stuff.
        Dude, I'm sorry, but if you can't read that an understand (or even try to use them), and haven't noticed that it's also on the box to the right of you when you create, edit, or reply to a thread, I can't help you. Maybe one of the other mods can, but I've been trying all day, and it almost seems like you're trying to be difficult.

        Good luck

        Comment

        • JosAH
          Recognized Expert MVP
          • Mar 2007
          • 11453

          #34
          Originally posted by Cyber dorkz
          man, i'm soo dutch , do you know that? i dont understand code tags and all that other stuff.
          *ahem* I have the Dutch nationality. How about *reading* a bit? What actually
          do you see when you have all that information right in front of you? Just a blur
          that you wish to ignore? Please *read* and try to *understand* what it's all
          about. I know you're from the cut-and-paste generation but you can at least
          attempt to understand *what* to cut-and-paste.

          kind regards,

          Jos

          Comment

          • Cyber dorkz
            New Member
            • Aug 2007
            • 25

            #35
            characters: only in char, not in int

            now, i've waited , now i want to ask a question again,
            '6' is a character, 6 is an integer.
            integers like 2,4,5,..... ,we putt them in int: integer
            characters 'A', '4','d',....... we put them in char : character

            that means ; char for characters
            int for integers
            (if string exist: string for letters)

            we cannot put characters in int
            we cannot put integers in char,
            but some people here saying that we can put characters in int???????
            how???????????

            Comment

            • JosAH
              Recognized Expert MVP
              • Mar 2007
              • 11453

              #36
              Originally posted by Cyber dorkz
              we cannot put characters in int
              we cannot put integers in char,
              but some people here saying that we can put characters in int???????
              how???????????
              By putting chars in ints and vice versa because it can be done. If you had read
              at least an introduction text you could and would have known this and what the
              restrictions are. Stop asking silly questions over and over again. Sicarie was
              patient with you; I am not. I don't want these forums polluted by your illiteracy.

              Jos

              Comment

              • Cyber dorkz
                New Member
                • Aug 2007
                • 25

                #37
                ok, i'm reading your rulez, but PM , theres writed that i dont must pm (or something) experts, do they mean : dont ask question every minute?

                Comment

                • JosAH
                  Recognized Expert MVP
                  • Mar 2007
                  • 11453

                  #38
                  Originally posted by Cyber dorkz
                  ok, i'm reading your rulez, but PM , theres writed that i dont must pm (or something) experts, do they mean : dont ask question every minute?
                  PM == Private Message. I am officially warning you now: I don't want to see
                  any question from you anymore before you can more or less explain what chars
                  and ints are and what 'A' and 65 mean. I also want you to explain more or less
                  why ints can be assigned to chars and vice versa.

                  Now go and read a book; if I see you here before I'll ban you. You have been warned.

                  Jos

                  Comment

                  • Cyber dorkz
                    New Member
                    • Aug 2007
                    • 25

                    #39
                    i've readed everything only what i dont understand : Make use of the available formatting tags in the forum Use CODE tags around your code as appropriate:
                    Code:
                    ..code goes here..
                    [code=php] ..php code goes here.. [/code]
                    [code=c] ..C like code goes here.. [/code]
                    [code=html] ..html code goes here.. [/html]


                    heeyyyy!!! i know everything about these characters and int , but i just dont know why you can put an caracter into an integer!!

                    Comment

                    • Cyber dorkz
                      New Member
                      • Aug 2007
                      • 25

                      #40
                      [code=c] char name, exist, dont
                      [/code]

                      Comment

                      • Cyber dorkz
                        New Member
                        • Aug 2007
                        • 25

                        #41
                        hey, i know how to use it!!

                        Comment

                        • JosAH
                          Recognized Expert MVP
                          • Mar 2007
                          • 11453

                          #42
                          Originally posted by Cyber dorkz
                          hey, i know how to use it!!
                          This is two; one more and you're out.

                          Jos

                          Comment

                          • Cyber dorkz
                            New Member
                            • Aug 2007
                            • 25

                            #43
                            ok, here is the explaning of char; is a character with two apostrofs like ' ' or 'e' or '4'

                            integer is not a floating point number its like this 1, 2,3....
                            unsigned int, long int, unsigned long are too types of int but they have more space for numbers

                            then we have float , for numbers with . like 4,3854535
                            a type of float is too a double , its bether, and larger


                            that was the expalning you wanted.
                            now i can ask again questions??

                            Comment

                            • Cyber dorkz
                              New Member
                              • Aug 2007
                              • 25

                              #44
                              i really dont understand why this program dont work

                              // er.cpp : Defines the entry point for the console application.
                              //

                              #include "stdafx.h"
                              #include <iostream>


                              int _tmain(int argc, _TCHAR* argv[])
                              {
                              int number1 = '9' , number2 = '1' , answer ;
                              answer = '9' + '1' ;

                              cout << answer;

                              cin.get () ;


                              }

                              Comment

                              • JosAH
                                Recognized Expert MVP
                                • Mar 2007
                                • 11453

                                #45
                                Originally posted by Cyber dorkz
                                that was the expalning you wanted.
                                now i can ask again questions??
                                Sure; just behave like a normal human being and all will be fine. First *read*
                                before you want to ask a question though; reading helps you understand before
                                you think you have to ask a question; most likely you have found the answer
                                to your question yourself already.

                                kind regards,

                                Jos

                                Comment

                                Working...