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

time_sleep_until and filesize not working?

i use this php code to grab a web page. i use time_sleep_until but it does not seem to even exist? filesize comparison seems to be ignored too? (i have tested and it did give correct file size.)...

View Article


parallel array index chosing

Hi guys I have two arrays and I want to ask the user to enter a code which is from the first array but I want the print out to say a detail from the second array, finding it hard to explain so this is...

View Article


Image may be NSFW.
Clik here to view.

C++/Winpcap how send a struct as raw packet ?

hey guys i ma messing around with winpcap and i am trying to send an arp packet to my iphone and have it respond to it i have buildt a structure called arp which contains all the information needed,...

View Article

abacus model testing

//I am supposed to make an abacusmodel and test it if it works or not. Now i've made this code, //but something is not right, the test dosent say whats wrong, so that dosent help. //Could anyone check...

View Article

Java 2D: Issues with setVisible

Greetings. I'm making a basic 2D Tank Shooter game and I'm having some weird issues with using setVisible(). I'm going to include my entire main method for context, but most of it isn't relevant. So...

View Article


How to convert this pseudo code into JAVA

D = 1 coeff_array[0] = select random integer between -5 and 5 coeff_array[1] = select random integer between -5 and 5 coeff_array[2] = select random integer between -5 and 5 D = 2 coeff_array[0] =...

View Article

Help on extracting last part of an array

Hello all, I have a quick question I would like to ask. I have been given an exercice where I have addresses, and I have to extract the ZIP code on it. Here it is class Assignement6 { public static...

View Article

OpenMP to POSIX Threads

I am trying to execute the code below using POSIX Threads instead of OpenMp. Any ideas. I am newbee. I have tried several times and it is not working. #include <stdio.h> #include <math.h>...

View Article


Question, how to deal with "creation_time" & "form_tok

I'm trying to build an app in VS2010 with VB.NET, I need to do several posts with the same information on different forums, something like a bot but I need to do this manually and doing it all by...

View Article


How to delete multiple records 4m DB using checkboxes in datagridview?

i hav a table created in oracle supplier(Name, Contact1,Contact2). i hav used a datagridview for retriveing the supplier table values on form load. what i want is when the user selects multiple...

View Article

Image may be NSFW.
Clik here to view.

[link] Blend + Sketchflow

In another thread recently a couple of us were confused why my Blend had features not found in their Blend. Eventually we realized their Blend was the 5.0 version that ships with VS12, while I had 5.2...

View Article

Image may be NSFW.
Clik here to view.

Storing logic for discount module

Hi guys, I'm writing a discount module for my booking system and was looking for some advice on how others would store this data in the database. I plan give the users the following form: Drop Down:...

View Article

JList Reselection Question

Ok so I have a Condition Class that creates a condition object. These have an int ID and String Name. I Also Have a Patient class, these have lots of string and int attributes but also an Array(or...

View Article


Linked list questions

So i got a task to implement a linked list with the following methods: class LinkedList - public bool Add(NodeElement element) – adds a new element to the end of the list; - public NodeElement Get() –...

View Article

Using java.awt.Graphics outside of paintComponent(){}

I am trying to use the graphics module outside of paintComponent to draw things under certain conditions, but what keeps happening is a NullPointerException. Here is my TitleState code (It is a State,...

View Article


Pass Datagridview Current Cell Value to another Form's Textbox

What I want is to Display the Current Cell Value of Datagridview to Another Form's Textbox. This is my code where I want load the CellValue. form1/frmUpdateStudent Private Sub...

View Article

How to check if an application is maximized?

Hey everyone! I need a help with application, i wanna to my application tells me if let's say Spider Solitaire window is maximized! I was found one code on internet but i have problem with that! Maybe...

View Article


my 1st attempt...already stuck!

Hi All This is my 1st attempt at teaching myself C/C++ so please forgive my ignorance but I'm stuck on 2 questions I have. 1) Correct this class namespace ExampleApp { /// <summary> /// Correct...

View Article

Documentation for UJMP?

Where can I find some documentation for UJMP (Universal Java Matrix Package) so that I can understand the functions included in it.

View Article

Help converting a string to char * const

Hello. I'm writing a simple shell for a project for OS and am having issues with the way I wrote the code. I've set up my input to get two strings, the first is what the argument is (clear, exit,...

View Article
Browsing all 51036 articles
Browse latest View live


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