Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

A Challange where I pay you.

Hi,
I'm currently studying Computer Science and i'm learning a lot.
But something that I really want to learn more of is c++. And i want to code more often and learn.

So thats when i came up with this idea.

You post a challange down below, and if i cant solve it / code it, ill send you 10-50 bytes (or whatever i got laying around).
I will be ignoring super hard challanges ofc, i'm still a beginner, be nice.

thanks.
I actually need something semi simple but effective done. I need to grab 3 cards values from a poker table and suits using ocr library . if you help me with this in your challenge id be much happy as ive tried for a week find someone to code due low budget :D

Contact me to send you the documentation
add two numbers without using + or any arithmetic operation
(Sep 16, 2019 05:08 AM)myselfandi Wrote:  add two numbers without using + or any arithmetic operation

What do you mean by "add two numbers". Do you mean like printing out two numbers or for example 2 + 2.


(Sep 16, 2019 02:21 AM)Shapeless Wrote:  I actually need something semi simple but effective done. I need to grab 3 cards values from a poker table and suits using ocr library . if you help me with this in your challenge id be much happy as ive tried for a week find someone to code due low budget :D

Contact me to send you the documentation

Ill pm you for sure, cant say i will be able to do anything though might be a bit hard :)
(Sep 16, 2019 07:27 AM)pms Wrote:  What do you mean by "add two numbers". Do you mean like printing out two numbers or for example 2 + 2.

yea
1. Convert string to integer without using atoi() within INT_MAX
2. Convert string to integer that can overflow 'unsigned long long' type and add 1 to it.
3. Build a JSON Parser

Good luck
Write a C++ program that displays a Letter Pyramid from a user-provided std::string.

Prompt the user to enter a std::string and then from that string display a Letter Pyramid as follows:

It's much easier to understand the Letter Pyramid given examples.

If the user enters the string "ABC", then your program should display:

A
ABA
ABCBA


If the user enters the string, "12345", then your program should display:



1
121
12321
1234321
123454321



If the user enters 'ABCDEFG', then your program should display:



A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
ABCDEFEDCBA
ABCDEFGFEDCBA

If the user enters 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', then your program should display:

A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
ABCDEFEDCBA
ABCDEFGFEDCBA
ABCDEFGHGFEDCBA
ABCDEFGHIHGFEDCBA
ABCDEFGHIJIHGFEDCBA
ABCDEFGHIJKJIHGFEDCBA
ABCDEFGHIJKLKJIHGFEDCBA
ABCDEFGHIJKLMLKJIHGFEDCBA
ABCDEFGHIJKLMNMLKJIHGFEDCBA
ABCDEFGHIJKLMNONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPQPONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPQRQPONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPQRSRQPONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPQRSTSRQPONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPQRSTUTSRQPONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPQRSTUVUTSRQPONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPQRSTUVWVUTSRQPONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPQRSTUVWXWVUTSRQPONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPQRSTUVWXYXWVUTSRQPONMLKJIHGFEDCBA
ABCDEFGHIJKLMNOPQRSTUVWXYZYXWVUTSRQPONMLKJIHGFEDCBA

If the user enters "C++isFun!", then your program should display:



C
C+C
C+++C
C++i++C
C++isi++C
C++isFsi++C
C++isFuFsi++C
C++isFunuFsi++C
C++isFun!nuFsi++C


Think about the problem before you begin and break it down into steps.

This can be a very challenging problem to solve!

Don't forget to paste your code solution or your attempt at it.

Have fun!
[Image: hf-coach-signature.png]
(Sep 16, 2019 09:13 AM)Tilcayo Wrote:  -snip-

This is actually a really cool challenge; I might actually give it a go myself haha
[Image: tCsHIDM.gif]
(Sep 16, 2019 09:16 AM)Manks Wrote:  This is actually a really cool challenge; I might actually give it a go myself haha

