199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DimaYasny

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 …

Member Avatar for DimaYasny
0
141
Member Avatar for VernonDozier

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 …

Member Avatar for VernonDozier
0
143
Member Avatar for star100

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 …

Member Avatar for VernonDozier
0
194
Member Avatar for star100

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 …

Member Avatar for Ezzaral
0
118
Member Avatar for johnalexandersr

Can someone help me with the follow: How would you implement mergesort without using recursion?

Member Avatar for Freaky_Chris
0
168
Member Avatar for serkan sendur

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 ?

Member Avatar for cikara21
0
160
Member Avatar for leox99

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 …

Member Avatar for stultuske
0
93
Member Avatar for amrita.r

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 …

Member Avatar for debasisdas
0
90
Member Avatar for raphkeu

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 …

Member Avatar for raphkeu
0
141
Member Avatar for redrum237

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 …

Member Avatar for redrum237
0
63
Member Avatar for youngman_kurd

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 ; …

Member Avatar for Salem
0
103
Member Avatar for rpg245

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 …

Member Avatar for Salem
0
110
Member Avatar for Awebb999

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 = …

Member Avatar for Salem
0
73
Member Avatar for Holy Roller

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 …

Member Avatar for VernonDozier
0
121
Member Avatar for TAboy24

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 …

Member Avatar for Ezzaral
0
211
Member Avatar for Bill Purkins

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 …

Member Avatar for Bill Purkins
0
104
Member Avatar for nedsnurb

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 …

Member Avatar for ArkM
0
96
Member Avatar for NEo4

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]

Member Avatar for NEo4
0
107
Member Avatar for Kennylee

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 …

Member Avatar for Kennylee
0
144
Member Avatar for babusek

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 …

Member Avatar for babusek
0
156
Member Avatar for Zay

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 …

Member Avatar for Zay
0
113
Member Avatar for pardeep3dec

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. …

Member Avatar for aktharshaik
0
129
Member Avatar for 4ukh

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

Member Avatar for 4ukh
0
97
Member Avatar for babusek

HI Folks , Any one Here Name The Java Swing Component with "Date and Time Instance"? Thankq Sekhar

Member Avatar for masijade
0
154
Member Avatar for emilio

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 …

Member Avatar for reena12
0
1K
Member Avatar for diviner

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 …

Member Avatar for Renukavani
0
138
Member Avatar for soniagupta98

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?

Member Avatar for mahlerfive
0
397
Member Avatar for chchiu

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.

Member Avatar for brechtjah
0
88
Member Avatar for vagueante

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 …

Member Avatar for Teme64
0
172
Member Avatar for elbuhleini

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 …

Member Avatar for brechtjah
0
112
Member Avatar for Elsammos

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 …

Member Avatar for Elsammos
0
97
Member Avatar for amt_muk

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) …

Member Avatar for mitrmkar
0
125
Member Avatar for virspy

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

Member Avatar for virspy
0
88
Member Avatar for pavanwanam

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 …

Member Avatar for verruckt24
0
118
Member Avatar for darkyere

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... …

Member Avatar for LizR
0
225
Member Avatar for Renukavani

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

Member Avatar for LizR
0
185
Member Avatar for vlpkiranmayi

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??

Member Avatar for stultuske
0
352
Member Avatar for christiangirl

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 …

Member Avatar for Murtan
0
113
Member Avatar for bondo

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 …

Member Avatar for like_to_learn
0
189
Member Avatar for Traicey

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 …

Member Avatar for Kusno
0
120
Member Avatar for squarkman

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 …

Member Avatar for Kusno
0
71
Member Avatar for shobhatai
Member Avatar for christiangirl

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 …

Member Avatar for Agni
0
105
Member Avatar for Awebb999

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 …

Member Avatar for mahlerfive
0
282
Member Avatar for nashmage

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 …

Member Avatar for Salem
0
119
Member Avatar for atman

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 …

Member Avatar for WaltP
0
153
Member Avatar for jbennet

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(" …

Member Avatar for ~s.o.s~
0
143
Member Avatar for karang

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 …

Member Avatar for Ancient Dragon
0
142
Member Avatar for christiangirl

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 …

Member Avatar for Agni
0
182
Member Avatar for JLopeman

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 …

Member Avatar for JLopeman
0
69

The End.