Issue delaying Servo Motor
Hey all, I'm working on a model drawbridge project using two servo motors and I'm having an issue trying to delay two servo motors when it reaches a certain y-axis peak read by my microprocessor'a LED...
View ArticleClass
Here is the assignment and i'm pretty much stuck at Add method and can't get any progress. Can anyone help me out with the coding? Urgent. Thank you. Create a C++ console project and name the project...
View ArticleHow can I make pointers to make this easier?
I am getting confused between the memory address and the value of how pointers work. How would I use this program to ask the user to enter a set of large integer numbers and add the arrays together but...
View ArticleScreen Resolution Problem
Ok, I am using two monitors on my computer. In my project I have a button that will Max my form with no boarder. The problem I am having is; it spills my form over onto my other monitor just a bit. How...
View ArticleGetting Streamwriter to export filtered results to a .txt file
Hello, I have a question about using the StreamWriter function in VB 2010. Is it possible to filter the results of a list box by their first letter (i.e - in my case the first letter of separate...
View ArticleCustomize Webpage Layout
How do I customize my webpage layout? Users are able to change the font(new time roman,arial etc) and size(10,12,14 etc). So far this is what I have done with my background colour and font colour....
View Articleundeclared identifier when using a "getter" method
So i made a simple class that has a member var of type SDL_Rect... I declare it in the default constructor and then try to use a getter that returns the SDL_Rect values (x, y, w, h) but when I do i get...
View ArticleC++ File Handling!
Hello, every one there, I am stuck on a problem..!! Actually, I tried to make a Telephone Dictionary and for this I use the following code, when I am inserting a contact it successfully do this. But...
View ArticleConvert Java Program to a Applet (Queue & JPane)
Hey All, I was wondering what would be the easiest process in converting a java program I wrote, into a Applet. I tried to do some googling, but was unable to find anything solid. Any direction or...
View Article[Help] Finding the mode
I have been searching everywhere in Google, trying to figure out if there is a built-in function that you can find the mode of a list of the number in other words the most consist number appeared in...
View ArticleParallel For Loop
I have a parallel for loop which loops though an array of XML and replaces a tag (<Scheme Ref="Temp_Scheme"/>) whith a tag passed into the sub routine. Parallel.For(LBound(Input_Array),...
View ArticleC++ Asteroids
Hello, I have been programming an Asteroids-like game in C++ in Xcode on Mac OSX. The only problem I have run into is that for some reason, Xcode is saying that I have an out-of-line definition, my...
View ArticleExit method safely
hi I have wrote this method to read files the question is about this code here if( fileName.fail() ) { cerr << "Cannot open file: " << endl; system( "PAUSE" ); return( 1 ); } I know my...
View ArticleException while displaying text file data to JTable
Hi I have written a code to display the contents of a text file to a JTable. The file content is being displayed to the JTable but there are large number of extra rows also being displayed and when I...
View Articlerrange the numbers into lowest to highest
i cant figure out my error .actually my code have not error.just look at the picture ...here's my code #include<stdio.h> #include<conio.h> main() { const int Size = 12; int contain[Size];...
View ArticleSimTower/YootTower
Hey guys, im inspired right now by the classic game Sim Tower, what programming language was it programmed in? I'm having a hard time finding that Info, I was also wondering , 2 people worked on...
View Articlevoid merge with array
how to use VOID merge to merge array A and B? this program merge but i didnt use void merge and where should i put it , so can you help me to edit it ? thanks #include <iostream> #include...
View Articlei want to format the text in text box
i wan't to make a similar program as word in vb 208 express edition thus i wan't to know that if i have written 4 lines in a text box and i wan't to make the selected text among that of the 4 lines how...
View ArticleC++ Books Recommendation
So i am trying out game programming now, presently using C++, so would anyone recommend a series of programming books which would take me from basics through classes and through graphics and all the...
View ArticleImplementing Doubly Linked list
I am having trouble fixing four debug issues namely the constructor, and iterator methods Here is my code import java.util.Iterator; import java.util.LinkedList; import java.util.List; import...
View Article