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

Trying to understand this code

Someone was suggesting I use this code for my file-renaming project. The problem is, I barely understand ANY of it. It looks like the guy tore C++ itself asunder! Here is the monstrosity of code:...

View Article


DX11 Create Device Not Working

I am currently going through a book from Frank Luna on DirectX11 and I copied this code from his book to test it. It it using the CreateDevice function from D3D11. The code keeps giving me a linker...

View Article


How to find the position in array if two values are same?

I want to find the position of "4" of the followings array but there are two "4". public class test{ public static void main(String[] args) { int[] marks = {1, 2, 3, 4, 4, }; } }

View Article

Question - VB 08 XE How do I edit a specific line in a txtbox

I know how to get a specific line value of a txtbox TextBox1.Lines(1).ToString but i don't know how to use the value of TextBox1.Lines(1).ToString and "paste" it in example : the 2de line in txtbox5?...

View Article

level curves in java

Hi, I have to write a program which can draw contour plot(level curves) of every function, but i do not know how to calculate x and y in f(x,y)=z to draw the level curves? Actually my program receives...

View Article


Question: VB08 EE - Order list box items?

Can a user set the order of items in a list box? Please and thank you Rudi

View Article

using only for and only do-while

need advice on how to re-write below simple code by using conditions 'for' only and 'do-while' only. I tried using 'for' on the 1st portion, but the total not able to process accurately So far, stuck...

View Article

Hidden controls (Permissions)

Quite new to ASP MVC. I got three buttons on a page and three Booleans in my database <input type="submit" value="Add File" /> <input type="submit" value="Add Software" /> <input...

View Article


c# select only the first column of a datagridView

I have a datagridview that i am trying to select only the first column of a row that i have clicked on. When i currently click on the datagridView i get the value that i have clicked on returned. The...

View Article


Image may be NSFW.
Clik here to view.

How do i use the publish option in the properties menu of a project?

In the past, my father knew how to publish projects from Visual Studios. But, alas, he has forgotten and i have no clue what to include. The path i used was this: right click project name-> select...

View Article

Class name / Import problem

the_game.py is like follows: from sys import exit from random import randint from game_room import * class Hallway(object): """\tYou are in a warehouse with 2 doors. Which one do you try to open?...

View Article

How to add an accumulate button

Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button2.Enabled = True Button1.Enabled = False Dim num As Double If Not...

View Article

A Look at Recurrence Relations

i haven been given this question to solve and i have having truble understanding the problem and that the function f actually does. III Calculating Programs Suppose that you are part of a team...

View Article


Duplicated results when querying 2 tables

Hi everyone, I have multi-table database that contains data for the same plant varieties but in different times, for example "Winter_2012" and "Summer_2012", lets say I want to query the plant variety...

View Article

Date / Time conversion to string

Please pardon me for wasting your time on a primitive question like this. But it has been giving me nightmares as I cannot figure it out why is it happening despite browsing net for the solution. The...

View Article


sum /avg an alias column

select sum(days_in_received_and_billed)/COUNT(days_in_received_and_billed) as avg_stuff from ( select datediff(day, ( select top 1 t_order_detail_event.dte_created from t_order_detail_event where...

View Article

Java Delayed Collision Detection

Hey! I have a small problem regarding collision detection, you see... My detection is sometimes slightly delayed (30ms maybe?). Because of this delay the player can sometimes walk trough half of the...

View Article


A button not working

Public Class Form1 Dim num As Double Dim rtlPrice As Double Dim whlSaleCost As Double Dim grsProfit As Double Dim strCharge As Double Dim netProfit As Double Dim quantity As Double Dim accQuantity As...

View Article

vb.net crystal report..

Crystal report I cannot get this output in crystal report..Please help Current Assets: (monetary value) cash on hand 100 Petty Cash Fund 100 Revolving Fund 100 Educ. Revolving Fund 100 Loan...

View Article

Image may be NSFW.
Clik here to view.

Difficulty in Creating own Game Editor

Good Day Guys! I am trying to create a game,in the process of designing, use some arts, programming/coding but, suddenly a thought comes to my mind "I know it is very hard & time consuming in...

View Article
Browsing all 51036 articles
Browse latest View live


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