132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Bardongg00

Hi I have been trying to get this code for about a week now its due shortly and I still can't get it. The instructions are to 1.Write a structure definition Sneakers that records a one character code fot the manufacture (N for Nike, R for Reebock, ect), an interger …

Software Development c++ data-structure
Member Avatar for John A
0
148
Member Avatar for egmik3

Constructors are a- automatically called when your main() program instantiates an object b- typically used to initialize an objects' data members c- both a & b d- none [B]c?[/B] If the programmer does not explicitly define at least one constructor for a class a- a compiler error will occur b- …

Software Development c++
Member Avatar for John A
0
121
Member Avatar for igloo

I have a homework question and I don't know quite where to start or how to implement what she is asking: [B][I][COLOR=#000000][/COLOR][/I][/B] [B][I][COLOR=#000000]Write a program that inputs three double-precision, floating-point numbers and passes them to a function that returns the smallest number. [/COLOR][/I][/B] [B][I][COLOR=#000000] .[/COLOR][/I][/B] [B][I][COLOR=#000000]Can someone please help me …

Software Development c
Member Avatar for sohaibrazzaq
0
89
Member Avatar for willy2511

Hi, I've got a "Segmentation Fault" error in C++ when trying to allocate a vector with a dimension of 2 million. I'm using the library "memory.h" Any help is welcome willy

Software Development c++
Member Avatar for Salem
0
106
Member Avatar for c#dummie

how do i sort information in a listbox by name (that is, alphabetical order)? im doing c# programming n using microsoft visual studio .net 2003

Software Development microsoft visual-studio
Member Avatar for campkev
0
90
Member Avatar for sweety0

hi everybody, i want help from u people . as i am going to have a project. can u people tell me are u going to help me in that project. holly and Q veen plz tell me please i m waitnig for ur reply.. sweet0

Software Development visual-basic
Member Avatar for sweety0
0
93
Member Avatar for chris99

So the Text Adventure is lost. ;-;. I am working on a GUI to take a starting point and a destination input by the user, and scan a file to find a match for both. If it finds a match for Variable A + B then it will assign variable …

Software Development gui python
Member Avatar for Ene Uran
0
140
Member Avatar for anandarose

Here is another INPUT information output program. The first 3 select cases work correctly. I attempted the 4th and 7th select cases but they are not working correctly, i would appreciate any feedback i get, even if it's "I don't have a freaking clue." Could you guys help a girl …

Software Development visual-basic
Member Avatar for anandarose
0
310
Member Avatar for millanskie

I had moved my question on VB 4/5/6 category... sorry i made a mistake...

Software Development c sql
0
48
Member Avatar for kern1306

how i put the ASCII code in the VB program o i no need write it n can get from the VB 6.0?n how i put the matrix in the VB program?

Software Development visual-basic
Member Avatar for WaltP
0
62
Member Avatar for isocam

Can anybody help with the attached project ("Binary.zip") In the folder there is a binary file ("Mazatrol.dat") that I am trying to read. I cannot get the code to work correctly. Can somebody please see if they can update the visual basic project, and tell me what I am doing …

Software Development visual-basic
Member Avatar for isocam
0
121
Member Avatar for lab3tech

I am a student, and have been working on a program where the user selects a drawing tool, color and line width then draws on a picturebox. I have the mouse coordinates of the picture box, and can draw the lines and rectangles I need. The drawings begin where the …

Software Development visual-basic
Member Avatar for MattEvans
0
123
Member Avatar for vangheem

[COLOR=black] Hi, this is officially my first post on this website. I hope this goes well.. I am currently in a data structures class and I need to write a program with the idea of sparce matrices. From what I gather, in a matrix of values there sometimes is a …

Software Development c++ first-post
Member Avatar for vangheem
0
97
Member Avatar for mc_reload87

Hi, I have created a Visual Basic program that uses MSFLEXGRIDS combined with Data controls. This works fine in VB6 IDE, but when i try and ue the exe file the errors occur. When i try to open a form that contains the flexgrid, an error occurs called error '525' …

