Matching students to university problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luap
    New Member
    • Mar 2007
    • 40

    #91
    Hello good friends,
    first of all i want to thank you for help, that i have received from you.
    I want start learning c++ from the basics and would like to know if
    it is possible to cut my thread, because it is too long.

    Thanks a lot.

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #92
      Originally posted by luap
      Hello good friends,
      first of all i want to thank you for help, that i have received from you.
      I want start learning c++ from the basics and would like to know if
      it is possible to cut my thread, because it is too long.

      Thanks a lot.
      No need to cut it for being too long only. Is there any other reason you want this thread cut?

      Comment

      • Roonie
        New Member
        • Mar 2007
        • 99

        #93
        i think our friend paul here is looking for general help learning to program. i was unable to help him complete his project before it was due (without doing it for him, of course), and he talked to his professor about it: he has an extension until june.

        paul: now that you are no longer working on this particular program, please feel free to create a new thread when you have a new question.

        Comment

        • luap
          New Member
          • Mar 2007
          • 40

          #94
          Thanks for the reply and the help, i would like to know, how to create a new thread,

          Thanks in advance.

          Comment

          • JosAH
            Recognized Expert MVP
            • Mar 2007
            • 11453

            #95
            I'm afraid the hint w.r.t. assignment problems was lost for the posterity.

            kind regards,

            Jos

            Comment

            • luap
              New Member
              • Mar 2007
              • 40

              #96
              Hello friends,
              i faced with a problem once again.
              I want to write a function which can grow an array. This is my code
              Code:
               #include "stdafx.h"
              #include<iostream>
              using namespace std;
              
              int array_grower(int newarray[], int newsize)
              {
              
              for(int i=0;i < newsize;i++)
              {
              newarray[i]= "array"[i];
              
              return newarray[i] ;
              }
              
              }
              
              
              
              
              int _tmain(int argc, _TCHAR* argv[])
              
              {
              
              
              int array[9];
              for(int i=0;i<9;i=i++)
              {
              array[i]=i;
              }
              array_grower(array, 9);
              for(int i=0;i<9;i++)
              {
              array[i]=0;
              }
              for(int i=0;i<9;i=i++)
              {
              cout<< array[i];
              }
              return 0;
              
              }
              secondly i would like to know what a function without a constant ist

              Comment

              • JosAH
                Recognized Expert MVP
                • Mar 2007
                • 11453

                #97
                Originally posted by luap
                Hello friends,
                i faced with a problem once again.
                I want to write a function which can grow an array.secondly i would like to know what a function without a constant ist
                Use a vector for that purpose; there's no need to reinvent the wheel. I don't know
                what a 'function without a constant' is.

                kind regards,

                Jos

                Comment

                • luap
                  New Member
                  • Mar 2007
                  • 40

                  #98
                  Thanks a lot JosAH, i will try to impliment it with a vector.

                  Kind Regards

                  Comment

                  Working...