- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
Hey, I'm trying to change the color of a textbox border say if a value returned false. private void UserBox_TextChanged(object sender, EventArgs e) { ControlPaint.DrawBorder(e.Graphics, this.ClientRectangle, Color.Red, ButtonBorderStyle.Solid); } } the problem is EventArgs e doesnt have a graphics member, EventArgs should be a PaintEventArgs, but when i change its … |
|
Currently I'm working on Euler Problem 62, Permutations of a cube, the program is searching for a cube that 5 of the permutations are other cubes, I did some online research and found that the cube that im searching for is within the range of an int64, Actually its 12 … |
|
Re:
Hi all experts ... I have a question .... How can i call a function of Class A from Class B without creating any objects,static menthds or using any inheritance.. like if class A has a variable of classB then classB can call a method of class A.... explanatory code: … |
|
I'm Creating a class that I want to call a recursive function within it. However, the complier says i cant declare a function within a method, I was wondering how I could Recursively call that function, in the method, or how to recursively call that method, with out declaring the … |
|
currently I'm rewriting old euler solutions into classes so i can store them in a library. I wrote a program that digitizes a number so it can check to see if it a pallindrome, The base class digitize dynamically allocates memory for the size of a number and stores each … |
|
I'm trying to create a class which finds the sum of multiples for a given base I have the code written with out a class im just having trouble converting it into a class my total function isnt retrieving the data from the object maybe? /* If we list all … |
|
how you would compute/denote the time complexity of two loops based on different variables? I understand how to compute the time complexity for a simple loop PseduoCode while X<N { while Y<M { Z++ } X++ } one loop occurs N times - time complexity O(N) the other loop occurs … |
|
Re:
Hi sir, could you give me some clue of this problem.. I'm a beginner sir.. display a pattern of half diamond using for loop in turbo c in vertical.. sample: if i input a value of 5, the result will b e like this * ** *** ** * the … |
|
Re:
I have implemented Bubble Sort. How to add counters in the program so that I can calculate and display the Best Case, Worst Case & Average Case Time Complexity of this program? [code] #include <iostream> using namespace std; void bubbleSort(int arr[], int n); int compb = 0, compw = 0; … |
|
Re:
Hello I'm using visual studio I need help making a program where a txt file will be read. my program should read all the test scores in the line and will stop when -1 is entered example input file joshua 90 89 -1 michael 76 80 89 -1 Shawn 78 … |
|
Hey, Im having trouble writing a function that will take a limited running average from a file. the running average works just fine, its just when i try to limit the input, i just come out to inf. could it possibly be that im using a static double for the … |