Software Development ide visual-basic
Member Avatar for QVeen72
0
224
Member Avatar for rxgmoral
Member Avatar for Ancient Dragon
0
1K
Member Avatar for nissa2424

Hey guys, This is my first time using Daniweb and I think I messed up! I need HELP--- I need a electronic addressbook. I need 8 text boxes: 1) name of contacts 2) company name 3) Address 4) city 5) state 6) phone 7) fax 8) email address But the …

Software Development email
Member Avatar for amithasija
0
114
Member Avatar for Dani

[b]True and False[/b] The backbone of computer science is logic. Most often, those with logical minds make the best programmers. Hence, a very important programming concept is that of boolean algebra. A boolean expression is a true or false statement. In the world of computers, a true statement is represented …

Software Development algorithm c++ mathematics
Member Avatar for lol_hacker101
0
1K
Member Avatar for FireSBurnsmuP

Alright, my program is giving me some serious problems. I think I have a memory leak, but I shouldn't have any. I have [inlinecode]ifstream In;[/inlinecode], followed by [inlinecode]In.open(thefile.c_str());[/inlinecode], a series of [inlinecode]In.get( tempChar );[/inlinecode]s, then at the end of the function I have [inlinecode]In.close();[/inlinecode]. The problem was that it was …

Software Development c++ debian
Member Avatar for FireSBurnsmuP
0
144
Member Avatar for chubbywubba

Im really trying to do this c++ stuff and I need someone to really help me. My yahoo is eyestolethis. If someone could please come on yahoo and message me and try to help me that would be great. I have the code already written for the program I created, …

Software Development c++ first-post
Member Avatar for John A
0
151
Member Avatar for WaltP

If anyone has the time or inclination, I'd be interested to hear what others think of [url=http://www.openwatcom.org/ftp/]Open Watcom C++[/url]. Unlike DevC++ it's still under development so it may be a better compiler for those that can't/won't purchase one. I just downloaded it myself so it'll be a while before I …

Software Development c++
Member Avatar for jbennet
0
140
Member Avatar for YoTaMiX

Hello to you all , I am attaching a HW project which i made in Eclipse 3.2 Enviorment. It is a Cube tourney that each game consists 10 players. Round 1 is 100 Games , each winner is sent to the SemiFinal. than 10 Games of Semi - each winner …

Software Development java
Member Avatar for YoTaMiX
0
137
Member Avatar for mch682

Hi, could someone tell me the syntax for the strstr function in C?

Software Development c
Member Avatar for ~s.o.s~
0
266
Member Avatar for shr2408

I am writing a small tkinter-app involving user keyboard-input, and want to control the range of acceptable input-characters. I'm currently using an Entry-widget, but haven't been able to access the individual characters AS THEY ARE ENTERED. What I (think I:confused:) need is somthing like the 'command=' option (as in the …

Software Development python tkinter
Member Avatar for shr2408
0
1K
Member Avatar for MSUMichelle

I am a summer intern who has been given a project in MS Access and has little knowledge of VBA - so I would be extremely grateful if you could help me. I have a form called Customer Programs that saves the program description, brand and year. Each program is …

Software Development visual-basic
Member Avatar for nicentral
0
333
Member Avatar for chicoo

hi everyone, how can I make a shared memory using c or c++ under windows not unix? thanx in advance

Software Development c++ unix
Member Avatar for ~s.o.s~
0
88
Member Avatar for peter_budo

I have class which extends JTextArea which I want to attach to JFrame. here is constructor for for JTextArea [code] public MoveSelectedFiles() { area = new JTextArea(10, 40); setVisible(true); } [/code] and here is JTextArea is added to JFrame [code] MovedSelectedFiles movedTextArea = new MoveSelectedFiles(); JPanel panelTextArea = new JPanel(); …

Software Development java
Member Avatar for peter_budo
0
205
Member Avatar for coder_gus

Hello! I have recently began to program in UNIX environments and I am currently reading about signals.So i tried a snippet that seems it doesn't do what i intended to.So i want to print the counter i from a for loop until a value is reached, than stop the process.Instead …

Software Development c unix
Member Avatar for WaltP
0
108
Member Avatar for isocam

I have a file, that I think is a Hexadecimal file. Can anybody tell me if, in deed, fhe file is a Hexadecimal file, and If there is a way to read it, using Visual Basic 6, so that the output would be a readable ascii text file. the code …

Software Development email visual-basic
Member Avatar for WaltP
0
247
Member Avatar for crestaldin

Hello Everyone, I need help on a part of the script below.The purpose is to accept some filenames as command line arguments and count the number of characters,words,lines in each file, and the total of each of these 3 attributes. My output should look like this... [COLOR="Blue"]file 1 stats: Number …

Software Development shell-scripting unix
Member Avatar for masijade
0
163
Member Avatar for fafarfa

So I developed this code so that I would have a program that can randomly generate a DNA sequence. These are my questions: 1) how can i get the random number sequence to develop in a string? 2) how can i then multiplate the string so that the "A"s are …

