Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~657 People Reached
Favorite Forums
Favorite Tags
c x 8
c++ x 3
Member Avatar for noobuser

Hi, Please help me with this problem, im reading algorithms i've seen a problem called "Coin Change" the algorithm located here: [url]http://www.algorithmist.com/index.php/Coin_Change[/url] i have problem in implementation in C++, can anyone please help me with the base case. I have no idea how to fill the array with base cases. …

Member Avatar for daviddoria
0
115
Member Avatar for noobuser

hi can anyone help me with my code, im trying to write a bigInt multiply function but this function got some bugs(it prints additional zero at the left side) input: 3 2 output 06 and ... [code] #include <cstring> #include <iostream> using namespace std; const int mmax = 10000; char …

Member Avatar for noobuser
0
87
Member Avatar for noobuser

hi guys is it timeconsuming to use memset instead of for? i mean suppose we have an array of int int prime[200000]; we use memeset(prime, 200000, 0, sizeof(prime)) also we can use for(i = 0; i < 200000; i++) prime[i] = 0;

Member Avatar for Ancient Dragon
0
195
Member Avatar for noobuser

Hi, I want to solve a problem( to be honest its my homework ) given two string, the print the permutation in ordered form. Example: ‫‪Please enter the first string:> abc‬‬ ‫‪Please enter the second string:> mn‬‬ ‫‪Results will be: abcmn abmnc amnbc mnabc mabcn manbc mabnc ambnc ambcn abmcn‬‬ …

Member Avatar for abhimanipal
0
86
Member Avatar for noobuser

Hi, can anyone help me with this program. the program inputs a string and replace the first char with the second one. [CODE]#include <stdio.h> #include <string.h> #include <stdlib.h> #define MAX 200 int main(void) { char myString[MAX]; char getCh; char setCh; int i = 0; printf("Please enter the string: "); gets(myString); …

Member Avatar for noobuser
0
174