132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for danbellinger1

I have been trying to get this Binary to Decimal program to work. I'm sure I'm not doing this with the least amount of code, if you have suggestions (using modulus especially). The errors I used to get was binNum is too large for the "long" type. I then used …

Software Development c++ laptop
Member Avatar for Narue
0
126
Member Avatar for cjwenigma

Hello.. I'm trying to use OpenGL to draw the great pyramid model and have it rotate.. i'm having trouble with my points as you can see they are commented out. I'm also trying to figure out how to turn the eye point and how to rotate it... here are my …

Software Development c opengl
Member Avatar for jbennet
0
415
Member Avatar for Cecilia_notes

I need to replace the selected item in ListBox with the the input text in a TextBox, listbox1.SelectedItem = textbox1.Text doesn't do that. Do I have to remove the selected one and insert the new one? Thanks.

Software Development vb.net
Member Avatar for Cecilia_notes
0
74
Member Avatar for smzuber

Hi, We have a client-server application wherein the server has a pooled connection to an Oracle 10i database. The application is developed in Java and we are using Oracle OracleConnectionCacheImpl API to manage the connection pooling( DYNAMIC pooling with a pool size of 5 and we are using ojdbc14.jar) On …

Software Development api client-server java oracle
Member Avatar for jwenting
0
448
Member Avatar for fishsqzr

Does C# allow short-circuit evaluation of Boolean expressions? That is, if you have an expression such as if (test1) & (test2) {....} when test1 is false, there is no reason to evaluate test2 and a language which supports short-circuit evaluation never looks at the second test because the result will …

Software Development c#
Member Avatar for iamthwee
0
484
Member Avatar for APEOKUKU

I am writing a music software in visual basic as my final year project and am having problems with displaying a piano and loading sounds into each of the notes.Can someone please!!!! come to my aid. Any help given will be appreciated

Software Development visual-basic
Member Avatar for binoj_daniel
0
99
Member Avatar for xs.gautam

Hi Floks, This is Gautam here...i've recently completed Core Java+Advanced(Desktop tech.) + JDBC with oracle & MS Acess...Im going to submit a project work in next 6 months so i need newer topics for Making useful project either standalone or with DB connectivity 1.One that i've in mind is remote …

Software Development java oracle
Member Avatar for xs.gautam
0
109
Member Avatar for Mpiangu

Hi every body am emma, am trying to develop an encrypting and decypting software in VB6.0 but am kind of strunded in simple terms am using two richtextbox controls and a button but i can not get the trick to get the text in richtextbox1 to two when encrypted. How …

Software Development visual-basic
Member Avatar for hawisme000
0
116
Member Avatar for claysteven

HI People, Am new to programming basic, and have been working on a calc. to work out the storage requirements of a bitmap graphic in MB using the inputs Height, Breadth, Resolution and Colour depth has been driving me mad as when i run the programme nothing happens, even the …

Software Development storage visual-basic
Member Avatar for claysteven
0
269
Member Avatar for Pierrot le fou

