64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for CStallion

I need to insert a "é" and other such symbols. At first I just tried using é straight out in C++ and it returned Θ. So I looked at my character map and did the unicode version \u00E9 where I wanted the é and it still returned Θ. I guess …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for rajashreeshinde

Hello All, I am developing a GUI application in wxPython on linux. I have to provide help menu describing tool's usage. I am not able to get any modules realated to this.Can anybody know how to develope help in wxPython? Thx, rajashree

Member Avatar for rajashreeshinde
0
379
Member Avatar for Kiba Ookami

There is only so much I can learn from free online sites (though I have learned some important things) and was wondering what books you would reccomend to further my C++ study? Additionally, I've heard bad things about my compiler, Bloodshead DevC++, in that it would be abandoned or is …

Member Avatar for vegaseat
0
140
Member Avatar for Analogsleeper

Hi all, hoping someone can help me with a bit of code problem. I have this simple C++ program that does some processing on a text file with a bunch of numbers in it. I'm reading the numbers into global structures and then doing some math, then overriting those global …

Member Avatar for Analogsleeper
0
220
Member Avatar for CStallion

Hi everyone. I'm new, but I'll be here for a while I think :cheesy: . Here is my code so far. The delays are because I wanted to simulate typing =). [code]// #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; int main(int nNumberofArgs, char* pszArgs[]) { int i = …

Member Avatar for CStallion
0
112
Member Avatar for whoru

I need to make a high scores list to a game, for class, and it has to be stored using a pickled object. I can only get it to where it stores and prints one score, and then every time you play it the score gets overwritten. How can I …

Member Avatar for G-Do
0
250
Member Avatar for Phaelax

I'm writing an IDE for java and already got the compiler linked into it, but I can't figure out how to read the data on the System.err or System.out streams.

Member Avatar for freesoft_2000
0
122
Member Avatar for Phaelax

I'm trying to find all quoted strings in a given text so that I can apply proper highlighting. I've tried various regex but can't seem to get the results I want. [code] String line = "a big \"yellow\" dog! And a \"purple\" bird!"; String[] tokens = line.split("\".+\""); [/code] That cuts …

Member Avatar for Phaelax
0
97
Member Avatar for Ene Uran

What is the best way to establish a wxPython event handler for a mouse click, button and so on? I have looked at a number of sample codes and the event handlers differ all over the place.

Member Avatar for Ene Uran
0
382
Member Avatar for EriCartman13

Ok I am confused. I just started python and when I save my program that I edited in the IDE editor as for example helloworld.py I cannot run it when I click it. All it does it come up with a black box, like cmd, and dissappears. Also do you …

Member Avatar for EriCartman13
0
208
Member Avatar for jack999

Write a C-Program that swaps the elements of 1-D array (10 elements) : Example: If the given array is: 5 8 9 2 3 1 11 17 43 6 The new array will be: 6 43 17 11 1 3 2 9 8 5 Your program should consist of the …

Member Avatar for Lerner
0
180
Member Avatar for potential

guys, please help me... how do i make clrscr() work? my friend told me to include conio.c, but i think that my version of dev-c++ doesn't have that...so i tried downloading conio.c...but the problem is, clrscr() still doesn't work in my pc but it works in my friend's pc...we're both …

Member Avatar for Dave Sinkula
0
2K
Member Avatar for russell214

i want to populate the datagrid1 based on the given value below. i'm using VB6 as my frontend and MSACCESS as my backend. how to accomplish this? NET 9,500.00 'Given value INTEREST 1,200.00 'Given Value INT DUE 48 'Given Value IRR 0.69867 'Given Value TERM 25 'Given Value RELEASE 05/02/06 …

Member Avatar for russell214
0
116
Member Avatar for j4mes_bond25

I'm rather new at PHP. I'm trying to run a script, but every time I do so, I'm not quite getting the output I should be getting. I'm using this my Dreamweaver at home & working on the simple examples from this website [url]http://www.php.net/manual/en/tutorial.forms.php[/url] I've typed in: [B]index.html file [/B] …

Member Avatar for j4mes_bond25
0
160
Member Avatar for marten

I need to calculate the time of execution in millisecond, and this function should beAcurrate as possible. I asked one of my friends and he gave me one good function that do that and accurate, but there is linking Error, because this function works under Linux and I am works …

0
107
Member Avatar for russell214

i have a 2 textbox and 1 listbox. i'm using vb6. how can i populate the listbox based on the given below? begindate.text = "05/02/06" 'begindate.text + 7 noofinstallment.text = 25 this should be the output in listbox control. 5/2/06 5/9/06 5/16/06 5/23/06 5/30/06 6/6/06 6/13/06 6/20/06 6/27/06 7/4/06 7/11/06 …

Member Avatar for russell214
0
122
Member Avatar for prats_20

hi can anyone give me an asp code for uploading images on a server. Have been trying the code on free asp upload but am getting a message that the directory in whicj i want to upload does not exist where as it do exists. When i remove read only …

