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 Articleparallel 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 ArticleC++/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 Articleabacus 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 ArticleJava 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 ArticleHow 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 ArticleHelp 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 ArticleOpenMP 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 ArticleQuestion, 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 ArticleHow 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[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 ArticleStoring 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 ArticleJList 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 ArticleLinked 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 ArticleUsing 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 ArticlePass 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 ArticleHow 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 Articlemy 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 ArticleDocumentation 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 ArticleHelp 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