Hello ! I am looking for a paper that reviews the currently available commercial C compilers, in order to choose one of them. My principal expectations for a C compiler are: efficient debugging, user-friendliness and optimisation possibilities... So far, I selected more or less two compilers (Visual C++ and Borland …

Software Development c
Member Avatar for Narue
0
101
Member Avatar for danbellinger1

I am working on an assignment (I know many have asked but none have asked about the number of digits I need plus some) that is to accept input for the fibonacci corresponding to that (i.e. 0=0, 1=1, 2=1, ..., 96=51680708854858323072). When it gets to 79 (should be 14472334024676221 since …

Software Development c++
Member Avatar for vmanes
0
189
Member Avatar for Alekha

Hello Friends Could any one please help me in doing a project in java using JSF and Portlets, Eclipse Tools ,The Project is HR Recruitment system .

Software Development java
Member Avatar for Ezzaral
0
113
Member Avatar for jaepi

Hello there, I'm currently encountering a strange error which is I don't know why or could this one be possible. I have several for loops inside a function and I used the iterator outside the said loop, but I do get this error which is kinda strange. [code] error: name …

Software Development c++
Member Avatar for vijayan121
0
131
Member Avatar for Dee76

I'm having trouble with the (dynamic_cast<Truck*>(vptr[k])) -> DOTLicense() part. If my numOfVehicles = 1 it works fine, but if numOfVehicles > 1 I get core dump error. I can remove the dynamic_cast statement and it works for numOfVehicles > 1. Any help or advise on what I'm doing wrong is …

Software Development c++
Member Avatar for vijayan121
0
653
Member Avatar for docdoc

The following bit of code is from the Atmel AtUsbHid example. Can someone please explain the line DYNCALL(writeData)((UCHAR *)"12") which i believe is part of a DLL, maybe.... I know the code turns on and off a LED but i want to know how the code works.... [code] void CUsbHidDemoCodeDlg::OnLed2() …

Software Development c++
Member Avatar for Ancient Dragon
0
108
Member Avatar for nish88

can you please tell me the code to make a picture transparent in python.thnx... if possible you give me the codes. thnx in advance

Software Development image python
Member Avatar for nish88
0
43
Member Avatar for leathan

Hai, I was trying to run a CGI cript that proccessed people's information... Well anyway I kept getting the very unhelpful Internal Server Error So I decided to make a stupid script that merely displayed "Works" To the screen. I contacted my webserver (1and1.com) they told me perl scripts could …

Software Development perl
Member Avatar for xmassey
0
339
Member Avatar for shahriar2403

I use dim mydb as recordset and also use mydb.update in certain required places like the update command button clicking. It works, by adding the new value in database. I have a list that shows the values of that db. But the main problem is i cannot see the newly …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
88
Member Avatar for francis0ng

i have a VB form with 4 combo box, how can i make the combo box to display the contents o a certain coloumn in an access database, and then be able to make a report out of them thanks

Software Development visual-basic
Member Avatar for debasisdas
0
80
Member Avatar for Ravenous Wolf

can anyone tell me if one can create a form level variable in c# and how one does that. with form level variable i maen a variable which can be accessed by all the command buttons on the form. the buttons are on different panels. i dont know if that …

Software Development
Member Avatar for Ravenous Wolf
0
948
Member Avatar for harshalone

hai friends this is new one on dani i would like to ask u question about how to create a webserver (console based) on vc++ i have searched a lot on google and many more sites but i am not able to find out exactly what i want waiting 4 …

Software Development c++
Member Avatar for jaepi
0
132
Member Avatar for FireSBurnsmuP

Alright, I'm developing a program that is going to take in .pbm image files, manipulate them, and output them in .ppm (P3) format. That's all fine and good; I've got that down. However, I'm looking for suggestions on good and efficient ways to figure out if 2 points ( row …

Software Development c++ image
Member Avatar for Duoas
0
195
Member Avatar for paradox814

what does it mean when you say z=1? Does it ignore what value you pass into the function? What is this called?

Software Development c++
Member Avatar for Duoas
0
333
Member Avatar for jaepi

hello there, uhhmmm...anyone here could give me an idea or point me a reference on how web server application are created (console based) using c++...i'd be using threading, processes, synchronization and http protocol... a reference to any website or books would be nice...thank you...

Software Development c++ http-protocol web-server
Member Avatar for harshalone
0
153
Member Avatar for dasani

I am trying to make this program work but only getting halfway, i am supposed to have an output like this: Enter a string at least 8 chrs long: short The string is too short. Enter a string at least 8 chrs long: 1234567 The string is too short. Enter …

Software Development c++
Member Avatar for dasani
0
129
Member Avatar for eranga262154

On my MFC application I read file and do some process on it. Here is the code I used to open and read only. [CODE=cplusplus] CFile srf_ReadFile; char * srf_FilePath = "ReadFile_001.txt"; if(srf_ReadFile.Open(srf_FilePath, CFile::modeRead)) { // Do the required process here on ReadFile_001.txt }[/CODE] So, the file should be always …

Software Development c++ file-system
Member Avatar for eranga262154
0
138
Member Avatar for gunner22
Member Avatar for mstester

Hey guys, I have a datagridview called DataGridView1 which has four column each are combobox's, I need to be able to change the items in one of the comboboxes based on the previous one. For example I have a column named FieldName which has the following values: 1.Product 2. ID …

Software Development
Member Avatar for dox
0
2K
Member Avatar for jacknight

I have finished writing my Dynamic, Linked-List implementation of the ADT List, but I can't figure out what the book includes the "void retrieve" function for. Insertion, deletion, the constructors, deconstructors, etc. all have clear purposes, but what is the purpose of the retrieval operation? The header file (class declaration) …

Software Development c++ linked-list
Member Avatar for Narue
0
150
Member Avatar for ITapprentice

I am opening a file for writing and changing it a bit. I have changed all uppercase characters to lowercase. I have also deleted all characters that are not alphabetic, but I can't delete apostrophes that occur after and before another alphabetic character (i.e. the word "there's" or "don't" would …

Software Development c
Member Avatar for Narue
0
219
Member Avatar for gator6688

Everything is working on this program except for the output to the table at the end. It will only display the second student I enter but not the first. [CODE]#include "stdafx.h" #include <iostream> #include <fstream> #include <string> #include <cstdlib> #include <iomanip> #include <cmath> #include <vector> #include <algorithm> using namespace std; …

Software Development algorithm c++ ios
Member Avatar for Narue
0
102
Member Avatar for drakkher

I need to make a code that opens a file that contains random numbers and then calculate and display the number of numbers, the sum, and average. I have it so that it will open the file and check for errors and close it. I am also able to get …

Software Development c++
Member Avatar for stacyfrench
0
135
Member Avatar for sirkraven

[COLOR=green]Hi[/COLOR] [COLOR=green]I have a C typedef struct that I need to change to a C++ class.[/COLOR] [code] [COLOR=green]typedefstruct structTag3DScene[/COLOR] [COLOR=green]{[/COLOR] [COLOR=green]p3DObjectGroup pObjGroupArray; /* array of grouped scene objects */[/COLOR] [COLOR=green]int numObjGroups; /* count of grouped scene objects */[/COLOR] [COLOR=green]}[/COLOR] [COLOR=green]f3DScene, /* 3D Scene */[/COLOR] [COLOR=green]* p3DScene; /* pointer to 3D …

Software Development c++
Member Avatar for twomers
0
102
Member Avatar for rwagnes

I am compiling a program with an ant build script. I have a fileset with several include files that looks like this: [code] <copy todir="Packaging/Core/web/webapps/cwa/help" > <fileset dir="${webhelp}" > <include name="*.*" /> <include name="images/**/*" /> <include name="scripts/**/*" /> <include name="ug/**/*" /> <include name="wwhdata/**/*" /> <include name="wwhelp/**/*" /> </fileset> </copy> [/code] …

Software Development java
Member Avatar for rwagnes
0
436
Member Avatar for theteamdrunk

I am writing code that accepts a string of a filename, then capitalize the letters, not changing any numbers or special characters. I think I am on the right path, but can some one give a little push to the right direction. [code] #include <stdio.h> #include <string.h> #include <stdlib.h> #include …

Software Development c
Member Avatar for Aia
0
210
Member Avatar for dblbac

suppose that x is an int variable, y is a double variable and ch is a char variable and the input is 15A 73.2 choose the values after the following statement executes: cin >> x >> ch >> y; a. x=15, ch='A', y=73.2 b. x=15, ch='A', y=73.0 c. x=15, ch='a', …

Software Development c++
Member Avatar for dblbac
0
162
Member Avatar for jobs
Member Avatar for BearofNH
0
79
Member Avatar for dblbac

if alpha and beta were int variables, the statement alpha = --beta is equivelent to what statement? also what would alpha = beta++ be equivilent to what statement. i know you add 1 to the first one but it doesn't seem right. any help would be appreciated.

Software Development c++
Member Avatar for dblbac
0
87
Member Avatar for tones1986

Okay folks. I am writing a c++ program that will take a text file filled with test scores. Test1, Test2 and FinalTest. There are 32 test scores to be processed. I finished this first assignment using pass by reference using things such as: Prototype: [code] void doStatsRef(int [], int, double&, …

Software Development c++
Member Avatar for Narue
0
137
Member Avatar for jliu66

Hi, I have a question regard to assign the values to each memebrs of the class objects because I have a large list of class objects. Can I do the following? If not, how can I achieve the same thing? Thanks in advance. class person(): def __init__(self): self.name = ' …

Software Development python
Member Avatar for woooee
0
167
Member Avatar for balgarath

Its been years since I've used Java, this one is stumping me... I implemented my own Observer/Observable interfaces for use with a 2-way RMI setup(I'm sure theres a better name but I don't know it yet). I have 2 interfaces ToyStore and ToyFactory. ToyStore extends Remote implements Observer, ToyFactory extends …

Software Development client-server java
Member Avatar for masijade
0
165
Member Avatar for piscean123

Peoples i have tried to make this simple progrem in C... that will print alphabets A to Z and their equivalent ASCII code.. like this A 65 B 66 . . . Z here is da source code... int main (void) { char code; for(code = "A";code <= "Z"; code …

Software Development c
Member Avatar for Narue
0
147
Member Avatar for gee1288

hey guys i need some help with this input file program im getting input file invalid all the time i have no idea what to do. im supposed to create data files with data for up to 10 students and calculate their average from five perecentages i think i got …

Software Development c++ file-system ios
Member Avatar for Ancient Dragon
0
117
Member Avatar for vekeneswari

I'm very new in vb.net. Please help to do :- 1) create login form, which validdate the username and password. 2) Import and export txt file to the sql server. thanks

Software Development vb.net
Member Avatar for binoj_daniel
0
75
Member Avatar for popson

I haved developed a software in Visual Basic 6.0 and i want to convert it to VB.Net without re-writing the code, pls help me out

Software Development vb.net visual-basic
Member Avatar for binoj_daniel
0
277
Member Avatar for rtm_e

Hi, i am using Data Environment to connect VB with my Access Database. Can i use SQL statement in my script (manualy)..?? Please tell me how to do it Thanks RE -Denpasar-

Software Development sql visual-basic
Member Avatar for kb.net
0
245
Member Avatar for gvi

Hi Everyone, I have the following xml from which I need a particular output . [code=xml] <items> <item id="film"> <category>entertainment </category> <category>drama</category> <category>music </category> </item> <item id="sitcom"> <category>entertainment </category> <category>tv</category> </item> </items> [/code] Output I would like film|entertainment film|drama film|music sitcom|entertainment sitcom|tv But the code I have displays the output …

Software Development java xml
Member Avatar for jwenting
0
116
Member Avatar for Mr.Wobbles

I am currently using a database within my program and I have no problem backing it up or restoring it when i am simply debugging. However if it is published and downloaded it cannot find the path that it needs to get to the database to copy it. My code …

Software Development vb.net
Member Avatar for Triss
0
344
Member Avatar for spankyg

This may seem like an odd question, I'm not sure? I have been programming exclusivley using Dev C, and I now have to complete a project using Visual C++ 2005. I am trying to figure out just exactly how to properly use "handles". Maybe I'm barking up the wrong tree? …

Software Development c++
Member Avatar for Narue
0
129
Member Avatar for k7_keshav

please can anyone help me with a c++ project that includes classes,datafile,functions, and some minimal graphics for my class XII project. thank you

Software Development c c# c++
Member Avatar for k7_keshav
0
95

The End.