- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Hey guys! I am working on a project using single linked list and currently on the last task which is overloading the += operator. My merge from a+=b is inefficient because I am having a memory link problem and its slow when it used in list size of 100000. Please … | |
Hey Guys, I am writing a Recursive Function which picks the best move for Computer(sort of A.I.) i have done all the base cases however couldn't figure out how to deal with the last part. [QUOTE]Given n stones the player can remove 1, 2 or 3 stones per move. The … | |
Hey guys, I just reinstalled MS Visual Studio C++ Express and I am having this weird problem with the complier. So for example if I add a source file name file1 and run it it works fine..however if i delete the file1 from current project and add file2 it will … | |
hey guys, i am working on a code..code runs fine however there is lot of input on the screen thus i am using a pause function to freeze the screen till user hits enter key. however function always skips the first time and works fine after that. i used cin.clear() … | |
hey guys my while loop is not working correctly..doesnt matter which character i enter it will still run the loop..and what it should do is test to see if character entered is 'y'(well thats what i want it to do ) thanks!! [CODE]#! /usr/bin/perl $exp = "y"; while ($exp =="y") … | |
hey guys i am trying to do one level of undo ..however its not working correctly..it does display the text but x and y axis gets messed up..any help and suggestion be great thank you [CODE]void undo(pixeltype pixels[], int length, int option) { struct temp_pixels { int x; int y; … | |
Hey guys, I am working on a assignment. I am 90% done with the code. However I stuck on the part where i have to flip the output(vertically and horizontaly). I tried I everything i could. I tried setting the row up side down that way it would help and … | |
hey guys im new to recursion to recursion..pls look at the function call ...question is how do i call in two functions at the same time..and which one should i return thank you. [CODE]#include <iostream> using namespace std; bool canMakeChange(int total, int nums[], int length){ if(total==0) return true; else canMakeChange(total,nums,length-1); … | |
hey guys i wrote a code for honework problem...the code works fine however everytime user puts more number than the static array it keep those number in the memory and later in the program if i do cout and cin it will ignore that and assign the number to the … | |
hey guys im working on a homework problem which requires two things -count the total number of clumps -determine the longest clump i finally made my code to recognize the number of total clumps however i still cnt figure out how to determine the longest clump any help be great!thanks:) … | |
hey guys im working on a project which requires two tasks 1) count the total number of clumps in a program which i already accomplished. 2)find the longest clump in the string and output it(for example if string is aaaabbbcccccccc so the longest clump is cccccccc >>clump is string of … | |
hey im new to linux...for a hw assingment im typing a document and im trying to set the margin on the page... i used the :set wrapmargin=1 cmd. would that set the margin for the whole page? is it possible to set margin on each line? | |
hey guys...my code is working fine..only problem i have is my first do-while loop doesnt work...every time i try to compare the word given by the user to 'q' ||'Q'...it gives an error saying no match for the operator..please help me ....thanks! [CODE]#include <iostream> #include <string> using namespace std; bool … | |
hey people:) i have an old hard drive which contains some of my old homework projects...hard drive went bad a while back..everytime i run the hard drive its show the black and while screen ...is there is a way to fix it??? call me crazy but i tried the freezing … | |
hey guys im working on a homework problem..im done with 99% of the problem :|however i cnt figure out how to display my output(which is in dollars) using the comma my output shows >>160000 how would i make it >>160,000 um should i use setprecision??? please help thanks:) | |
hey guys..ok so i did this problem about 80% but i cnt figure out the last part[I] which is sort the characters in order of increasing size. [/I] [B]Question:[/B] Input: 4 words (strings with no spaces) and the order in which they are to be displayed, forward alphabetical, reverse alphabetical … | |
hey everyone i need help help with sorting chars what im trying to do is show four words in order of increasing [CODE]sample run: 1) set 2) wall 3) table 4) answer[/CODE] CNT use No arrays, programmer defined functions or loops. however can use built-in swap() function,if and or switch … |