Software Development c++
Member Avatar for WaltP
0
117
Member Avatar for mattyd

I am trying code a single button that will fire two commands, that is, it will open two image files with one button selection. I have researched this and have not found much directly related to this question; what I found was to use a def within a def, thus …

Software Development gui python
Member Avatar for Mouche
0
4K
Member Avatar for William Connery

Hi, I have a small python program with e-mail capabilities that I have pieced together from code snippets found on the internet. The program uses the smtplib module to successfully send an e-mail with an attachment. I want to give users an indication of the percentage of the e-mail that …

Software Development email file-stream python
Member Avatar for William Connery
0
185
Member Avatar for FireSBurnsmuP

Alright, people. I am writing a simple, command based program simulatin minesweeper, using a txt file for the map. I am getting characters and stuff in from the file, and converting them to integers to determine the size of the map. Now all this is going alright, but I am …

Software Development c++ debian
Member Avatar for Infarction
0
3K
Member Avatar for Cnaly

Could someone help me? I have an file in which a list of employees and salaries are listed for each year ex: Year: 2005 No. of Employees: 3 Employee ID Salary 123456 36000.00 123567 32000.00 123678 33000.00 Year: 2006 No. of Employees: 4 Employee ID Salary 133456 31000.00 133567 32000.00 …

Software Development c++
Member Avatar for Infarction
0
315
Member Avatar for jfountain02

Hello, I just created a digital thermometer using a 8085 microprocessor. But the problem is we only had LM36 which measures temperauture in celsius, so we had to convert form celsius to farenheit, using hardware. But on a lab question the teacher wants us to convert the tempauture using software …

Software Development assembly
Member Avatar for mathematician
0
167
Member Avatar for mch682

i'm trying to design a c program that will help newcomers to the Internet understand certain abbreviations.I have 8 abbreviations such as AFAIK - as far as i know etc. I am storing the abbreviations in one array [][8],and the descriptions in another[][8] and initialising them. BUT, I don't know …

Software Development c++
Member Avatar for Infarction
0
82
Member Avatar for ray_broome

Hi, I am writing a java application where i am trying to create an arraylist of "Item" objects. An Item has certain methods such as getStartValue(), etc. What i am trying to do is to access an Item within my arraylist using operator[] and then call a method for that …

Software Development java
Member Avatar for jwenting
0
2K
Member Avatar for bala24

Hi everybody, i was planning to learn Visual C++ .net 2003 but don't know where to start. Can somebody recommend a good link for the same. Thanks in advance..

Software Development asp.net c++
Member Avatar for Ancient Dragon
0
127
Member Avatar for vegaseat

sharky_machine Offline Posting Whiz in Training Join Date: Oct 2006 Location: New York City Posts: 253 Rep Power: Re: Starting Python Today, 1:41 pm | Add to sharky_machine's Reputation | Add Infraction | Flag Bad Post | IP | #86 -------------------------------------------------------------------------------- Vegaseat: I have been reviewing this code you had …

Software Development first-post gui python tkinter
Member Avatar for mattyd
0
306
Member Avatar for fafarfa

