43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for wonder_laptop

Hello guys... i came across this statement on the internet "java uses Preemtive scheduling?!!!" and i have NO idea what it means. i found 2 definitions online: [U]A preemptive[/U] operating system allows external interrupts ( such as timers, communication devices, etc.) to cause the task that is running to be …

Software Development java operating-system
Member Avatar for wonder_laptop
0
137
Member Avatar for Luckychap

Hi guys, I need to understand the concept of inheritance in Oops. Can any one explain with real life example the use of inheritence to enhance a super class. It will be very helfull to me if you can explain me the use of inheritence to build a simple car. …

Software Development c++
Member Avatar for chiwawa10
0
123
Member Avatar for rockmania

I need C code or program to save the output of the following program into a jpg file(any picture file)? i need to save the output of this program in to a picture file..i need to take printouts of those output..help me with the code that does the above thing... …

Software Development algorithm c
Member Avatar for Salem
0
151
Member Avatar for harkw002_UniSA

1. How do i convert an object (students) which is of type string into a string. 2. How do i remove all characters from a string after a space character. ie. i want to read an Object eg. "WILSON","MBCP" convert it to a string and then remove "MBCP". Then i …

Software Development c++
Member Avatar for harkw002_UniSA
0
157
Member Avatar for Jade_me

Hi... i want to make flash window... after program completed something task then that window will flash. i ask my friend and he said to use api function. but i don't have an idea to do this. please help me masters... any help will be appreciated. best regard Jade

Software Development api flash visual-basic
Member Avatar for Jx_Man
0
159
Member Avatar for ruchika beddy

UseMnemonic -> Set this property to true, if you want to display a character in the captio property of the label as an access key. Suppose I write in the Caption property of the label--? &Ruchi. I know access key is invoked by ALT + letter that is underlined. But …

Software Development visual-basic
Member Avatar for ruchika beddy
0
147
Member Avatar for sonia sardana

Hey when i select the control ,to move to another position,thet are not moving. I m moving the controls using CTRL+ Arrow keys. What feature is to be turned on for moving the controls by selecting them.

Software Development visual-basic
Member Avatar for sonia sardana
0
65
Member Avatar for Laurence26

I add a new name to this script, but when I want to quit and save it gives and error ValueError: need more than 2 values to unpack I have no idea what it means can someone help me? If you want to modify the program feel free... [CODE]filename = …

Software Development python
Member Avatar for Laurence26
0
181
Member Avatar for harkw002_UniSA

