43,549 Solved Topics
Remove Filter ![]() | |
Does one exist? Like the Glade Interface Designer and wxGlade, only to build Tkinker UIs. This would need to be run on Linux/UNIX. | |
is it possible for me to call a static method if all I know is the class? Software Development java | |
please see my code : there are something wrong?how i can check if stack is empty?? NB : isi = content of stack atas = top of stack tumpukan is stack [CODE]function POP (var T : Tumpukan) : integer; begin POP := T.Isi[T.Atas]; T.Atas := dec[T.Atas]; end;[/CODE] anyhelp will be … Software Development pascal | |
I am trying to read lines from a .txt file and put them to a vector like this but when I run the program, the computer get stuck. The file is only about 50 lines. I wonder what could be wrong with this code. [code] ifstream File("C:\\Gli\\temp\\File1.txt"); std::vector<string> For; std::string … Software Development c++ file-system | |
Well another problem, sorry for constantly asking. My program is coming along well i think, it creates the file writes the data to it but it crashes when i try to view the information. i'm not sure if its an error with my loaddata() function or my viewcharacter() function [code=c] … Software Development c data-structure | |
I want to change font of all controls in a form. how i can do this?? i can change font but just for each control not all control in a same time... please help :) Software Development visual-basic | |
I am working on a home work assignment which is: "Write a program that will allow the user to enter an infix expression terminated by '=' your program will convert to Postfix notation" enter 3+7-6/2*8+7= prints 3 7 + 6 2 / 8 * - 7 + I have written … Software Development c++ | |
If anyone has a minute, I could use some help. Been working on this program all day. I know it's hard trying to understand someone's code and logic...but I'm hoping there is an easy solution here. My program needs to be able to read and write files at the push … Software Development java java-swing | |
Is there a way to set exact coordinates for background image or it is limited to layout options? Software Development image | |
For the string: "Number(1234)". I am looking for to extract "1234" and "Number" I have understand that I need to know where the positions is for ex "(" and ")". The code I have done so far look like this: [code] std::string Value10 = "Number(1234)"; size_t found1; size_t found2; found1 … Software Development c++ | |
Hi Again, Well i'm bored and i've decided to do some coding just for practice and i've decided to work on a text based RPG, its only going to be basic due to my own knowledge but i think its doable. unfortunatly i've come accros a problem already and i've … Software Development c file-system | |
I'm not seeing my bracket problem at all! [code=java]import java.util.*; /** A class to represent an ordered list. The data is stored in a linked * list data field. * @author Koffman & Wolfgang */ public class OrderedList<E extends Comparable<E>> implements Iterable<E> { /** A linked list to contain the … Software Development java linked-list | |
I have a modual(Is that the right term?)called WordPlay which has severl functions for exercises in Chapter 9 of "How to Think Like a (Python) Programmer". Below is my code for Ex9.3.2, which has the user input a string letters and then searches a .txt file(Attachment) for words that do … Software Development python | |
Hey I am writing a program that will mimike a dice roll. I have the dice based on the value of a random number. the only problem is the random numbers don't change from one run to another, here is the code. #include <cstdlib> #include <iostream> using namespace std; int … Software Development c++ | |
I am really having a tough time to update my report contents. Please help me with a project attaching with your solution. please help me quick...... Software Development visual-basic | |
I am using istringstream to put strings separated by commas to own std::strings. I have done this wich works: [code] std::string One, Two, Three, Four, Five, Six; std::string Value = "a,b,c,d,e,f"; istringstream is(Value); while ( getline(is, One, ',') && getline(is, Two, ',') && getline(is, Three, ',') && getline(is, Four, ',') … Software Development c++ | |
Hello all:) Is it possible that there is a Pythin to Delphi converter available? Thanks Nev | |
hi, I was exercising package creation and its usage in Perl. I started with a simple program, 1. Created a package called A 2. Created a package called B 3. A program which includes those packages, and uses its services. [code=Perl] # A.pm package A; use warnings; my $l_var = … Software Development perl | |
I have this project that am workng on that requres the user to write a name in a textbox and images are displayed on the picture box. So the question is how do i do this? Software Development visual-basic | |
im a beginner at comp science, and my prof is using python, which is totally new tom me i had a few questions with the program im writing, im having a few problems. brief summary i have to do a project where there are nine boxes filled with number 1-8, … Software Development python | |
I need someone to look over this and see what I am doing wrong. I keepgetting errors on this part of the code. It says its not defined.I also think i need to take that splitter thing out. I am new to all of this and haven't a clue how … Software Development vb.net | |
I have several breakpoints and the debug goes in the first one, skips the next 2, then jumps directly on the last one, as if the 2 in between don't even exist. And this happened recently, with no big changes in the code and I've never experienced anything like it. … Software Development java | |
Greetings! I am new to the Daniweb community but hopefully you all can help me out with this problem! I am to write a c++ function, smallestIndex that takes as parameters int array & its size and returns the index of the smallest element. then I have to write a … Software Development c++ | |
I am trying to move files and rename them with a date-time stamp I generate. I have a survey and my perl script processes the POST query string. Once I have the query string, I am using XML::Simple to get the stored results, update them, then write them back out. … | |
I have some sentence fragments and some words. I need to print out sentence1 + word + sentence2 capitalize the first charater in sentence1. Then, sentence3 + word + sentence4 capitalize sentence right now it is printing the first sentence capitalized + word + second sentence second sentence not capital … Software Development c++ | |
My first issue was getting it to open and read the text file contents... Woot it does that. Compiles fine, no errors. However... When it gets to the CalcRate, GrossPay, Display... it goes down hill and display mem locations. Any advice... And I still have another program to code... I … Software Development c++ | |
Can someone tell me how to correct this? [CODE]for(int i = 0; i < 7; i ++) { if(team.group.toys[i].getName().equalsIgnoreCase(name ) { team.insert(team.group.toys[i].getDescrip()); System.out.println("OK"); } } System.out.println("Is not included.");[/CODE] This is so simple that I cannot figure out what the problem is. I need "OK" to print if the getName() equals … Software Development java | |
there are anyone know how to get all user in computer?? please help me.. i dont have idea for this.. best regards.. any help will be appreciated.. Software Development visual-basic | |
i make push procedure but its not working, there something wrong with my code?? please see my following push procedure : [CODE=pascal] procedure PUSH (var T: Stack; var Full: boolean; X: integer); begin if T.Top = MaxElemen then Full := true else begin T.Top := inc(T.Top); T.Contain[T.Top] := X end … Software Development pascal | |
I created a snake game using objects of snake segments that act together in a linked list type way (I think.) and I notice that when you select quit after you die with more than 2 links, the program throws some run time error. Even funkier, when I used a … Software Development c++ linked-list | |
Hello All, I am working with an array of objects that contains names and descriptions. For example: Car : A blue jetta Pet : A small dog . . . My question is since it is an array of objects, how can I extract just the name "Car" or just … Software Development java | |
compare two value in oop based programing #include<iostream> using namespace std; class com { private: int a; int b; public: int d() { cin>>a; return 0; } int bd() { cin>>b; return 0; } }; int main() { com c1; if(c1.d()==c1.bd()) { cout<<"y"<<endl; } else { cout<<"n"<<endl; } return 0; … | |
Hello Please help. I am having a hard time making the leap from where I am to then picking out numbers (in this instance adding even numbers). Any suggestions or pointers would be greatly appreciated. #include <iostream> using namespace std; // program computes the sum of all even numbers from … Software Development c++ | |
File is successfully opened 3 13 34 54 71 81 97 105 116 135 138 I have this data, and I want to call (3,1) then (3,13), then (3,34).......... How to declare 3 is the first than 13 is second? [code=C++] { ifstream stream1 ("STA83STU.txt"); if ( !stream1 ) { … Software Development c++ | |
Hello experts. I have 2 [B]vbp[/B] (namely Project1.vbp and Project2.vbp) I Group them into 1 Project, my problem is how can the user choose on what project they want to use using VB6? My initial idea is when the user login a form will prompt, and the user will be … Software Development visual-basic | |
I am trying to process the results of a survey. I load the current results from an XML file, update them, then write them back to the file. I am get a 500 Internal Server Error when I run it from a browser, but it works fine in Windows and … Software Development perl windows-server xml | |
Hello again, i'm trying to make a program that draws a cube on the screen using data inside of a .txt file, this is the code that i've got so far, it compiles and runs but doesnt actualy display anything and i'm not really sure why. its probably something simple … | |
Hello, I did a pagerank application but unfortunately it does not posting the url to the server. Can anyone have a look to my code and tell me what im missing ? ! Thanks in advance! [CODE=java] import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.ObjectOutputStream; import … Software Development first-post java | |
I use redhat enterprise 5 and I want to install mysql++, which used to connect to mysql from c++. I get the following error message when install checking for MySQL include directory... configure: error: Didn't find the MySQL include dir in '/usr/local/mysql/include /usr/local/mysql/include/include /usr/local/mysql/include/include/mysql' | |
Hey, I'm new here (as you can tell), and I'm in need of some help.. I need to make a interest calculator that displays the years, beginning amount of each year, the interest of each year, and the end amount of each year. I have the GUI all set up … Software Development gui java java-swing | |
Hi there, I just bumped across this website through google and found it very neat. I am self taught at Delphi, and know very little. I know there are quite a few ways to send the virtual keypresses, but I only know of one and I doubt I am using … | |
Consider the following two function prototypes: void Func1(int&, int&); int Func2(double, double); -I need help completing the following C++ user-defined function Func3 -which prompts and gets an integer for the variable Option from user. -Func1 should be called when the value of Option is 1, - Func2 should be called … Software Development c++ | |
I am trying to create a DialogBox in C++ .NET with both an "OK" button and a "Cancel" Button. I know how to just show a MessageBox with an "OK" button like this: [code] MessageBox::Show(this, "Message"); [/code] Software Development c++ | |
I have some sentences in a 2 dimensional char array. I need to change to first letter of each sentence to caps. I was thinking of removing the first char and placing it into 1 array and the rest of the sentence into another array. run toupper on the first … Software Development c++ | |
I have some sentences that I want to print out the first character of each sentence. when I print it out I get the first character many times. here is the code. I just want the first character of each sentence printed out once per line. [code] int i; int … Software Development c++ | |
Hello, I have a data structure which consists of 3 numbers. The data is later on saved in an array each time the user enters a new "izdelek". [code=c++] struct izdelek { double st_izdelka; double teza; double cena; }; [/code] later on, i have a function which should compare the … Software Development c++ data-structure | |
I'm attempting to read lines of a file and store the contents of the line in an object. This is an example line (x,y,z co-ordinates) : [B]-12.852222 32.548111 -934.306681[/B] My problem is that my program is rounding these numbers up and I need absolute precision. Having read one line, storing … Software Development c++ | |
In process of attempting to build a CSS editor. I was wondering if anyone could lead me to a way to highlight CSS for a rich GUI control in wxPython specifically? Also I would like to parse,serialize, validate and write CSS to file. I did find cssutils but was getting … |
The End.