No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am trying to understand how draw graphics to the JPanel class but i have only been able to display one object at a time(unless i draw muiltiple shapes in my extended JPanel class but i dont want that!) [CODE]import java.awt.*; import javax.swing.*; /* Create a new graphics component that … |
|
I have looked everywhere but i have not been able to find any thing about comparing two strings alphabetically. I tried comparing the characters of each string but i do not know what comparing characters actually does. i am assuming it just compares the ascii codes of each character? [CODE] … |
|
i have been having trouble searching string for a specified char. I have been using the string.indexOf(char) but that only gives me the index of the first instance of the char not all the index values of the char. for example.. [code] string wordToSearch = "adadda"; if(wordToSearch.indexOf("a")) != -1) messagebox.show("letter … |
|
how do you add data to sql database using c# variables and an sql command? I have a class of employes that i use which has values identical to my sql database tables here is the basic code of what i want to do... [ICODE] SDC.DbCommand dbCmd; //database command string … |
|
I have been having significant trouble starting this project where i need to create a databse library to access an sql database. I am working in vs2008 and I should be able to just edit my app.config file and use my ODBC connection drivers. If anyone could help explain this … |
|
I have created an array of struct i am very frustrated beacuse I just can not figure out how to pass this array of struct into a function. here is my created struct and a general idea of what i have been trying [code] #include <stdio.h> void functionOne(MyStruct) struct MyStruct … |
|
i need to creat a function that will read information from a data file, and store the bank accounts in two seperate parrarell arrays. array “account”, and store the balance on the accounts in array “balance”. here is an example of what i have to do <data file> 231 4000.52 … |
|
i am very new to c++ and have to create a program that will manage the sales of 40 different stores. I was told to use 2 (parralel) arrays(not a two dimensional array). I have no idea how to add the proper data i need becuase the file i am … |