132,726 Archived Topics
Remove Filter ![]() | |
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 | |
Ok i want to rename a file example: C://test.txt to C://new.txt | |
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. | |
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++ | |
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 | |
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 | |
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++ | |
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 … | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
Hello , I would request you to give some information regarding the use of LOCATOR/LINKER. With Regards Narendhar.G Software Development c | |
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 | |
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 | |
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++ | |
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++ | |
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 … | |
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 … | |
[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++ | |
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 | |
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 … | |
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++ | |
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 … | |
![]() | 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++ |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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 … | |
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 | |
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++ | |
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++ | |
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++ | |
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++ | |
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 … | |
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 | |
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? | |
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 | |
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++ | |
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. | |
[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 | |
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 |
The End.