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

how to become better at php?

What would be the best way to 'master' PHP? By 'mastering' PHP I mean that you are able to create any application that you want. I'm not saying you should know all the functions and everything you...

View Article


Config files

I have a directory called config, which contains a file that has the contents: documents;2;document id;file_location; inverted_index;2;key word;list_of_document_id; I have another directory called...

View Article


BigInt Display and operator+ functions

Hello! I am implementing a code for BigInt class and I am having troubles displaying the object (everything prints reversed). Also, is my operator+ function okay? Thanks! BigInt.h #include...

View Article

Label transparent over picturebox while runtime

This is the code section Function NewMensaje(ByVal Mensage As String, ByVal x As Integer, ByVal y As Integer) As String Dim pic As New PictureBox Dim label As New Label With label .Name = "Lmensaje"...

View Article

Image may be NSFW.
Clik here to view.

What is the best way to represent a map

I am trying to represent a map and I am wondering what is the best data structure to do so? I though about using a graph, so that I can use Dijkstra's algorithm to find the shortest path from one room...

View Article


Transferring FQL Results to Excel Question

I'm using Facebook Query Language to grab the page IDs of companies and their different branches and want to export this information into an Excel spreadsheet. What would be the best way to transfer...

View Article

Read File, calculate, then add to array.

My project has names and scores for 16 students in a class. A text file has their names and their lab/quiz scores. My question is trying to tie in the logic of coding to actual written code. Example:...

View Article

Image may be NSFW.
Clik here to view.

Database design question

Ok, some background first, I trade goods, I buy 300 of item Y at 120 each. I then sell 200 of Y for 150 each. Now I have 100 of Y left. I then buy more of Y but this time at 130 each. I need to also...

View Article


simple java gui quiz

I'm trying to make a simple java gui quiz game. I'm making this game so I can input information to help me study for various subjects. I want this program just to ask about 20 questions multiple...

View Article


error when running code-loop

Can anyone help me please, I cant figure out what I am doing wrong or missing. I need to enter a sentence and write it to a file over and over again until the word done is typed then it should exit the...

View Article

Specified cast is not valid (ADO 2.8?)

Hi guys... I found this code online: Sub Main() Dim Cn As OleDb.OleDbConnection, Cat As ADOX.Catalog, _ objTable As ADOX.Table Cn = New OleDb.OleDbConnection Cat = New ADOX.Catalog objTable = New...

View Article

how to do the calculation for current stock

hi, im new here. I had a problem about to calculate the current stock. How I can deduct a value from database ? I had a form that contain a value that will be deduct from database. value from database...

View Article

writing a function

Write a function that takes as a parameter an string and returns the number of times each lowercase vowels apepars in it (a, e, i, o, u). The function prototype should look like: void...

View Article


Grabbing a string member from a WebClient stream

I'm trying to convert this code to VB.NET from java, it's the part with the "<<<<<<<<<<<<<<<<<<<<<" behind it. HttpURLConnection...

View Article

Initialize ArrayList w / Variable

Hi everyone! I am having trouble with the ArrayList. I have never really dealt with them but I have to use them for my next project. I will post my code here. import java.util.ArrayList; public class...

View Article


Help with getting battery information

I am trying to get the type of battery in my computer using c++ on windows using this api http://msdn.microsoft.com/en-us/library/windows/desktop/aa372661%28v=vs.85%29.aspx with the chemistry string...

View Article

Problem in UPDATE statement

I have problem updating specific record(s) selected to edit from a DataGridView into textboxes ,where the data can be edited and then update to the database. Now my update statement must have a where...

View Article


My First Java Project. Need some insight

So i'm starting my project and I know the project seems really simple to many advance coders.My obstacle is the vagueness of the instructions. I'm puzzled on where i'm suppose to start. The...

View Article

Best Way to Take Values from a Numpy Array, Two at a Time

I need suggestions for a way to take values from an array I built. I need to take them two rows at a time and be able to access each element of the two rows individually. import numpy as np ''' Created...

View Article

Best Way to Take Values from a Numpy Array, Two at a Time

I need suggestions for a way to take values from an array I built. I need to take them two rows at a time and be able to access each element of the two rows individually. import numpy as np ''' Created...

View Article
Browsing all 51036 articles
Browse latest View live


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