Member Avatar for radharadha
0
177
Member Avatar for wanda

When using the modulus, if a<b, then a%b = a. But why, if a is negative, does -a%b = -a? According to the division algorithm, the remainder r must be >= 0 and <|b|.

0
93
Member Avatar for xenophobia

I had a MDI form. I need a function that are going to create a MDI child form when i call the function. But things is i want to clone the MDI child form, because the child form that going to be create are all the same form. [U]Example:[/U] 1st …

Member Avatar for xenophobia
0
123
Member Avatar for ilikerps

Hello, I am trying to write a simple updater program (in Java). A client would connect to the server, which would hand out any files it needs updated. One example would be updating a Java .class file. I have tried to just copy a class file, to see if that …

Member Avatar for ilikerps
0
161
Member Avatar for j4mes_bond25

After realising the importance of "validating" my XHTML document, I'm going through the validation process by trying to validate each of my HTML page. Couple of problems that was beyond me includes: [CODE] # Error Line 11 column 8: there is no attribute "name". <a name="top"><img src="about.gif" alt=""/></a> You have …

Member Avatar for j4mes_bond25
0
174
Member Avatar for Cool Nanu

Please help me with my problem.I have created a prog in C++ for use in a librar. But there are certain errors in it that i am not able to understand can u please correct this program for me.:rolleyes: This is my "till now" Program. [PHP]#include<stdio.h> #include<conio.h> #include<io.h> #include<fcntl.h> #include<string.h> …

Member Avatar for Cool Nanu
0
214
Member Avatar for Confucius

Im sort of new to python, and I have been looking at some tutorials, manuals, etc. and I saw how to find prime numbers, so I thought it would be a good place to start, so I added some stuff to hopefully allow for user input, and it doesnt work. …

Member Avatar for Ene Uran
0
310
Member Avatar for purplegerbil

Hi, I have a toolbar on an MDI form, this works fine. I am trying to add a Buttonmenu to one of the buttons on the toolbar to add extra options. This is the problem, I cannot get it to work. Any ideas? pG

Member Avatar for purplegerbil
0
168
Member Avatar for swapnamishra

How can we execute the commands on one file in a such a way that the results will get saved in another file? Do we have any such built in method which we can use?

Member Avatar for pythonguy
0
122
Member Avatar for pythonguy

I am using automnation desk to run my python scripts. It supports interpreter ver 2.2 I have some script common for almost all other script files of my application. this common script is saved as CommonCalls.py and is on python search path. I am using some ref. to a file …

Member Avatar for pythonguy
0
139
Member Avatar for janeane_tho12n

can anyone help me w/ this one? code: [CODE] dim msg as boolean msg = msgbox ("Save this one?", vbyesno) if msg = true then 'code goes here else 'code goes here end if [/CODE] when i run this one my code jumps to [U]else[/U] though i choose yes to …

Member Avatar for janeane_tho12n
0
634
Member Avatar for Avner .H.

hello everybody, I've started to learn pyGTK and glade for a program i'm doing, and i've run into some problems: 1. Is there no way to change the size of a specific text when using glade? for example, a window title, a label text etc. 2. In the Gnome widgets, …

Member Avatar for JoeM
0
180
Member Avatar for jlouang

can someone help me i can't seem to find my temperature problem [CODE] /**************************** * functions *****************************/ float c2F(float); float f2C(float); /**************************** * gloabal variables *****************************/ int main () { float inTemp; float newTemp; char inCode; cout << "please enter the code (a 'C' of 'F'): "; cin >> inCode; …

Member Avatar for jlouang
0
112
Member Avatar for Dani

I'm confused between LEFT JOIN and INNER JOIN - the differences and when it's appropriate to use one over the other. I tried to wrap my mind around it but it seems to me that INNER JOIN statements can always be rewritten as LEFT JOINs?

Member Avatar for campkev
0
192
Member Avatar for G.Host

Hello to all of you. My name is Greg. I am currently running Mac OS X ( my homeschooling computer). Anyways, I'm having trouble downloading Python to my Mac. Every python file I've downloaded and decompressed with StuffIt Expander, just seems to be nothing but files that I don't know …

Member Avatar for G.Host
0
158
Member Avatar for JoeM

Hello!! I'm really new to python and pygtk and Glade, I'm sorry I'm still on the dark side using Windows 2000 :-( What I'm trying to do is a simple Testing Program Simulator, that means that I will press a button and then I'm supposed to show a cross or …

Member Avatar for vegaseat
0
305
Member Avatar for monkeyphonics