I have a header file called StudentRecord.cpp which declares the function: vector<Student>::iterator find (const string& studentName); In my Student Record.cpp file i have written the folloing code: vector<Student>::iterator StudentRecord::find(const string& studentName){ vector<Student>::iterator find; for(find = students.begin(); find != students.end(); find++) { if (students[find].getName() == studentName) { return students[find]; } else …

Software Development c++
Member Avatar for harkw002_UniSA
0
104
Member Avatar for dougy83

Hello all, I'm new to VB.NET. Does anyone know how to call non-.NET functions (i.e. native, unmanaged) in dll files where you don't know the dll filename until run time? I had a go using LoadLibrary and GetProcAddress with delegates, but ended up with a mess (a working mess - …

Software Development vb.net
Member Avatar for dougy83
0
399
Member Avatar for electromania

Im codding a programm that has multiple functions. Once functions calculates the means of 2 sets of data and prints meanx and meany. Now another function will use those means to do some other calculation. I dont know how to get those values from one function and pass them into …

Software Development c
Member Avatar for Ancient Dragon
0
283
Member Avatar for Sawamura

hi all, thanks to helping until this time. now i want to display printer properties... please help me to do this. do i have to using api function to do this?? any help will be appreciated... best regards :)

Software Development api printer visual-basic
Member Avatar for Jx_Man
0
457
Member Avatar for knight fyre

I've created a program that writes info to a specific file and reading from it to generate an income report. The problem I'm having is that when I geerate my report, the last person that was entered is repeated twice, hence throwing off the grand total. Here's the bit of …

Software Development c
Member Avatar for knight fyre
0
109
Member Avatar for abhi287

Hi I m developing an application in which i want to compare a String with string[]. Means i m having array of names which i m displaying in a table..Then i m changing some names in table dynamically by some processing and adding new names to the table... While replacing …

Software Development java
Member Avatar for abhi287
0
115
Member Avatar for aminit

Hello All: Can anyone give me a simple idea how to remove the duplicated letters in a text if I have this word HELLO it must be HELO..... Thanks in advance.....

Software Development c++
Member Avatar for aminit
0
118
Member Avatar for mansi sharma

Single line Comments---? Multi-Line Comments--? I dont want the description, I want how to commnet the section of code. Ex, Line in C, [COLOR="Red"]Single Line Comments-[/COLOR] // [COLOR="Red"]Multi-Line Comments-[/COLOR]/* */

Software Development visual-basic
Member Avatar for QVeen72
0
95
Member Avatar for sonia sardana

Hi, I m new to the VB. Can u pls tell me how to change the backColor Of CommandButton I try, [COLOR="Red"]command1.backcolor=blue[/COLOR]

Software Development vb.net
Member Avatar for Jx_Man
0
114
Member Avatar for jobob64

MMmmmmk so what i am trying to do is simply throw a the ERROR object from the Array<T>::operator[] and catch it in main take a took... it prints out the equivalent of an empty space in memory. [code] //error.h class ERROR { public: ERROR(char * Incomming) { m_message = new …

Software Development c++
Member Avatar for jobob64
0
125
Member Avatar for TheBeast32

Hi, I made a simple program that copies files. I tried to copy an exe file, but after I tried to run the copied version, it doesn't work properly. Please help:?: Here's the code for the test file to copy: [code=C++] #include <iostream> int main() { std::cout << "Hello!"; std::cin.get(); …

Software Development c++ ios
Member Avatar for TheBeast32
0
177
Member Avatar for blue_misfit

Hi folks! This is my first python script! It will be executed within AvsP, which is an application for writing AviSynth scripts. It provides a full Python interface, for macros and other operations. Here's the code I have now: [code] # batchCreateD2Vs # by Derek Prestegard # Last Modified 4/3/08 …

Software Development audio open-source python
Member Avatar for woooee
0
149
Member Avatar for lostandfound

This question is driving me batty!! I am currently teaching myself and enjoying the results of VB6. However, whenever I ask a colleague anything regarding VB the first reply is always the question "Are you using .NET?" and after the answer "No, I use VB6!" they reply with "Ooooh, you …

Software Development visual-basic
Member Avatar for lostandfound
0
190
Member Avatar for Arne Kristoffer

Hello! I have a string which may look like this: (arne kristoffer)(1231232)(12.12.12)(asdasdf 12) This is just an silly example, but never mind. THe point is that i need to seperate the contents of the string into a string vector. This is my code (which of course doesn't work, if it …

Software Development c++
Member Avatar for Lerner
0
149
Member Avatar for Jennifer84

Here I am putting 2 Number into a std::vector<double> and sort these numbers like this. When putting Number1 and Number2 wich are declared variables into the vector, the Number 5 and 10 are put into the vector. If I after the sort write this: Numbers[0], this will give me the …

Software Development c++
Member Avatar for Jennifer84
0
259
Member Avatar for jgritty

I'm sure this is stupidly simple, but I am trying to add words to two different dictionary files I have created. I think my problem is here: [code=python] myDict = Dictionary.Dictionary() myDict2 = Dictionary.Dictionary() [/code] Because when I write out the files, it writes the same thing to both files, …

Software Development python
Member Avatar for jgritty
0
305
Member Avatar for ninjajake

I am using dr. scheme and I need to retrieve the 2nd item in a list. is there a function like car that returns the second one instead of the first one?

Software Development
Member Avatar for azimuth0
0
115
Member Avatar for bbmatten

I am very new to Python and am about three weeks behind due to textbook problems. I am having a problem with one programming exercise. I have no idea how to even begin writting a program to determine the distance to a lightning strike based on the time elapsed between …

Software Development flash python
Member Avatar for vegaseat
0
76
Member Avatar for Arne Kristoffer

Hello! :) I'm having a problem while comparing one character from a string with a ... string. This is a part of a pretty complex loop (or, it's complex for me, since I'm new to C++ and programming), but the case is that I need to compare the value of …

Software Development c++
Member Avatar for Arne Kristoffer
0
22K
Member Avatar for dragonheart

im using crystal reports 11 in my vb project.. (vb 6.0) as i cudnt find the crystal report control in the project -.> components, i went to project -> references and tried to browse and show where the OCX file is.. it got added to the library list.. but when …

Software Development visual-basic
Member Avatar for dragonheart
0
276
Member Avatar for programmer321

[code] Hello, I need my C code Exe to exit only using Cntrol + C and the cross should be disabled. Can anyone help me with this. Regards. [/code]

Software Development c
Member Avatar for programmer321
0
151
Member Avatar for sonia sardana

Hi, I want to ask,I know vb.net not vb. I want to ask is there so much difference b/w vb & Vb.Net.

Software Development vb.net
Member Avatar for cetan
0
257
Member Avatar for xsoniccrackersx

Hi all, I'm new here but I am in need of some desperate help. I have a program that works perfectly but here is the problem: I cannot use the function getline to get a line in the input file and turn it into a string to be manipulated by …

Software Development c++
Member Avatar for xsoniccrackersx
0
1K
Member Avatar for Kaushalya

Wish you all a good day.Currently i'm working on c++ project.I want to know how to convert string object to a character array.Also why ifstream object doesn't accept a string variable as follows, void split(String filename) { ifstream ifile; ifile.open(filename);//this fails }

Software Development c++
Member Avatar for VernonDozier
0
103
Member Avatar for Majestics

[B]Is there is any way to copy out put in graphics into a paint file(bmp)?[/B]:)

Software Development c
Member Avatar for jephthah
0
111
Member Avatar for hudson5cp

Hi all, im a beginner to programming Python with Tkinter. I have a windows with 2 form: 1 Listbox and 1 Textarea that load a txt file. The Listbox contains a name of chapters. How can I make because click on the listbox scroll the text inside the textarea a …

Software Development python tkinter
Member Avatar for hudson5cp
0
754
Member Avatar for kpnprakash

hi, i am developing a vb application to print a bill using printer object.i have developed the whole application but while executing it showns an error(runtime error '380': invalid property value.please help me to do it. my codes are: [code=vb]Private Sub Command1_Click() MousePointer = 11 'mouse pointer busy while printing …

Software Development printer visual-basic
Member Avatar for kpnprakash
0
449
Member Avatar for soomedh

Hi I am facing a problem with listvariable of listbox. I have a global sequence is python. which I am assignning as listvarible to a listbox widget. Listbox is neither showing default nor runtime values of sequence. Can anybody help

Software Development python
Member Avatar for soomedh
0
180
Member Avatar for doggyx5

Hi, I am new to VB6. Currently I am suppose to write a programme for checking book stock.whenever if there is any insufficient books in the data i will have to gather all the insufficient name of any book in a msg and send out to the user. For my …

Software Development visual-basic
Member Avatar for debasisdas
0
260
Member Avatar for fluidDelusions

Hello! I'm having a very difficult time with this problem. What I'm trying to do is generate a sine wave for a specific frequency and output it as raw pcm data to a file. The sine wave is generated as follows: [code] samples[i]=static_cast<int>(32767 * amplitude * sin(static_cast<double>(i)*scale) ); [/code] where …

Software Development c++
Member Avatar for ims
0
1K
Member Avatar for christiangirl

I'm getting this error: term does not evaluate to a function taking 1 arguments on the bolded and underlined parts of this code. I know this code isnt that great...has some extra stuff it doesnt need, but I'm working on that. This is pretty much the first program I've made …

Software Development c++
Member Avatar for christiangirl
0
119
Member Avatar for GPXtC02

i'm looking to get a first name followed by four scores and finally a last name, stored into multiple arrays (a char *array, a float array, & a char *array). getting the scores i understand however the names are pointer arrays. as far that goes what am i doing wrong …

Software Development c++ ios
Member Avatar for vmanes
0
495
Member Avatar for leverin4

Ok, I have a program that uses three classes and a driver program, all compiled separately. One class is a Date class. The Date class header looks like this: [code=c++]#ifndef DATE_H #define DATE_H #include <iostream> using namespace std; class Date { public: // initializers Date(); Date(int day, int month, int …

Software Development c++
Member Avatar for Lerner
0
130
Member Avatar for demroth

I am working on sorting strings of integers with a radix sort. I am confusing myself on the code logic however. I have a file with integers, one to a line, and padded so 1 would be 001. I want to read those integers as strings so I can later …

Software Development c++
Member Avatar for demroth
0
154
Member Avatar for daviddoria

I found _isnan() in float.h for VS2008, but I would like to SET a variable to a NaN intentionally, not check if it is one. Is this possible? Thanks, David

Software Development c++
Member Avatar for daviddoria
0
291
Member Avatar for GPXtC02

is there a built in function to deal with numbers similar to how the swap member function (first.swap(second);) deals with strings? thanks

Software Development c++
Member Avatar for GPXtC02
0
262
Member Avatar for tootypegs

hi, im having trouble when outputing the data from my program. i am trying to output numerous amounts of data into 1 txt file when running through a loop, but everytime it writes to my file it overwrites the previous data stored with in it. Can anyone offer some advice …

Software Development c++
Member Avatar for tootypegs
0
116
Member Avatar for legendarya49

[code]#include <iostream> #include <time.h> #include <fstream> #define MAXSIZE 1000 #include <cstring> #include <string> using namespace std; class Students { public: string firstName; string lastName; string social; double gpa; Students() { firstName = "Adam"; lastName = "Wilson"; social = "000-00-0000"; gpa = 0.00; } Students(string newSocial, string newFirst, string newLast, double …

Software Development c++
Member Avatar for legendarya49
0
144
Member Avatar for rem0404

so i'm trying to fix my "load" function, but i can't seem to get it to work correctly. here's the load function i have currently: [CODE]void load(string messages[], int keys[], int& numElements) { int index = 0; int key; string message; while(index < MAX_SIZE && key > 0) { cout …

Software Development c++
Member Avatar for rem0404
0
162
Member Avatar for rrocket

Is there something else I have to do to get a message with an error occurs other than this: [code=vb] On Error GoTo Handler 'Code that will cause an error Handler: msgBox(Err.Description) [/code] The Handler gets thrown but it is empty.... Just a message box comes up with no text.

Software Development visual-basic
Member Avatar for Jx_Man
0
120
Member Avatar for Traicey

Im a Novice in C++ and Im writting test in few weeks time... have got this question paper and there is something about pow function... when I asked my instructor about it, he just gave me his usually glance and say I must figure it out....well now back to my …

Software Development c++
Member Avatar for Traicey
-1
137
Member Avatar for andy999

Hi all, Iam newbe to this forum and seeks some help. I am using a msflexgrid in vb6 which uploads data from the net. What I want the uploaded data in msflexgrid having 10 cols and 10 rows to be saved in access database and also want to save the …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
576

The End.