Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 1422

[c++]CHALLENGE FOR ANYONE HO THINKS IS GOOD AT C++ ITS SIMPLE PROGRAM BUT I NEED EXP

by MeSvAk - 11 April, 2020 - 06:59 AM
This post is by a banned member (MeSvAk) - Unhide
MeSvAk  
Registered
4.012
Posts
3.395
Threads
6 Years of service
#1
SO BASICALLY ITS JUST TO SEE HOW MUCH U KNOW ABOUT C++ AND WHAT U BRAGGING OFFFFFFF 


https://pastr.io/view/pF1AGaYYneV

TELL ME WHAT IT DOES AND WHY DIG IN EXPLANATION
Not rapping about having hoes
Not rapping about being rich
Not rapping about the best cars he owns
19SMdCR36GE3KxkTz66k6YNBr1Wa6wAQuj

Be aware of Impersonator on discord , always pm to confirm identity.

fuck u piece of shit don't change this 


[Image: giphy.gif?cid=790b7611d129f058fe9adc1639...y.gif&ct=g]

https://cracked.to/Thread-Supreme-Commun...M-DARKSHIT

 [Image: source.gif]
 
This post is by a banned member (Jensen) - Unhide
Jensen  
Godlike
3.089
Posts
489
Threads
6 Years of service
#2
You don’t know shit
This post is by a banned member (Kirmada) - Unhide
Kirmada  
Registered
117
Posts
63
Threads
4 Years of service
#3
(This post was last modified: 11 April, 2020 - 07:52 AM by Kirmada. Edit Reason: Full explanation updated )
@MeSvAk

1. It asks user to give a string input
2. it then stores it in the array str1
3. It again asks for another string 
4. It stores it in array str2
5. it defines i, j , flag and uses i and j with str1 and str2 respectively to increment the array element one by one unless it encounters a null string or simply the end of string { because after the input is complete the array will fill all the element with 0 , hence 0 signifies the end of string given by the user. }
6. for(i=0,j=0;str1[i]!='\0',str2[j]!='\0';i++,j++) here it increments array elements one by one for both and then if(str1[i]==str2[j]) code check if any of the element is equal or not.
7. If any single element is equal in both of the string it prints " st a n eq " and if not " st a eq " gets printed

 
Here is a c version for it which checks if any digit is repeted in the integer https://pastr.io/raw/rzuq4Tyhik1

BTW YOUR CODE IS BUGGY
                LIKE = SUPPORT 
                                           [Image: colors.gif]
                                                                   [Image: like.gif]
                                           [Image: colors.gif]
                                                                       LIKE || +REP || SUPPORT
         Donate me some credits & help me get the Indian flag 
This post is by a banned member (MeSvAk) - Unhide
MeSvAk  
Registered
4.012
Posts
3.395
Threads
6 Years of service
#4
(11 April, 2020 - 07:05 AM)Kirmada Wrote: Show More
@MeSvAk

1. It asks user to give a string input
2. it then stores it in the array str1
3. It again asks for another string 
4. It stores it in array str2
5. it defines i, j , flag and uses i and j with str1 and str2 respectively to increment the array element one by one unless it encounters a null string or simply the end of string { because after the input is complete the array will fill all the element with 0 , hence 0 signifies the end of string given by the user. }
6. for(i=0,j=0;str1!='\0',str2[j]!='\0';i++,j++) here it increments array elements one by one for both and then if(str1[i]==str2[j]) code check if any of the element is equal or not.
7. If any single element is equal in both of the string it prints " st a n eq " and if not " st a eq " gets printed

 
Here is a c version for it which checks if any digit is repeted in the integer https://pastr.io/raw/rzuq4Tyhik1

BTW YOUR CODE IS BUGGY
[/i]


u possess 69 gz to u ur dad is gay rn u will need to make him pregnant in his anusussusususus  Wooow Wooow Wooow Wooow Wooow [Image: monkaEyes.png] [Image: monkaEyes.png] [Image: monkaEyes.png] [Image: monkaEyes.png] [Image: Amusing.png] [Image: Amusing.png] [Image: Amusing.png]
Not rapping about having hoes
Not rapping about being rich
Not rapping about the best cars he owns
19SMdCR36GE3KxkTz66k6YNBr1Wa6wAQuj

Be aware of Impersonator on discord , always pm to confirm identity.

fuck u piece of shit don't change this 


[Image: giphy.gif?cid=790b7611d129f058fe9adc1639...y.gif&ct=g]

