132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mayu

Helloooo, i want to create a dropdown menu in c, like we hav in windows. Is there any header files available for creating a menu..

Software Development c
Member Avatar for jephthah
0
2K
Member Avatar for Tim UK
Member Avatar for guy40az
0
334
Member Avatar for lllllIllIlllI

Hi i have been fiddling around with the wxPython GUI toolkit for a bit and i wanted one of my programs to start with the window expanded. I googled it but couldn't find an answer there so any help here would be greatly appreciated.

Software Development gui python
Member Avatar for lllllIllIlllI
0
68
Member Avatar for mikelle

I'm not sure how to approach this problem.. mostly with the while statement.. Download the original attachment The Problem: Write a program on timber regrowth of a harvested forest. The user is to enter the total number of acres in the harvested area, the number of acres which were left …

Software Development c++
Member Avatar for Salem
0
116
Member Avatar for inkcoder

I'm currently trying to make an address book that can store data in a .txt file. [CODE] print "Virtual Address Book" print "Austin Jackson; Project 4 : Jun 14, 2008" print " " print "1. Add New Contact Information" print "2. View Adress Book" choice = input(">") if choice == …

Software Development python
Member Avatar for inkcoder
0
102
Member Avatar for f.damati

I want to make a robot and programm it using java, the quetion is what exactly I need to do so like the operating system I should use (for e.g. brickos)

Software Development java operating-system
Member Avatar for sciwizeh
0
136
Member Avatar for kurt2

