Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

Ading a counter to a For Each loop

So, i have this little For Each loop: Dim search As New GwebSearchClient("") Dim results As IList(Of IWebResult) = search.Search(TextBox1.Text, 4, Nothing, Nothing, Nothing, Nothing, Nothing)...

View Article


Reading from txt file in C

I am trying to read numbers in from a text file into an array, covert them into Celsius, then print them out. But when I read in the number 212, 32, -1 (on separate lines) for example, it only seems to...

View Article


How to enter whole row of elements into 2d array

I'm experimenting with arrays and while I can figure out how to enter the elements of a 2d-array based on user input I cannot figure out how to prompt the user to separately enter entire rows of the...

View Article

Using UML diagram as tutorial/beginner

Im wondering if anybody knows of a learning resource where you are given a filled out UML diagram to make a program out of. Like is there a tutorial that works this way somewhere to get a better handle...

View Article

Finding the sum of all prime numbers between 100 and 200

Hello guys, I'm new to this board and fairly new to programming as well. I've recently been given a problem that i am a bit stuck on. I am told to find the prime numbers between 100 to 200 then display...

View Article


Image may be NSFW.
Clik here to view.

Help with errors and questions

Hey Guys, So I recently got a a project from my teacher. Its on a shape. />/>/>/> Great. This is what Im working with Just a little background info. We are to assume that a rhombus is...

View Article

Problem with calculation

I have created the following code and I want it to ask for a Sales amount to be entered by the user then multiply that by the commission and add it to the salary to list a compensation. However all my...

View Article

using a counter controlled while loop

I can not figure out how to get the program to print numbers 1 through 10 as well as their values multiplied by 10 and 100, when I run the program the values print but not the numbers 1 through ten. //...

View Article


automatic calculation and numeric validation

I am trying to validate the input to be numeric only and to be between 0 and 400. I am also trying to get the text box to automatically generate the calcultaion instead of using the calculate button. I...

View Article


Creating a program that can take an exponent and base and give answer.

Hi, here is a picture of the instructions exactly: http://imgur.com/LCPLWGx For those who do not trust link I need to create a program that creates a MyMath class and within that class takes a given...

View Article

Inserting an image into a JLabel

Hello everyone, Ive been trying to add an image into a program ive been working on. Im new to working with GUIs so this is all a bit confusing. When i run it all i see is the black box i created. Any...

View Article

Application.Add

Hey there fellas, I was wondering if adding a object to the application pool under the same name and value would just overwrite the last one? Example: Dim k as New Table Application.Add("k", k) If I...

View Article

help. idea how to create a youtube playlist downloader.

can you help me sir just the idea. or what i need to study to create a youtube playlist downloader. tnx. i used flashget but bytube but not working properly.

View Article


Difference with mysql_query and mysqli_query ?

Hi, I want to ask , what is a difference between mysqli_query and mysql_query ? Why PHP want to remove the mysql_query ? Thanks

View Article

Creating basic prompt and adding user input to string array

So I'm pretty new to C/C++ but have experience with a lot of Java. Basically I'm trying to make a prompt in the terminal that will take the user input and add it to a string array. I'm writing the...

View Article


Why is my variable being reset to Null?

My main class Objective: Check a string value from another class so I can use that value to make calculations Problem: String value is null on second click so it throws a nullpointer exception. private...

View Article

(CTL_E_PATHNOTFOUND) What this mean

I found this in an error message while running my application My application is used for moving and copying files The application use ( Scripting.File.Copy ) at which the error occured I paste this...

View Article


Linked List - inserting node

I'm trying to create a function that allows insertion anywhere in a linked list...here is what I have so far but it isn't quite working void llAddAtIndex(LinkedList** ll, char* value, int index) {...

View Article

Linked List - inserting node

I'm trying to create a function that allows insertion anywhere in a linked list...here is what I have so far but it isn't quite working void llAddAtIndex(LinkedList** ll, char* value, int index) {...

View Article

Trying to move graphic vertically

The program moves an image from left to right. Once it gets to the right side, I want it to go down. So is there a way can I call the repaint function again only with -y in the second column of...

View Article
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>