https://cracked.to/Thread-Supreme-Commun...M-DARKSHIT

 [Image: source.gif]
 
This post is by a banned member (Kirmada) - Unhide
Kirmada  
Registered
117
Posts
63
Threads
4 Years of service
#5
(11 April, 2020 - 08:01 AM)MEsvaK Wrote: Show More
(11 April, 2020 - 07:05 AM)Kirmada Wrote: Show More
@MeSvAk

1. It asks user to give a string input
2. it then stores it in the array str1
3. It again asks for another string 
4. It stores it in array str2
5. it defines i, j , flag and uses i and j with str1 and str2 respectively to increment the array element one by one unless it encounters a null string or simply the end of string { because after the input is complete the array will fill all the element with 0 , hence 0 signifies the end of string given by the user. }
6. for(i=0,j=0;str1!='\0',str2[j]!='\0';i++,j++) here it increments array elements one by one for both and then if(str1[i]==str2[j]) code check if any of the element is equal or not.
7. If any single element is equal in both of the string it prints " st a n eq " and if not " st a eq " gets printed

 
Here is a c version for it which checks if any digit is repeted in the integer https://pastr.io/raw/rzuq4Tyhik1

BTW YOUR CODE IS BUGGY
[/i]


u possess 69 gz to u ur dad is gay rn u will need to make him pregnant in his anusussusususus  Wooow Wooow Wooow Wooow Wooow [Image: monkaEyes.png] [Image: monkaEyes.png] [Image: monkaEyes.png] [Image: monkaEyes.png] [Image: Amusing.png] [Image: Amusing.png] [Image: Amusing.png]
was it correct ?
                LIKE = SUPPORT 
                                           [Image: colors.gif]
                                                                   [Image: like.gif]
                                           [Image: colors.gif]
                                                                       LIKE || +REP || SUPPORT
         Donate me some credits & help me get the Indian flag 
This post is by a banned member (MeSvAk) - Unhide
MeSvAk  
Registered
4.012
Posts
3.395
Threads
6 Years of service
#6
(11 April, 2020 - 08:06 AM)Kirmada Wrote: Show More
(11 April, 2020 - 08:01 AM)MEsvaK Wrote: Show More
(11 April, 2020 - 07:05 AM)Kirmada Wrote: Show More
@MeSvAk

1. It asks user to give a string input
2. it then stores it in the array str1
3. It again asks for another string 
4. It stores it in array str2
5. it defines i, j , flag and uses i and j with str1 and str2 respectively to increment the array element one by one unless it encounters a null string or simply the end of string { because after the input is complete the array will fill all the element with 0 , hence 0 signifies the end of string given by the user. }
6. for(i=0,j=0;str1!='\0',str2[j]!='\0';i++,j++) here it increments array elements one by one for both and then if(str1[i]==str2[j]) code check if any of the element is equal or not.
7. If any single element is equal in both of the string it prints " st a n eq " and if not " st a eq " gets printed

 
Here is a c version for it which checks if any digit is repeted in the integer https://pastr.io/raw/rzuq4Tyhik1

BTW YOUR CODE IS BUGGY
[/i]


u possess 69 gz to u ur dad is gay rn u will need to make him pregnant in his anusussusususus  Wooow Wooow Wooow Wooow Wooow [Image: monkaEyes.png] [Image: monkaEyes.png] [Image: monkaEyes.png] [Image: monkaEyes.png] [Image: Amusing.png] [Image: Amusing.png] [Image: Amusing.png]
was it correct ?

yes ur explanation is correct but ur c program wont run and it wont get the currect value :) ur line 3  and line seen n = 1 wont work
Not rapping about having hoes
Not rapping about being rich
Not rapping about the best cars he owns
19SMdCR36GE3KxkTz66k6YNBr1Wa6wAQuj

Be aware of Impersonator on discord , always pm to confirm identity.

fuck u piece of shit don't change this 


[Image: giphy.gif?cid=790b7611d129f058fe9adc1639...y.gif&ct=g]

https://cracked.to/Thread-Supreme-Commun...M-DARKSHIT

 [Image: source.gif]
 
This post is by a banned member (Vassilios) - Unhide
Vassilios  
Supreme
270
Posts
38
Threads
5 Years of service
#7
It's the worst piece of code I have ever seen in my life. Please never program again.
[Image: 1724cf64e5e5b1b73c593976bf4643a6.png]
This post is by a banned member (Logoutrd8) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 3 Guest(s)