How do I make a floating point arithmetic more precise? Let me show the code first, it probably can explain my question faster than in words. [CODE] int main() { double n = 0.0; while (n < 2.5e-9) { // perform some operation n += 5.0e-9; } } [/CODE] Looking …

Software Development c++
Member Avatar for kurt2
0
160
Member Avatar for amygoel

Inheritance cannot be used for what in C++

Software Development c++
Member Avatar for Pikachumanson
0
86
Member Avatar for TacklesMcCaw

Well to start let me say that I'm only a newbie, as my status says, but after a year of C++ I have what I consider a pretty good grasp over the basics of the language. I'm still at school for the summer doing an internship and have a lot …

Software Development c++ oop opengl
Member Avatar for TacklesMcCaw
0
155
Member Avatar for ar31an

1 4 15 7 8 10 2 11 14 3 6 13 12 9 5 ☺ As you can see there is a ☺ at bottom right corner. After implementing the program the above box will display (lines may not be displayed). Allow the user to hit any of the …

Software Development c++
Member Avatar for William Hemsworth
0
208
Member Avatar for prasu

If i have a table with say x columns and y rows how do i get the contents of the 'i'th column into a arraylist

Software Development vb.net
Member Avatar for tuse
0
122
Member Avatar for manickumar

hello sir i developed a small vb application and converted into an exe. i added this exe to right click menu options for file with extension .jpg what i want is if i select a jpg file and run the exe from rightclick menu the filename of selected jpg file …

Software Development visual-basic
Member Avatar for selvaganapathy
0
84
Member Avatar for Alex Edwards

I don't understand what is happening to my program... I have a feeling that private members are marked private for a reason, because I'm having a serious error with accessing base-class data types via inheritance and declaring friends within classes... If you run the test program after attaching the header …

Software Development c++
Member Avatar for Alex Edwards
0
163
Member Avatar for saskvach

this was the question on my exam the other day Which strings does regular expression r"^([^aeiou]\w)+\1$" recognize? (3 answers) "o_o-o_" "baraba" "ananas" "anasan" "-O->-O" "izgriz" im not into re at all :D, I tried to compile that expression and check for every string.. funny thing was that none was recognized.. …

Software Development python
Member Avatar for Fuse
0
88
Member Avatar for narendharg

Hello , I would request you to give some information regarding the use of LOCATOR/LINKER. With Regards Narendhar.G

Software Development c
Member Avatar for Salem
0
90
Member Avatar for preethi_ga

hi, Actually i'am new to VB.NET. i started learning. but when i run a small application in console. i cant see the result. the screen just blinks and vanishes. my code is [ imports System ] [ imports System.Collections ] [ Namespace Myapp ] [ Module Mymod ] [ Sub …

Software Development vb.net
Member Avatar for tuse
0
203
Member Avatar for emilio

my form contains user contrors in a matrix spreading like this: [CODE=syntax]Main_Board = new Virtual_Vertex[9,7]; for (int i = 0; i < 9; i++) for (int j = 0; j < 7; j++) { Main_Board[i, j] = new Virtual_Vertex(); Main_Board[i, j].Location = new Point(8+(i*dist), 30+(j*dist)); Main_Board[i, j].VirtualVertexClicked += new VirtualVertexClickedHandler(CreateNewVertex); …

Software Development
Member Avatar for emilio
0
120
Member Avatar for Alex Edwards

Right now I feel fairly unlearned with dynamically allocating memory... even after doing so several times and doing projects that require one to dynamically allocate memory for classes and primitive types. Basically, how does one research allocation for different scenarios such as... [code=c++] #include <cstdlib> #include <iostream> using namespace std; …

Software Development c++
Member Avatar for Alex Edwards
0
75
Member Avatar for comply or die

Hi I'm pretty new to programming started about 3 months ago, and even though I feel I'm getting better, I still find it not easy at all, I got especially trouble with that code, look I want to put into an array of strings sentences with spaces, etc. At last …

Software Development c++
Member Avatar for comply or die
0
172
Member Avatar for cybx

I don't no which way to go, get Emu8086 to link to Visual C++ or Visual C++ to Emu8086, I mean I just don't know how to link it, I think Visual C++ links easily to MASM, yet I need Visual C++ to compile to assembly and then Emu8086 to …

Software Development assembly c++
Member Avatar for cybx
0
107
Member Avatar for L_E_G_I_O_N

Hello. I am a relatively new python programmer, but I know my way around the language. I have decided to do some work with PyOpenGL -- I just finished a game that had to be in XNA, now I have a bit more free reign and I prefer to do …

Software Development opengl python
Member Avatar for s_jmp
0
263
Member Avatar for sniper29

[CODE] double indexLowTemp() {ind=1; for (a=0;a<col;a++) {if (low<=temp[a][0]) {low=temp[a][0]; ind=a; } } [/CODE]

Software Development c++
Member Avatar for mitrmkar
0
49
Member Avatar for radnik

Hey guys i need some help. I have a txt file which looks like this: 234 56 123 34 456 56 7 45..... 123 3 34 56 56 67 67 2..... . . . Where each line represents a series of points in coordinate system, and the first number in …

Software Development c++ data-structure
Member Avatar for Tigran
0
97
Member Avatar for 007tron

Hi everyone, A couple of questions, please. 1) In my Airports class I am trying to get input data from a text file and put it inside the variables of an airport object that I'm going to create. 2) Then I'm going to try and store my Airport objects inside …

Software Development c++ ios
Member Avatar for VernonDozier
0
106
Member Avatar for amarjot

hi... I am a 2nd yr cse student from IP university....can any1 let me know how we can assess a database using a c++ program???

Software Development c++
Member Avatar for Ancient Dragon
0
94
Member Avatar for atsx05

Write a program which consists of four functions called from the main( ). The first function will display the user heading; the second function will prompt the user to fill an array of strings (a two dimensional array of char) with a number of words and indicate the preference for …

Software Development apple c++
Member Avatar for VernonDozier
0
119
Member Avatar for Thew

Hello, I need help in my application development. I'm actualy working on editor for simple 3D App, and I need to add window for rendering 3D content into the editor. But as many of you know, 3D apps have the while loop keep rendering. So if I create main editor …

Software Development c++
Member Avatar for TacklesMcCaw
0
143
Member Avatar for Linda1

I am practically done with this project but got stumped in one area I am trying to use operator overloading and multiplying 2 to the complex number. Since I used operator* already, how do I call the operator with 2* complex no? How do I write the code for it? …

Software Development c++
Member Avatar for Linda1
0
153
Member Avatar for Kadence

I'm trying the following code to combine ints, and then get the original ints back: [CODE]#include <iostream> using namespace std; int getleft(int n){ return (n >> 24); } int getright(int n){ return ((n << 8) >> 8); } int main(){ int i = 15; int j = 28515; int combined …

Software Development c++
Member Avatar for dougy83
0
193
Member Avatar for ff4930

Hello everyone, I have a project which is to find the permuted index of each word in a textfile. Im restricted from using STL btw. I read in input.txt and have to output each word and corresponding line number and if it is found multiple times, it will have (numoftimes) …

Software Development c++ linked-list
Member Avatar for ff4930
0
88
Member Avatar for scratchnloved

I'm lookin' for a way to retrieve data from a remote xml feed, and store it as a variable.. Any ides :)? thanks in advance

Software Development c++ xml
Member Avatar for Ancient Dragon
0
91
Member Avatar for Noxes

I just recently started coding and have really taken quite a liking to it. I enjoy it very much and hope to get better as soon as possible. I have a couple questions that I would like an answer to start me off. 1. I want to write a program …

Software Development c++
Member Avatar for Ancient Dragon
0
248
Member Avatar for edholden

Hi. I'm having a little difficulty understanding character sets in Python. Basically I'm trying to write a function that will substitute a non-ASCII character with a similar ASCII equivalent. So if given a string like 'ÂBÇD', the function would iterate through the string object, replacing select characters to return a …

Software Development python
Member Avatar for edholden
0
257
Member Avatar for abhishek23

hi guys well I go to my dos prompt and invoke the compiler with the javac command but I always get the following message: javac is not recongised as an internal or external command,operable program or batch file I would like to know why i am gettin this message and …

Software Development java
Member Avatar for jasimp
0
303
Member Avatar for henpecked1

I'm being asked to make my default constructor "interactive" by having it prompt for an input and store the three phone number pieces you see below. They are strings, and they get called for display in main with the telnumber yournumber piece of main. How would one do that? [code] …

Software Development c++
Member Avatar for henpecked1
0
133
Member Avatar for cheechand

Hello, I am trying to split a word into an array For example, "airplane" becomes ['a','i','r','p','l','a','n','e'] Any suggestions?

Software Development python
Member Avatar for lllllIllIlllI
0
72
Member Avatar for hezfast2

Hello all, I've been writing a multiple choice question version of the game Hangman. I've got it done except for stopping already asked questions from appearing again. I've got the 'asked' question numbers (the questions and answers are read in from a file into various arrays) added to a vector …

Software Development algorithm java
Member Avatar for VernonDozier
0
106
Member Avatar for grvs

I allocated memory to a pointer, which i had to return. So I don't know where to free it as its a local variable. I was trying to create an array of variable length (user-specified). I got some help for that in this forum only under this [URL="http://www.daniweb.com/forums/thread129324.html"]thread[/URL] here is …

Software Development c
Member Avatar for grvs
0
5K
Member Avatar for zoner7

I've got something like 400 lines of code at this point, and I realize that not too many people will be inclined to look at it. Thankfully, the majority of it works swell, and I only need part of it examined. I realize that my use of vectors is not …

Software Development c++
Member Avatar for zoner7
0
92
Member Avatar for 007tron

hi, i was wondering if anyone could help me out with this. i'm getting a compile error like this: [C++ Error] TestDriver.cpp(26): E2285 Could not find a match for 'Airport::Airport(char *,double,char *,FlightsTL)' i'm really sorry about this but the code is a bit lengthy. it comprises of two header files …

Software Development c++
Member Avatar for VernonDozier
0
231
Member Avatar for comply or die

Hi people I'm in urgency, I got an exam on monday with C++ and I might get a thing like there is a sentence like "Jack went fishing on monday", and I need to count the number of "m","e","a"s etc in it, I suspect you got to type a string …

Software Development c++
Member Avatar for VernonDozier
0
229
Member Avatar for barnes138

Hello, I'm new to C++ and am trying to figure out how to make my program run over and over again until the user chooses to quit. Any advice would be appreciated. Thanks [code=cplusplus] #include <iostream> #include <cstdlib> #include <string> #include <math.h> #include <windows.h> using namespace std; int num1, num2; …

Software Development c++
Member Avatar for stephen84s
0
164
Member Avatar for c++ prog

help plz...I have to create a program that multiplies matrices...those elements in the array must come from a file or reads a file...I have constructed these codes but this program lets the user type their number, not read from a file..I have these code so far...[CODE]#include <cstdlib> #include <iostream> #include …

Software Development c++ ios
Member Avatar for stephen84s
0
134
Member Avatar for Magda

Hi all, I am currently revising for an exam which will cover all the basics of object-oriented programming, it was going quite well until I met Collection :) I have got two questions to which I have started writing answers to but got stuck...Could someone please have a look at …

Software Development java
Member Avatar for Ezzaral
0
339
Member Avatar for Lardmeister

I have started to use the PyScripter IDE and really like the many features it has. However, everytime I make an error in the code, and as a beginner I make a lot of errors, it rather ungraciously exits. There must be something wrong in my settings?

Software Development ide python
Member Avatar for sneekula
0
133
Member Avatar for cheechand

I am trying to compare a list of words to a dictionary to see if there are any matches. How do I do this, as diction.has_key() does not work for lists?

Software Development python
Member Avatar for woooee
0
113
Member Avatar for Zolookas

Hi, i am new to c/c++ and i need to execute external cabextract program to extract archive, but if i sprintf command and file name to command variable i get segmentation fault. How i need to modify code to avoid segmentation fault? Here's an example: [CODE=C++]void cabext(const char *fname) { …

Software Development c++
Member Avatar for Zolookas
0
913
Member Avatar for FTProtocol

Is it possible to make the window block thing in your toolbar flash when an event happens? i couldnt really think of what function would do this.

Software Development c++ flash
Member Avatar for Ancient Dragon
0
91
Member Avatar for sniper29

[CODE=cplusplus] #include<iostream> using namespace std; int intro(); double getData(); double averageHigh(); double averageLow(); double indexHighTemp(); double indexLowTemp(); double table(); double i,j,hsum=0,lsum=0,aveh,avel,high=0,low=0,ind; int const row=2,col=12,num=12; double temp[row][col]; char month[20][num]={"JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"}; char space[]=" "; int main() {getData(); table(); averageHigh(); averageLow(); indexHighTemp(); indexLowTemp(); return 0; } int intro() { cout<<"||||| |||| ||||| |||| |||| …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
221
Member Avatar for mstester

Hey all, Is there a way that I can detect when any key has been pressed? Basically I have a login box and if the user has Caps Lock on and tries to enter his password a Tooltip apears, however as soon as they type again I want the tool …

Software Development vb.net
Member Avatar for KillerOfDN
0
116

The End.