43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for linux

Does one exist? Like the Glade Interface Designer and wxGlade, only to build Tkinker UIs. This would need to be run on Linux/UNIX.

Software Development ide python unix
Member Avatar for linux
0
132
Member Avatar for Jennifer84

I am writing this to a .txt file. The problem here is that it doesn´t compile when I write "\". Why does this happening because this is just a string ? I really need to get this "\" out to the file. Any idéas on this ? [code] ofstream out; …

Software Development c++
Member Avatar for Jennifer84
0
116
Member Avatar for Zork'nPalls

is it possible for me to call a static method if all I know is the class?

Software Development java
Member Avatar for Zork'nPalls
0
98
Member Avatar for dnk

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
Member Avatar for Jx_Man
0
163
Member Avatar for Jennifer84

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
Member Avatar for Jennifer84
0
99
Member Avatar for midimatt

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
Member Avatar for midimatt
0
153
Member Avatar for Estella

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
Member Avatar for Jx_Man
1
173
Member Avatar for LanierWexford

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++
Member Avatar for chalasesha
0
163
Member Avatar for rickster11

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
Member Avatar for rickster11
0
194
Member Avatar for peter_budo

Is there a way to set exact coordinates for background image or it is limited to layout options?

Software Development image
Member Avatar for peter_budo
0
109
Member Avatar for Jennifer84

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++
Member Avatar for mitrmkar
0
94
Member Avatar for midimatt

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
Member Avatar for WaltP
-1
376
Member Avatar for Noliving

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
Member Avatar for Noliving
0
251
Member Avatar for LanierWexford

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
Member Avatar for katharnakh
0
225
Member Avatar for theNewGuy1992

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++
Member Avatar for vijayan121
0
163
Member Avatar for shahriar2403

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
Member Avatar for cometburn
0
480
Member Avatar for Jennifer84

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++
Member Avatar for Jennifer84
0
191
Member Avatar for efect

Hello all:) Is it possible that there is a Pythin to Delphi converter available? Thanks Nev

Software Development delphi python
Member Avatar for vegaseat
0
149
Member Avatar for katharnakh

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
Member Avatar for KevinADC
0
4K
Member Avatar for kinyuadave

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
Member Avatar for Jx_Man
0
110
Member Avatar for wokeup2sleep

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
Member Avatar for wokeup2sleep
0
90
Member Avatar for zwench

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
Member Avatar for zwench
0
275
Member Avatar for claudiu_is

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
0
118
Member Avatar for abarnett

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++
Member Avatar for highspeedhook
0
3K
Member Avatar for toadzky

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. …

Software Development perl xml
Member Avatar for katharnakh
0
183
Member Avatar for mrjoli021

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++
Member Avatar for Ancient Dragon
0
97
Member Avatar for BBallAsh23

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++
Member Avatar for BBallAsh23
0
155
Member Avatar for KimJack

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
Member Avatar for KimJack
0
100
Member Avatar for Neji

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
Member Avatar for Jx_Man
0
185
Member Avatar for Vega_Knight

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
Member Avatar for Jx_Man
2
151
Member Avatar for Joatmon

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
Member Avatar for Joatmon
0
118
Member Avatar for KimJack

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
Member Avatar for KimJack
0
103
Member Avatar for jnabeel

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; …

Software Development c++ oop
Member Avatar for jnabeel
0
112
Member Avatar for cynthann

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++
Member Avatar for ruhneb03
0
161
Member Avatar for nurulshidanoni

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++
Member Avatar for WaltP
0
86
Member Avatar for werks

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
Member Avatar for nemosmart
0
154
Member Avatar for nurulshidanoni

How to make a pair programming.. like I have 1 2 3 4 5 6 7 First, I want to make a pair of 91,20 (1,3) (1,4) (1,5) using i=1, i<9,i++

Software Development c++
Member Avatar for nurulshidanoni
0
264
Member Avatar for toadzky

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
Member Avatar for toadzky
0
124
Member Avatar for midimatt

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 …

Software Development c opengl
Member Avatar for midimatt
0
2K
Member Avatar for eleonora

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
Member Avatar for orko
0
124
Member Avatar for p_conk

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'

Software Development c++ mysql redhat
Member Avatar for p_conk
0
193
Member Avatar for hartig

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
Member Avatar for hartig
0
184
Member Avatar for Aborad

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 …

Software Development delphi pascal
Member Avatar for Aborad
0
2K
Member Avatar for Jboy05

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++
Member Avatar for mitrmkar
0
129
Member Avatar for Jennifer84

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++
Member Avatar for Jennifer84
0
3K
Member Avatar for mrjoli021

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++
Member Avatar for Ancient Dragon
0
83
Member Avatar for mrjoli021

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++
Member Avatar for Ancient Dragon
0
80
Member Avatar for flash121

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
Member Avatar for flash121
0
86
Member Avatar for Quakes

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++
Member Avatar for Quakes
0
91
Member Avatar for asrekdal

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 …

Software Development gui python
Member Avatar for vegaseat
0
102

The End.