199,114 Archived Topics
Remove Filter ![]() | |
Hi, I am looping through some files, gathering information into an array during that loop. The array grows with the loop counter and at every point might be longer or shorter (more or less members in it) so in order to reuse the array I need to drop all values … | |
OK, I've been reading a lot online and I think I can't do this, but I'm really hoping someone has a clever workaround. What I have is a bunch of classes with Color attributes. I'm also storing the red, green, blue, alpha values as integer attributes in those classes because … | |
Student database creating a program that will be used to manipulate a student database. This portion of the database will keep track of student data to include the students name(first, middle, last), date-of-birth, the student's id number, the student's major, and the student's GPA.Based arrays and objects,use 2 parallel arrays … | |
How can i code in java using Two-dimensional Arrays Method to input data from the data file Method to display the table (Please align columns, but no need to use borders, line separators, etc.) Method to compute the average of each row and display it Method to compute the average … | |
Can someone help me with the follow: How would you implement mergesort without using recursion? | |
i am using a c library from c++ application and i need to fill a c struct from c++ code, this is a c++ console application. it doesnt seem to work when i assign variable values using cin. what should i do ? | |
we would like to build a system in java ( set of classes ) to manage and handle text files . the required software uses the predefined java streams (FileReader, FileWriter,...) and allows creating and opening of new text files as well as writing and reading.In plus, it allows the … | |
I am doing a project using oracle10g XE and JSP. Here i am using a table where data type of a field is autonumber. It is working fine when i insert or update record. but it does not continue its sequence when i delete a record. For example i have … | |
Hellow, I have got to make a .s file that can do the following stuff: -image pixels are tored in memory (32bit/pixels: R-G-B alpha) -write an image correcting algorithm *copy a port of the image to another spot *increase the amount of red in the picture *Increase the brightness (simple … | |
hi. i am looking to run the following queries from the project zipped with this message: 1. List all lecturers in alphabetic order by surname within a selected department. 2. List all lecturers within a selected faculty. 3. List all modules taught by a selected lecturer. i am having trouble … | |
hello,i am new in the forum i want from any member in this forum solution this equation (in the insertion any equation for example this (sum=sum+5;) this equation not enduring ) shown in the screen or to be product: sum identifier = operator sum identifier + operator 5 number ; … | |
hi....i'm trying to write a code that generate random numbers quickly because i'll iterate my code a lot of times.....millions of times.... I use srand(time(NULL)) to initialize the seed, and random(RAND_MAX) to generate the random number, but this form is annormally slow I need help to reduce the time of … | |
The following function mixes call by reference and call by value parameters. [ICODE]void T ( int & a, int b ) { int c = a - 1; a = c + b; b = a + 2; }[/ICODE] Suppose that in main we had the following: [ICODE]int apple = … | |
Hey, I'm somewhat new to programming in c++ and I have had this code I wrote for a long time now. I wrote this about 9 months ago when I was really interested in learning the c++ language but lost interest during the summer. Well, now I'm getting back into … | |
I had to write a triangle code enabeling it make some functions and including constructors inside..based on using the class Point(i atached the description file of it here and the Point.class itself)..I can't write the " public static void main () " in my code cause it screams errors to … | |
Using Visual Basic 2008 Express, this has happened to me twice now. I have emailed projects as zipped email attachments, and then when I restore them and open the project, when I click on the VIEW menu, the Designer option does not show up! All I can do is look … | |
Hi, I'v written this code for an Assignment however I was wondering if anybody had any suggestions on how to change the loops from IF/ELSE statements to Do/While, if that would be possible just the rest of the guys in my class are doing it this way with IF and … | |
Hello, How can I create a multi-field list box like in the picture in the link below in Visual Studio. NEo4 [URL="http://i465.photobucket.com/albums/rr12/black-eagle-bucket/multi-field_listbox.png"]http://i465.photobucket.com/albums/rr12/black-eagle-bucket/multi-field_listbox.png[/URL] | |
I took up Visual Basic 6 as a hobby for my retirement. I have no formal traning in computer programming...taught myself everything I know. So my code may look alien to you but it works up to a point and that is the nature of my problem. I am writing … | |
Hii Folks , Sorry For this Long Question, Problem: I Want to Create 5 check boxes and i want to reorder those components using a GridBagLayout , and it's have a Container called Local_Container,after reordering of those components add to panel, so Now we have a Container(Local_Container with a label … | |
hi; here is a part of my ERD "Hotel Reservation system" and there is a relationship with 3 entities included in it. they are: customer Reservation Room the relationship between them is "assign to" I make it as 1 to 1 relationship and i want to know than , how … | |
Hi friends, Whenever i run my project setup it shows message "SETUP CANNOT CONTINUE BECAUSE SOME SYSTEM FILES ARE OUT OF DATE ON YOUR SYSTEM.CLICK OK IF YOU WOULD LIKE SETUP TO UPDATE THESE FILES FOR YOU NOW. YOU WILL NEED TO RESTART WINDOW BEFORE YOU CAN RUN SETUP AGAIN. … | |
hi! how to get the field value in VBA with the help of SQL statement and assign this value to a Variable.... and then use that in the code...? thank you 4ukh | |
HI Folks , Any one Here Name The Java Swing Component with "Date and Time Instance"? Thankq Sekhar | |
hi i'm using a datagrid view control which get's his datasource from a dataset control. my code is: [CODE=c#]dataGrid = new DataGridView(); dataGrid.DataSource = dataSet.Tables["Vertexes"]; this.Controls.Add(dataGrid);[/CODE] the datagridview in shown fine. the problem is that when i try to cahnge cells color like this: [CODE=c#]for (int x = 0; x … | |
Hi all, My problem is continue from this post: [url]http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/353b5bd8-b86e-403a-883d-4c13d959e5f1[/url] I created a Unit Test by NUnit to test the method which is stored in DLL. The method should return a complex type variable (an object instance, Company for example). When the calling side (in Unit Test module) cast the … | |
If there are two arrays arr1[]={1,4,5,6} arr2[]={1,5} I want to get the output as arr[]={4,6} i.e i have to remove all the common elements that arr1 and arr2 have and printing the required output . Can any one give me the program in C++ for this with normal looping techniques? | |
Can any one slove this question? It is really hard. [url]http://img168.imagehshack.us/img168/7080/task3vn7.png[/url] I don't know how to write it in c++ but i have write up the programing logic that should work for this question. | |
Hi all, I have a small app in .net 2008, running (in systray), in many computers in my company, that has to alert the user a few times during the day's work, and sometimes ask for their input. The problem is, when, i open a form (show or showdialog), it … | |
Hi, N00b as I am, I have a little problem: I have a gamesite. When a user clicks on a game, a Js script has to check if he has our app installed and if not, it redirects him to our landing page, where he can install that app. This … | |
Hello everybody, first of all, I'm quite new to programming in C, so forgive my ignorance. For an assignment i have to program a microcontroller (Atmega8) using ICCAVR. I'm working on a programme similar to 'simon says' (where 4 led's are illuminated in a random order, and afterwards you have … | |
Hello Friends, I am trying to porting some pre-existing code to VC++ 2005 in Win XP environment. I have a segment of code like, [code] ... #include<fcntl.h> #include <sys/types.h> #include <sys/stat.h> ... ... cm_iFile = open(l_chBuff,O_RDONLY|O_BINARY); ... [/code] During compiling this file I am getting the following error message, [B]..\source\CRaterEDRFile.cpp(276) … | |
Hello friends iam new to this community and also iam new to the PHP can any one help me in getting the Telugu version of data in website as in eenadu.com i have to get the data in telugu please help me Thanks in advance Bye | |
Sliding Window Mechanism The sliding window mechanism is used in many protocols at many different layers. The sliding window helps in solving a number of problems. Retransmission of lost or damaged frames (or packets) and flow control problems are just examples of that. The sliding window protocol in its simplest … | |
i have made a screensaver and what i want is to disable alt-tab, ctrl-esc, the windows button (the one between ctrl and alt i mean) ive tryed using many different versions of SystemParametersInfo( SPI_SCREENSAVERRUNNING, integer(true), @i, 0); SystemParametersInfo( SPI_SETFASTTASKSWITCH, 1, @i, 0); but its not working on xp and vista... … | |
sometimes geting this exception "Function evaluation disabled because a previous function evaluation timed out. You must continue execution to reenable function evaluation ' how to recover this error. i searched google but i didt get any good sol .plz help me | |
i am persuing my engineering.i would like to do a mini project in java.can anyone please suggest some interesting topics and guide me how to start?? | |
The program is all working now, but I'm worried because on the last linked lists assignment I got a C because I did not do the link correctly. My prof said that I did not create the links up correctly just used a stack to get descending in the last … | |
Does anyone know how Oracle's PL/SQL handles subtraction with a negative number? Really what I need to know is, given the following: (NOTE: this is NOT the code I'm working with. It's just an example to give and idea of what I'm trying to do.) [CODE] DECLARE number1 NUMBER; number2 … | |
I have the ff error and I have no idea what is [COLOR="Red"]Line 1: Incorrect syntax near ','. [/COLOR] [COLOR="Red"]Exception Details: System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near ','.[/COLOR] Source Error: Line 101: dgItems.SelectedItem.Cells[0].Text; Line 102: [COLOR="Green"]the application point the error in the ff line that fills in the dataset[/COLOR] [COLOR="Red"]Line … | |
I have an aspx form. It works. It submits. Now, without going into ANY OTHER FILE, I would like to add a field or two. Is this possible? I've tried it but those fields never send their data I've tried copying a field and changing NAME to NAME2 but still … | |
Please provide me the code for REMINDER in ASP.NET with C# | |
Hey, This is the same code as my other forum for those of you who were helping me there. It is all working now, but when I go to call return_value from applicant.cpp(it has to be .cpp not .h because thats how the prof made it) Its coming up with … | |
23. To convert Fahrenheit ( F ) temperatures to Centigrade ( C ) temperatures people use the formula: (32 degrees F is 0 degrees C, 212 degrees F is 100 degrees C, etc.) double C,F; [ICODE]cin >> F; C = ( 5 / 9 ) * ( F - 32 … | |
What im trying to do is use shared memory and increment a value in it so that i can test to see how many times i get the actual number i was looking for which is 4000000 or more/less. Im using 2 forks so that i have 2 child processes … | |
Hello guys, I'm trying to collect user input which combines integers with letters, but whenever it reaches the scanf for char it skips it and goes to next integer, could anybody explain why??? is it because main returns an integer,? I tried setting void main(void), and it sais that main … | |
Okay im reading in lines of text e.g "abcdefg" and I need to split the line into an array of characters where each character is stored in its own element so its like [a][b][c][d][e][f][g] I know how to do it with splitting words from poems etc... using something like txtLine.split(" … | |
Hi I have defined the class in C++ file as __declspec(dllexport) int clsName ::CreateDocument(char* filein, char* fileout, char* config) where clsName is the class name But after I compiled the code and use the dll in .net code I am getting a run time error "Unable to find an entry … | |
Hey, I am having problems with this code, I think it is not linking up the whole file, because when I run it it only says "hi" 3 times. And also it keeps crashing because of best[i] = point->item->return_value(); [code] #include "applicant.cpp" #include <iostream> #include <fstream> #include <iomanip> using namespace … | |
Hello everyone....again. I have a program that is using a queue. I have a class member function that is to traverse the queue, and output the smallest number in the queue. Pseudo for this function is: Compare the front and front->next. Whichever is smaller, keep it. Traverse the queue until … |
The End.