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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. JavaScript
  4. JS Question

JS Question

Scheduled Pinned Locked Moved JavaScript
questionjavascripthelp
34 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Hakan Bulut

    Documentation The lucky numbers, I want to compare the values ​​that are encountering the same. Anyone can help on this topic?

    .
    .
    if(arrLot\[i\] == arrIns\[18\])
    if(arrLot\[i\] == arrIns\[19\]){
        lucky\[add++\] = arrLot\[i\];
        if(lucky\[add++\] = arrLot\[i\]) {
            lucky\[add++\] = gb;
        }
    }
    

    }
    var gb = getBNS();
    function getBNS()
    {
    var mf = 0;
    return Math.floor(mf+=1);
    }

    do{
    if(gb.mf > 1){
    lucky[ct].sort(function(a,b){
    return a-b}); // end sort
    }
    document.write(lucky[ct] + " : " + gb + "<BR>");
    ct++;
    }while(ct<17);

    mesela burada 18 adet sayı elemanlarını kendi aralarında karşılaştırdıktan sonra hangi sayının ne kadar karşılaştığını hesaplayan ve dökümanlayan bir kod yazmaya çalışıyorum. Tanımla problemi var. mesela şöyle bir çıktı veriyor:

    <pre>

    Undefined : 1 Undefined : 1 Undefined : 1 Undefined : 1

    var arrIns = [
    "1","21","24","28","42","48",
    "9","13","14","16","24","49",
    "3","18","19","25","44","45"
    ];

    Burada çıktı

    24 : 2
    1 : 1
    21 : 1

    olmalı..

    S Offline
    S Offline
    Sandeep Mewara
    wrote on last edited by
    #2

    This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific. Use the "Edit" link to edit your question and provide better information.

    Sandeep Mewara Microsoft ASP.NET MVP 2012 & 2013 [My Blog]: Sandeep Mewara's Tech Journal! [My Latest Article]: HTML5 Quick Start Web Application

    H 1 Reply Last reply
    0
    • H Hakan Bulut

      Documentation The lucky numbers, I want to compare the values ​​that are encountering the same. Anyone can help on this topic?

      .
      .
      if(arrLot\[i\] == arrIns\[18\])
      if(arrLot\[i\] == arrIns\[19\]){
          lucky\[add++\] = arrLot\[i\];
          if(lucky\[add++\] = arrLot\[i\]) {
              lucky\[add++\] = gb;
          }
      }
      

      }
      var gb = getBNS();
      function getBNS()
      {
      var mf = 0;
      return Math.floor(mf+=1);
      }

      do{
      if(gb.mf > 1){
      lucky[ct].sort(function(a,b){
      return a-b}); // end sort
      }
      document.write(lucky[ct] + " : " + gb + "<BR>");
      ct++;
      }while(ct<17);

      mesela burada 18 adet sayı elemanlarını kendi aralarında karşılaştırdıktan sonra hangi sayının ne kadar karşılaştığını hesaplayan ve dökümanlayan bir kod yazmaya çalışıyorum. Tanımla problemi var. mesela şöyle bir çıktı veriyor:

      <pre>

      Undefined : 1 Undefined : 1 Undefined : 1 Undefined : 1

      var arrIns = [
      "1","21","24","28","42","48",
      "9","13","14","16","24","49",
      "3","18","19","25","44","45"
      ];

      Burada çıktı

      24 : 2
      1 : 1
      21 : 1

      olmalı..

      D Offline
      D Offline
      dusty_dex
      wrote on last edited by
      #3

      [ The road to understanding comes from learning. Find a book on Javascript in your own native language and learn it. ] Anlama yolunda öğrenme gelir. Javascript bir kitap kendi dillerinde ve bunu öğrenin. :sigh: I tried searching (google.com.tr) for books and came up with nothing, so you will just have to use this. w3schools.com/js/ in English

      "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

      1 Reply Last reply
      0
      • S Sandeep Mewara

        This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific. Use the "Edit" link to edit your question and provide better information.

        Sandeep Mewara Microsoft ASP.NET MVP 2012 & 2013 [My Blog]: Sandeep Mewara's Tech Journal! [My Latest Article]: HTML5 Quick Start Web Application

        H Offline
        H Offline
        Hakan Bulut
        wrote on last edited by
        #4

        Yes it is not a framed question .. Simple and very basic for programming languages. values ​​with each other documentation as luck would have encountered a very simple problem with numbers

        1 Reply Last reply
        0
        • H Hakan Bulut

          Documentation The lucky numbers, I want to compare the values ​​that are encountering the same. Anyone can help on this topic?

          .
          .
          if(arrLot\[i\] == arrIns\[18\])
          if(arrLot\[i\] == arrIns\[19\]){
              lucky\[add++\] = arrLot\[i\];
              if(lucky\[add++\] = arrLot\[i\]) {
                  lucky\[add++\] = gb;
              }
          }
          

          }
          var gb = getBNS();
          function getBNS()
          {
          var mf = 0;
          return Math.floor(mf+=1);
          }

          do{
          if(gb.mf > 1){
          lucky[ct].sort(function(a,b){
          return a-b}); // end sort
          }
          document.write(lucky[ct] + " : " + gb + "<BR>");
          ct++;
          }while(ct<17);

          mesela burada 18 adet sayı elemanlarını kendi aralarında karşılaştırdıktan sonra hangi sayının ne kadar karşılaştığını hesaplayan ve dökümanlayan bir kod yazmaya çalışıyorum. Tanımla problemi var. mesela şöyle bir çıktı veriyor:

          <pre>

          Undefined : 1 Undefined : 1 Undefined : 1 Undefined : 1

          var arrIns = [
          "1","21","24","28","42","48",
          "9","13","14","16","24","49",
          "3","18","19","25","44","45"
          ];

          Burada çıktı

          24 : 2
          1 : 1
          21 : 1

          olmalı..

          D Offline
          D Offline
          Dennis E White
          wrote on last edited by
          #5

          Can I recommend as well that you use something like http://jsfiddle.net/[^] because I honestly am not following what it is that you are trying to do.

          as if the facebook, twitter and message boards weren't enough - blogged

          D H 2 Replies Last reply
          0
          • H Hakan Bulut

            Documentation The lucky numbers, I want to compare the values ​​that are encountering the same. Anyone can help on this topic?

            .
            .
            if(arrLot\[i\] == arrIns\[18\])
            if(arrLot\[i\] == arrIns\[19\]){
                lucky\[add++\] = arrLot\[i\];
                if(lucky\[add++\] = arrLot\[i\]) {
                    lucky\[add++\] = gb;
                }
            }
            

            }
            var gb = getBNS();
            function getBNS()
            {
            var mf = 0;
            return Math.floor(mf+=1);
            }

            do{
            if(gb.mf > 1){
            lucky[ct].sort(function(a,b){
            return a-b}); // end sort
            }
            document.write(lucky[ct] + " : " + gb + "<BR>");
            ct++;
            }while(ct<17);

            mesela burada 18 adet sayı elemanlarını kendi aralarında karşılaştırdıktan sonra hangi sayının ne kadar karşılaştığını hesaplayan ve dökümanlayan bir kod yazmaya çalışıyorum. Tanımla problemi var. mesela şöyle bir çıktı veriyor:

            <pre>

            Undefined : 1 Undefined : 1 Undefined : 1 Undefined : 1

            var arrIns = [
            "1","21","24","28","42","48",
            "9","13","14","16","24","49",
            "3","18","19","25","44","45"
            ];

            Burada çıktı

            24 : 2
            1 : 1
            21 : 1

            olmalı..

            D Offline
            D Offline
            dusty_dex
            wrote on last edited by
            #6

            to find element number in array, use

            arrIns.indexOf("24");

            =2

            or

            var something = "44";
            arrIns.indexOf( something ); // not a string

            =15

            Your explanations are not good. Code is worse still. Do you also want to sort array?        :laugh: :laugh:      :laugh: ;P :laugh:        :laugh: :laugh: You need to understand the difference between "1" and 1, sorting "strings" is alphabetical A-Z a-z

            "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

            H 1 Reply Last reply
            0
            • D Dennis E White

              Can I recommend as well that you use something like http://jsfiddle.net/[^] because I honestly am not following what it is that you are trying to do.

              as if the facebook, twitter and message boards weren't enough - blogged

              D Offline
              D Offline
              dusty_dex
              wrote on last edited by
              #7

              Hey, that's a nice link. It sure beats suggesting node or rhino shell. :-D

              "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

              1 Reply Last reply
              0
              • D dusty_dex

                to find element number in array, use

                arrIns.indexOf("24");

                =2

                or

                var something = "44";
                arrIns.indexOf( something ); // not a string

                =15

                Your explanations are not good. Code is worse still. Do you also want to sort array?        :laugh: :laugh:      :laugh: ;P :laugh:        :laugh: :laugh: You need to understand the difference between "1" and 1, sorting "strings" is alphabetical A-Z a-z

                "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                H Offline
                H Offline
                Hakan Bulut
                wrote on last edited by
                #8

                <pre>Well .. indexof arrIns[i] as a parameter can i assign..

                arrIns.indexOf(newArr[j]);
                for(var j=0; j<18; j++)
                {
                document.write( arrIns[j] + " : " + arrIns.indexOf(arrIns[j]) + "
                " );
                }
                Output is:
                1 : 0
                21 : 1
                24 : 2
                28 : 3
                42 : 4
                48 : 5

                D 1 Reply Last reply
                0
                • H Hakan Bulut

                  <pre>Well .. indexof arrIns[i] as a parameter can i assign..

                  arrIns.indexOf(newArr[j]);
                  for(var j=0; j<18; j++)
                  {
                  document.write( arrIns[j] + " : " + arrIns.indexOf(arrIns[j]) + "
                  " );
                  }
                  Output is:
                  1 : 0
                  21 : 1
                  24 : 2
                  28 : 3
                  42 : 4
                  48 : 5

                  D Offline
                  D Offline
                  dusty_dex
                  wrote on last edited by
                  #9

                  Yes, that looks ok. :) Is that what you wanted? What is the task that you need to solve, is it sort numbers into numerical order? eg, "1","3","9","13","14","16","18","19","21","24","25","28"... Yes/No? Easy, but you can't use arrIns.sort without some preparation first. Your new message yesterday uncovered more of what you try to do. It was missing in the previous thread. Was that code I gave you what you wanted, arr[i] != arrIns[] ? If you do not tell me some code isn't what you want, I have to assume that it is what you wanted. :)

                  "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                  H 1 Reply Last reply
                  0
                  • D dusty_dex

                    Yes, that looks ok. :) Is that what you wanted? What is the task that you need to solve, is it sort numbers into numerical order? eg, "1","3","9","13","14","16","18","19","21","24","25","28"... Yes/No? Easy, but you can't use arrIns.sort without some preparation first. Your new message yesterday uncovered more of what you try to do. It was missing in the previous thread. Was that code I gave you what you wanted, arr[i] != arrIns[] ? If you do not tell me some code isn't what you want, I have to assume that it is what you wanted. :)

                    "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                    H Offline
                    H Offline
                    Hakan Bulut
                    wrote on last edited by
                    #10

                    What are the codes?

                    Hakan cursed chats dealer

                    D 1 Reply Last reply
                    0
                    • H Hakan Bulut

                      What are the codes?

                      Hakan cursed chats dealer

                      D Offline
                      D Offline
                      dusty_dex
                      wrote on last edited by
                      #11

                      I was referring to this code. Or did you mean new sorting code?

                      "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                      H 1 Reply Last reply
                      0
                      • D dusty_dex

                        I was referring to this code. Or did you mean new sorting code?

                        "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                        H Offline
                        H Offline
                        Hakan Bulut
                        wrote on last edited by
                        #12

                        sort code sample pls :)

                        Hakan cursed chats dealer

                        D 1 Reply Last reply
                        0
                        • D Dennis E White

                          Can I recommend as well that you use something like http://jsfiddle.net/[^] because I honestly am not following what it is that you are trying to do.

                          as if the facebook, twitter and message boards weren't enough - blogged

                          H Offline
                          H Offline
                          Hakan Bulut
                          wrote on last edited by
                          #13

                          JQuery I have no any knowledge about on this language..

                          Hakan cursed chats dealer

                          1 Reply Last reply
                          0
                          • H Hakan Bulut

                            sort code sample pls :)

                            Hakan cursed chats dealer

                            D Offline
                            D Offline
                            dusty_dex
                            wrote on last edited by
                            #14

                            Small change to previous code, see use of var t;

                            // **NEW** add leading zero to numbers < 10
                            function zeroAdjust(n) {
                            var t = "0"+n;
                            return t.substring(t.length-2,t.length);
                            }

                            // these also need leading zero if < 10
                            var arrIns = [ "01","21","24","28","42","48",
                            "12","23","34","36","37","46",
                            "03","18","19","25","44","45" ];

                            var allLucky = arrIns.toString();

                            var arrLot = [];
                            var arr = [];
                            var count = 0;
                            var t;

                            for(var i=1; i<50; i++)
                            {
                            // compare t with all lucky numbers
                            t = zeroAdjust(i);
                            if (allLucky.indexOf(t) == -1 ) {
                            arr[count] = t; // arr[] = "nn"
                            count++;
                            }
                            } // for-loop

                            document.write("arr[]:"+ arr.toString);
                            document.write("
                            ");
                            document.write("length of arr[] ="+ count +"
                            ");

                            *NEW*

                            function sort(ref) {
                            var a = [];
                            var i;

                            //== conversion function (only to sort) ========================================
                            function strToUcc( s ) {
                            if (s.length < 2) {
                            return String.fromCharCode(s.charCodeAt(0)-48);
                            } else {
                            return String.fromCharCode( (s.charCodeAt(1)-48)+((s.charCodeAt(0)-48)*10) );
                            }
                            }

                            //== conversion function as "nn" string
                            function uccToStr( s ) {
                            var tmp = s.charCodeAt(0);
                            var lo = tmp % 10;
                            var hi = (tmp-lo) / 10;

                            return String.fromCharCode(hi+48)+String.fromCharCode(lo+48);
                            

                            }
                            //=================================================================================

                            // char-code from "nn"
                            i=0;
                            while (i < ref.length) {
                            a[i] = strToUcc( ref[i] );
                            i++;
                            }

                            a.sort(); // SORT

                            // back to "nn"
                            i=0;
                            while (i < ref.length) {
                            ref[i] = uccToStr( a[i] );
                            i++;
                            }

                            } // fn-sort

                            sort(arrIns);

                            document.write("Sorted:"+ arrIns.toString());

                            "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                            H 1 Reply Last reply
                            0
                            • D dusty_dex

                              Small change to previous code, see use of var t;

                              // **NEW** add leading zero to numbers < 10
                              function zeroAdjust(n) {
                              var t = "0"+n;
                              return t.substring(t.length-2,t.length);
                              }

                              // these also need leading zero if < 10
                              var arrIns = [ "01","21","24","28","42","48",
                              "12","23","34","36","37","46",
                              "03","18","19","25","44","45" ];

                              var allLucky = arrIns.toString();

                              var arrLot = [];
                              var arr = [];
                              var count = 0;
                              var t;

                              for(var i=1; i<50; i++)
                              {
                              // compare t with all lucky numbers
                              t = zeroAdjust(i);
                              if (allLucky.indexOf(t) == -1 ) {
                              arr[count] = t; // arr[] = "nn"
                              count++;
                              }
                              } // for-loop

                              document.write("arr[]:"+ arr.toString);
                              document.write("
                              ");
                              document.write("length of arr[] ="+ count +"
                              ");

                              *NEW*

                              function sort(ref) {
                              var a = [];
                              var i;

                              //== conversion function (only to sort) ========================================
                              function strToUcc( s ) {
                              if (s.length < 2) {
                              return String.fromCharCode(s.charCodeAt(0)-48);
                              } else {
                              return String.fromCharCode( (s.charCodeAt(1)-48)+((s.charCodeAt(0)-48)*10) );
                              }
                              }

                              //== conversion function as "nn" string
                              function uccToStr( s ) {
                              var tmp = s.charCodeAt(0);
                              var lo = tmp % 10;
                              var hi = (tmp-lo) / 10;

                              return String.fromCharCode(hi+48)+String.fromCharCode(lo+48);
                              

                              }
                              //=================================================================================

                              // char-code from "nn"
                              i=0;
                              while (i < ref.length) {
                              a[i] = strToUcc( ref[i] );
                              i++;
                              }

                              a.sort(); // SORT

                              // back to "nn"
                              i=0;
                              while (i < ref.length) {
                              ref[i] = uccToStr( a[i] );
                              i++;
                              }

                              } // fn-sort

                              sort(arrIns);

                              document.write("Sorted:"+ arrIns.toString());

                              "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                              H Offline
                              H Offline
                              Hakan Bulut
                              wrote on last edited by
                              #15

                              var arrIns = [
                              "1","21","24","28","42","48",
                              "9","13","14","16","24","49",
                              "3","18","19","25","44","45"
                              ];

                              Was that I wanted to do exactly. These numbers are the numbers that are caught in the combination of more than one slip would like to add Forexmple 24 number is 2 winnig number. i want to print this numbers from inside this array..

                              Hakan cursed chats dealer :)

                              D 2 Replies Last reply
                              0
                              • H Hakan Bulut

                                var arrIns = [
                                "1","21","24","28","42","48",
                                "9","13","14","16","24","49",
                                "3","18","19","25","44","45"
                                ];

                                Was that I wanted to do exactly. These numbers are the numbers that are caught in the combination of more than one slip would like to add Forexmple 24 number is 2 winnig number. i want to print this numbers from inside this array..

                                Hakan cursed chats dealer :)

                                D Offline
                                D Offline
                                dusty_dex
                                wrote on last edited by
                                #16

                                Sorry I do not understand. :confused: try and explain by breaking up the problem, and show example of array before and after. Maybe I can work it out.

                                "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                1 Reply Last reply
                                0
                                • H Hakan Bulut

                                  var arrIns = [
                                  "1","21","24","28","42","48",
                                  "9","13","14","16","24","49",
                                  "3","18","19","25","44","45"
                                  ];

                                  Was that I wanted to do exactly. These numbers are the numbers that are caught in the combination of more than one slip would like to add Forexmple 24 number is 2 winnig number. i want to print this numbers from inside this array..

                                  Hakan cursed chats dealer :)

                                  D Offline
                                  D Offline
                                  dusty_dex
                                  wrote on last edited by
                                  #17

                                  Try adding this line inside the loop for(var i=1; i<50; i++) { // compare t with all lucky numbers t = zeroAdjust(i); if (allLucky.indexOf(t) == -1 ) { arr[count] = t; // arr[] = "nn" count++; }

                                  if (allLucky.indexOf(t) != -1) document.write("Match: "+t);

                                  } // for-loop If you need to collect all matched lucky numbers then you should create a new array: var matched = []; var m = 0; change that line to

                                  if (allLucky.indexOf(t) != -1) {
                                  matched[m] = t;
                                  m++;
                                  }

                                  "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                  H 1 Reply Last reply
                                  0
                                  • D dusty_dex

                                    Try adding this line inside the loop for(var i=1; i<50; i++) { // compare t with all lucky numbers t = zeroAdjust(i); if (allLucky.indexOf(t) == -1 ) { arr[count] = t; // arr[] = "nn" count++; }

                                    if (allLucky.indexOf(t) != -1) document.write("Match: "+t);

                                    } // for-loop If you need to collect all matched lucky numbers then you should create a new array: var matched = []; var m = 0; change that line to

                                    if (allLucky.indexOf(t) != -1) {
                                    matched[m] = t;
                                    m++;
                                    }

                                    "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                    H Offline
                                    H Offline
                                    Hakan Bulut
                                    wrote on last edited by
                                    #18

                                    I'm customer just now... If it does compare to 49 numbers of dimension so 1 adjust as match each one of numbers and it will no return encounter for the same numbers .. JavaScript is not skilled enough

                                    Hakan cursed chats dealer :)

                                    D 1 Reply Last reply
                                    0
                                    • H Hakan Bulut

                                      I'm customer just now... If it does compare to 49 numbers of dimension so 1 adjust as match each one of numbers and it will no return encounter for the same numbers .. JavaScript is not skilled enough

                                      Hakan cursed chats dealer :)

                                      D Offline
                                      D Offline
                                      dusty_dex
                                      wrote on last edited by
                                      #19

                                      If you are referring to C++ pointers then you are not going to get very far. If I understood problem better. I could work it out. You are not a very good communicator, it is not a problem with javascript. The problem is English to Turkish translation. But you are not giving enough feedback.

                                      "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                      H 1 Reply Last reply
                                      0
                                      • D dusty_dex

                                        If you are referring to C++ pointers then you are not going to get very far. If I understood problem better. I could work it out. You are not a very good communicator, it is not a problem with javascript. The problem is English to Turkish translation. But you are not giving enough feedback.

                                        "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                        H Offline
                                        H Offline
                                        Hakan Bulut
                                        wrote on last edited by
                                        #20

                                        I know this is possible with Reverse() but IE9.0 is not supported I have to thanks for everything

                                        Hakan cursed chats dealer :)

                                        D 1 Reply Last reply
                                        0
                                        • H Hakan Bulut

                                          I know this is possible with Reverse() but IE9.0 is not supported I have to thanks for everything

                                          Hakan cursed chats dealer :)

                                          D Offline
                                          D Offline
                                          dusty_dex
                                          wrote on last edited by
                                          #21

                                          If you are referring to array.reverse, then it is possible, even with IE 9.0 and as far back as IE 3.0. The browser doesn't affect Javascript features, only the revision (version) supported. Javascript features are not controlled by Microsoft, only the implementation. ECMA controls Javascript features. Most of the time I have to figure out (guess) what you want. And I don't always get a reply. a simple :thumbsup: or Yes, ok. or :thumbsdown: or No, not ok. I think your problem is storing numbers in strings, and applying C++ use (ie pointers) to them. Obviously the lack of computer books in your own language means that you could be learning from bad translation where the meaning of concepts is lost. Maybe you should learn English. Then the barriers to understanding won't slow you down.

                                          "It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan That's what machines are for. Got a problem? Sleep on it.

                                          H 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

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