hi everyone, i am working on a simple C++ code that will randomly generate a DNA strand of bases. How this is what i have so far: [code=cpp] #include <iostream> #include <ctime> #include <cstdlib> using namespace std; string my_string; int main() { int random_integer; char 1 = 'A'; char 2 …

Software Development c++
Member Avatar for WaltP
0
120
Member Avatar for sofianos

Can someone explains what specific "0x30" does in the decimal to binary function below: void dec2bin(long decimal, char *binary) { int k = 0, n = 0; int neg_flag = 0; int remain; char temp[80]; // take care of negative input if (decimal < 0) { decimal = -decimal; neg_flag …

Software Development c
Member Avatar for Rashakil Fol
0
5K
Member Avatar for sweety0

[B][COLOR=#000000] [/COLOR][/B] [U][B][COLOR=#000000]Question 1 - Multiplication[/COLOR][/B][/U] [COLOR=#000000]Develop a program with following functionality.[/COLOR] [COLOR=#000000]- Input from the user will be five numbers separated by comma e.g. 56,80,123,3,2[/COLOR] [COLOR=#000000]- On selection of Go command button you have to populate list boxes by separating [/COLOR] [COLOR=#000000]- [/COLOR][COLOR=#000000]Even Numbers[/COLOR] [COLOR=#000000]- [/COLOR][COLOR=#000000]Odd Numbers[/COLOR] [COLOR=#000000]- [/COLOR][COLOR=#000000]Multiples …

Software Development user-interface visual-basic
Member Avatar for WaltP
0
95
Member Avatar for d1e9v85

the program i have to make is as follows: use the string comparison function and the sorting array techniques to write a program that alphabetizes a list of strings. use 10 town names for your program. and this si what i have made.... and it doesnt work: [code] [COLOR=Black]#include<iostream> [/COLOR] …

Software Development c++
Member Avatar for WaltP
0
200
Member Avatar for Killer_Typo

Howdy everyone again, Just thought that i would post another snippet for those interested in working with databases and C# in the windows forms environment. I did some searching on this and found that there was not really any clear concrete answer on how to do this. After some searching …

0
141
Member Avatar for uu666

i wanna get started with programming 3d stuff....is there any programming language that you would recommend me? i heard that visual c++ would be good... but what if i wanna make something that works on linux too? i tried to learn some java but its kinda nasty :):rolleyes: ty in …

Software Development c++
Member Avatar for ~s.o.s~
0
108
Member Avatar for edek

Short example of problem I have: [code]class A{ public: int x[10]; }; int main(){ int A::*pointer = &A::x; A a; a.*pointer = 3; return 0; }[/code] I got an error: cannot convert from 'int (A::* )[10]' to 'int A::* ' in second line of 'main()' I tried to remove '&' …

Software Development c
Member Avatar for edek
0
140
Member Avatar for com spec

i have learn to wite out a few simple program on paper. However, after installing microsoft visual C++, i found out that i do not know how to use it to create C++ application. I click file-->new, and and the Visual C++ software prompt me to create a workspace or …

Software Development c++ microsoft
Member Avatar for Ancient Dragon
0
166
Member Avatar for solomon grundy

Given two spheres, I need to determine if a collision has occurred between them. I need to input the radii and the centers from the screen and use a double-valued function (outside of the main program) for the distance formula. What I have so far is [code=cpp] #include <iostream> using …

Software Development c++
Member Avatar for iamthwee
0
106
Member Avatar for mdturner

I have an assignment Write an encryption program to read in last name and convert letters of last name into the next letter of alphabet can anyone tell me if what i have is correct or almost correct [code=cpp] #include<iostream.h> voidmain() { float turner, char cin>>Turner; cout<<Turner; char t='u'; char …

Software Development c++ encryption
Member Avatar for WaltP
0
124
Member Avatar for MattEvans

is it possible, to use, or otherwise import and access the class in a .pm file by a suggested name (this would be after compilation)... here's the lowdown, I've been working on a project for a while now, it is an XML processor. One of the parts of a process …

Software Development perl xml
Member Avatar for MattEvans
0
416

The End.