Go for it! If OP is going to attempt it though, wait until he posts his solution before you post yours so it doesn't spoil it for him :P Good luck!
[Image: hf-coach-signature.png]
(Sep 16, 2019 09:13 AM)Tilcayo Wrote:  Write a C++ program that displays a Letter Pyramid from a user-provided std::string.

Prompt the user to enter a std::string and then from that string display a Letter Pyramid as follows:

It's much easier to understand the Letter Pyramid given examples.

If the user enters the string "ABC", then your program should display:

     A                                                                                                                    
    ABA                                                                                                                  
   ABCBA


If the user enters the string, "12345", then your program should display:



       1                                                                                                                  
      121                                                                                                                
     12321                                                                                                                
    1234321                                                                                                              
   123454321



If the user enters 'ABCDEFG', then your program should display:



         A                                                                                                                
        ABA                                                                                                              
       ABCBA                                                                                                              
      ABCDCBA                                                                                                            
     ABCDEDCBA                                                                                                            
    ABCDEFEDCBA                                                                                                          
   ABCDEFGFEDCBA

If the user enters 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', then your program should display:

                            A
                           ABA
                          ABCBA
                         ABCDCBA
                        ABCDEDCBA
                       ABCDEFEDCBA
                      ABCDEFGFEDCBA
                     ABCDEFGHGFEDCBA
                    ABCDEFGHIHGFEDCBA
                   ABCDEFGHIJIHGFEDCBA
                  ABCDEFGHIJKJIHGFEDCBA
                 ABCDEFGHIJKLKJIHGFEDCBA
                ABCDEFGHIJKLMLKJIHGFEDCBA
               ABCDEFGHIJKLMNMLKJIHGFEDCBA
              ABCDEFGHIJKLMNONMLKJIHGFEDCBA
             ABCDEFGHIJKLMNOPONMLKJIHGFEDCBA
            ABCDEFGHIJKLMNOPQPONMLKJIHGFEDCBA
           ABCDEFGHIJKLMNOPQRQPONMLKJIHGFEDCBA
          ABCDEFGHIJKLMNOPQRSRQPONMLKJIHGFEDCBA
         ABCDEFGHIJKLMNOPQRSTSRQPONMLKJIHGFEDCBA
        ABCDEFGHIJKLMNOPQRSTUTSRQPONMLKJIHGFEDCBA
       ABCDEFGHIJKLMNOPQRSTUVUTSRQPONMLKJIHGFEDCBA
      ABCDEFGHIJKLMNOPQRSTUVWVUTSRQPONMLKJIHGFEDCBA
     ABCDEFGHIJKLMNOPQRSTUVWXWVUTSRQPONMLKJIHGFEDCBA
    ABCDEFGHIJKLMNOPQRSTUVWXYXWVUTSRQPONMLKJIHGFEDCBA
   ABCDEFGHIJKLMNOPQRSTUVWXYZYXWVUTSRQPONMLKJIHGFEDCBA

If the user enters "C++isFun!", then your program should display:



           C                                                                                                              
          C+C                                                                                                            
         C+++C                                                                                                            
        C++i++C                                                                                                          
       C++isi++C                                                                                                          
      C++isFsi++C                                                                                                        
     C++isFuFsi++C                                                                                                        
    C++isFunuFsi++C                                                                                                      
   C++isFun!nuFsi++C


Think about the problem before you begin and break it down into steps.

This can be a very challenging problem to solve!

Don't forget to paste your code solution or your attempt at it.

Have fun!

Finally a realistic challange, will be looking at this in school :) thanks.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by SIM-3991524May 14, 2020 09:27 PM 9 391 May 14, 2020 09:27 PM
Last Post: Sugawara
[C] by saltycrackerMay 12, 2020 07:47 AM 0 127 May 12, 2020 07:47 AM
Last Post: saltycracker
[Java] by pmsFeb 6, 2019 09:13 AM 29 1,008 Feb 6, 2019 09:13 AM
Last Post: SIM-3364521