Ok this is a homework program and this is my first JAVA course I am stuck on how to pass double values from one method to another I have a menu that appears with this code [code] public static int menu(int curmenuselection, double curitemprice) { while(curmenuselection != 5) { double …

Member Avatar for monkeyphonics
0
154
Member Avatar for bucodi

Hi, I would like to configure my wxcombox in a way that when it gets the focus, it automaticly opens his listpart. Any ideas ? tia Rony

Member Avatar for bucodi
0
120
Member Avatar for puppy

Hi. If I want to generate random numbers between -1 and 1, do I need to write a function to do that or is their something in the stdlib that can do it? Thanks.

Member Avatar for puppy
0
178
Member Avatar for Roc

Hi,everyone I have to write a calculator which can + , - , * , / , + = ,- = , * = , /= ,++,-- do this operations with operator overloading [code]#include<iostream> using namespace std; class complexNumber { private: double realPart; double imaginaryPart; public: complexNumber(){realPart=0.0; imaginaryPart=0.0;} ~complexNumber(){cout<<"Destructor do …

Member Avatar for Roc
0
5K
Member Avatar for PillFORM

I am currently working on a Store for my website [B]funkinfamily.com[/B]. My store will be selling MP3 music downloads (Digital Releases) of music from my label. I am programming my store with PHP so I thought I would ask the PHP-heads here. The question i have right now is, how …

Member Avatar for PillFORM
0
214
Member Avatar for swapnamishra

Hi, I have a file named demo.py.The contents of the file are: [code] class a: name="swapna" def show(self): print a.name s=a() s.show() [/code] When I execute the file it gives me the following error: "<bound method a.show of <__main__.a instance at 0x009D58C8>>" Kindly advice on how to proceed with it.

Member Avatar for bumsfeld
0
151
Member Avatar for stackOverflow

Hi, I've got a module where i search for a candidate with his Id and display his name, age..etc.. I've put the details like name , age etc.. in the datagrid. The search module is working fine.. when a valid candidate Id is entered. But when an invalid ID is …

0
101
Member Avatar for butterflyTee

THIS WINDCHILL TABLE PROGRAM IS RUNNING, BUT THE NUMBERS IS STILL NOT LINING UP STRAIGHT..WHY, CAN YOU PLEASE HELP ME..THANKS HERE IS THE PROGRAM BEFORE I RUN IT.. [CODE]def windchill( vel, temp): wc = 35.74 + .6215*temp - 35.75*(vel**.16) + .4275*temp*(vel**.16) return wc def main(): print (" __ __ __ …

Member Avatar for bucodi
0
2K
Member Avatar for bhupendra

Hi all, How to create a model less dialog box using python 2.3 tkinter? Thanks in advance, Bhupendra

Member Avatar for bhupendra
0
178
Member Avatar for elidio

Hello, good afternoon. Im a newby user writing my first shell script, and i trying to make it run with the cron utility. If i run this code manually, the code was sucefull runned, but, when i put in this task in the crontab, the mail dont cant sended. When …

Member Avatar for elidio
0
473
Member Avatar for Blujacker

How can i do full screen? How can i get size of monitor? Is that possible? Thanks

Member Avatar for bumsfeld
0
114
Member Avatar for tydruk

i have a xml document from which i must get the following things, [B]Riigi_nimi[/B], [B]pindala[/B] of it and [B]rahvaarv [/B] with the [B]riigi_nimi[/B] and [B]pindala[/B] i have no problems, but i can't get the program to print [B]rahvaarv[/B], i just can't find a way to copy it into a new …

Member Avatar for tydruk
0
525
Member Avatar for butterflyTee

# sum.py # tpm # A program that accepts an indeterminate (any number) of integers entered by # the user, calculates and their sum, using loop [CODE]from math import * def calc_sum(): n = input("Enter any number: ") sum = 0.0 for i in range(n): x = input("Enter a number …

Member Avatar for bumsfeld
0
130
Member Avatar for butterflyTee

# class.py # tpm # A program to calculate the volume and surface area of a sphere from its # radius given as input. [CODE]from math import * class Sphere: def _init_(self, radius): self.radius = radius def getRadius(self): return self.radius def surfaceArea(self): self.area = 4.0 * pi * self.radius ** …

Member Avatar for butterflyTee
0
132
Member Avatar for skalra63

i have the following code, however, the table that is created always starts at the begining of the document. so none of the text written beforehand can be seen. i also dont know how to write things after the table. [CODE]Private Sub wrd2() Dim c As Long Dim wrdApp As …

Member Avatar for skalra63
0
89
Member Avatar for Mr.coolguy

Hi all, i am new to java field, can anyone help me out to create a data base for security or Guard to enter the details of the employee and his phone number and also to replace incase his idcard is broken?? help me out using Java/JSP thanks in advance …

Member Avatar for Mr.coolguy
0
145
Member Avatar for Prahaai

1:) Please, how can i make Visual Basic 6 open a HTML file (with Iexplore, let's say), or one MP3 (with Media Player instead of Winamp, let's say), when i click a button? It is possible? I mean, for the HTML, i need the default program to open the file, …

Member Avatar for Comatose
0
225
Member Avatar for Katrix36

Hey all, Would anyone be able to help me out with some code to count how many characters there are in a string e.g. A label disaplys the number of characters that the user has typed into a memo. Katrix36

Member Avatar for daycartes
0
218

The End.