132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for LKH

I dont have idea how to show "kim chong" words backward(gnohC mik). anyone have idea for this quenstion pls share thanks!

Software Development java
Member Avatar for BestJewSinceJC
0
68
Member Avatar for fallopiano

hi everyone. to put it plainly, I was writing some python code that used the itunes scripting interface to control itunes. so I got all of my functions down, and now I wanted to have these actions occur on a specific mouse press. thanks to Tech B, I used the …

Software Development client-server python
Member Avatar for fallopiano
0
105
Member Avatar for red999

I keep getting this error whenever I stop my program and I am wondering am I freeing memory right. This is my structure and I created a global array named day. [CODE]typedef struct { int hour; int minute; } Time; typedef struct { Time startTime; Time endTime; char subject[20]; char …

Software Development c data-structure
Member Avatar for Aia
0
281
Member Avatar for salamjamal10

An online retailer sells five products whose retail prices are as follows: Product 1, $2.98; product 2, $4.50; product 3, $9.98; product 4, $4.49; and product 5, $6.87. Write an application that reads a series of pairs of numbers as follows: a) product number b) quantity sold Your program should …

Software Development java
Member Avatar for Jocamps
0
402
Member Avatar for panagos

I have [COLOR="Green"][B]installed NetBeans IDE 6.7.1 and installed the MinGW compiler[/B][/COLOR] for the C/C++ plugin, all was ok until [COLOR="Red"][B][U]i have to use <ncurses.h>[/U][/B][/COLOR] for a project and it doesn't exist. [COLOR="Red"][B]Can you please tell me where to get it and how to install it???[/B][/COLOR] plz...it's for a paper in …

Software Development c ide
Member Avatar for necrolin
0
263
Member Avatar for jjepoy

I dont really know how the whole program works. ?_? especially the first one. can someone tell me please. [CODE]#include<stdio.h> int dec_bin(int bin) { int x, y; x = y = 0; for(y = 7; y >= 0; y--) { x = bin / (1 << y); bin = bin …

Software Development c
Member Avatar for necrolin
0
136
Member Avatar for haven_u

hi there, i just want to know what data type i need inorder to store a binary word eg. 10010111

Software Development c++
Member Avatar for vmanes
0
881
Member Avatar for Israelsimba

[B]i enter text into a text box, when i move to the next textbox, the text i entered in the other text boxe disappears.....this started when i run form after linking my text boxes with the necessary database items.. i used an adodc for connection. before connecting the textboxes i …

Software Development visual-basic
Member Avatar for abu taher
0
107
Member Avatar for ross42111

[QUOTE]THe problem is supposed to give the recsive answer and the loop answer. The recusive anwer is always giving 0 - as its answer.and that is inccorrect It is supposed to show the steps and so is the loop answer. Can someone plase help me[/QUOTE] [CODE]#include<iostream> using namespace std; float …

Software Development c++
Member Avatar for Lerner
0
148
Member Avatar for llemes4011

Hello. I've been using NetBeans for quite a while, and I really like the Draggable components that it uses. In both the GUI Builder & the GUI itself. So, my question is, How do you drag components around in the UI like that? I've looked into the java.awt.dnd package, and …

Software Development gui java java-netbeans
Member Avatar for llemes4011
0
162
Member Avatar for martinandrade

I have an assignment due tomorrow and I haven't being able to do it. I do not understand nothing about classes and when to use them. My assignment is: (Account Class) Modify class Account (Fig L 3.1 and Fig L 3.2) to provide a member function called debit that withdraws …

Software Development c++
Member Avatar for martinandrade
0
952
Member Avatar for vivek.vatts007

Hi all I am Vivek Bhola, working C#.net. I am trying to invoke a unmanaged code function in c#code. This function has prototype like: public static extern int SsmRecToFileA(int ch, string pszFileName, int nFormat, int dwStartPos, int dwBytes, int dwTime, int nMask, LPRECTOMEM pfnCallbackA); here pfnCallbackA is pointer to a …

Software Development
Member Avatar for tamw
0
763
Member Avatar for Jaysmi23

VB.NET 2008 Express, ACCESS Db 2007 Ok I have a program that contains a datagridview control linked to a database and i want to be able to search through every field via a ButtonSearch for a match of the search term - search term is entered in a text box …

Software Development vb.net
Member Avatar for Jaysmi23
0
289
Member Avatar for fallopiano

hi everyone. just recently I've been messing around with controlling itunes with python (you should check it out on google; some pretty fun stuff to mess with :D). I've already got all of my functions down, but my questions is that how would I go about grabbing keyboard/mouse input (mouse …

Software Development pc-peripheral python streaming-service
Member Avatar for fallopiano
0
328
Member Avatar for Eko

Hi guys , In Visual Studio 2005 I compiled the following code [CODE] int main() { float a; a=0.1; if(a<0.1) { printf("C\n"); } else { printf("C++\n"); } } [/CODE] I was very surprised when I saw the output C++ . I got the warning C4305 :" '=' : truncation from …

Software Development c visual-studio
Member Avatar for dwayneb
0
5K
Member Avatar for ubuntuubuntu

Hello, I have a program, let's say foo.cpp . If I do "g++ -S foo.cpp". That generates the file "foo.S" with assembly code. I would like to compare the assembly code foo.S with the assembly code generated if I put foo.S in a c program (even though there should be …

Software Development assembly c++ perl
Member Avatar for gerard4143
0
356
Member Avatar for Ilija

Hello. I`ve been given to make a program for math.After checking it.. it confuses me.I`ve been searching for a solution about my program.I hope u`ll help me with this program.

Software Development c++
Member Avatar for mrnutty
0
65
Member Avatar for AutoPython

I'm having a problem sizing down this block of code: [CODE] if POS == 1: POS1 = "->" else: POS1 = " " if POS == 2: POS2 = "->" else: POS2 = " " if POS == 3: POS3 = "->" else: POS3 = " " if POS == …

Software Development python
Member Avatar for AutoPython
0
148
Member Avatar for Ranek

So, i'm working on creating a very basic currency converter from Pounds to Euros or Euros to Pounds. It takes the exchange rate from the user then asks which way to convert. Then asks the amount of currency. This was easy for me to do in just one main class, …

Software Development java user-interface
Member Avatar for Ranek
0
4K
Member Avatar for MrNoob

hey i m reading about pe format but there something that i don't get RVA in documentation it says it just like a temp for addressing memory in other sections ok and it's just a DWORD what if there are many temperoralily variables wouldnt that overflow the that RVA value …

Software Development c
Member Avatar for MrNoob
0
479
Member Avatar for daviddoria

I am looking at some open source code and I am a bit confused. There is an Allocator class: [code] class Allocator{ [/code] Then in another class, they have: [code] class Octree{ public: static Allocator<OctNode> Allocator; [/code] When trying to compile, I am getting: [code] error: declaration of 'Allocator<OctNode<NodeData, Real> …

Software Development c++ open-source
Member Avatar for StuXYZ
0
108
Member Avatar for surfer2009

i am doing a problem . take character dynamic of size 10.when user enter 11th element.it increment the array size to 20. when user enters 21st element array size increases to 30 and so on int main(){ char *p; p=new char []; int size; for(int i=0 ;i<10; ++) cin>>p; size=strlen(p); …

Software Development c++
Member Avatar for mrnutty
0
106
Member Avatar for Mensa180

Hello! I've been messing with tkinter and now have tried to make a MPG calculator using sliders. My problem is that no matter how I move the sliders it does not update the mpg, I'm not sure what to tell the label to do for it to update. I know …

Software Development python tkinter
Member Avatar for Mensa180
0
117
Member Avatar for george21

I need to display the loan table with the annual interest rate, monthly payment, and total payment for the number of years entered. When I run my program, it only displays the info for 8%, when I need to display all interest rates from 5% to 8% in increments of …

Software Development display gui java java-swing
Member Avatar for BestJewSinceJC
0
111
Member Avatar for shahab03

hi.. can someone help me with this question Write down a sequence of instructions that would implement the synthetic instruction addd $t0,$t2 to produce a double precision sum (i.e. 64-bit sum) of two unsigned 64-bit integers. The first 64-bit integer is in the register pair $t0 and $t1, while the …

Software Development assembly
Member Avatar for shahab03
0
101
Member Avatar for kenmeck03

I need to prompt a user to type in a text file name and then take that file and and count the amount of words in the file. I have this code which counts the words in a file(that may not be "perfectly" written). I cannot figure out how to …

Software Development file-system python
Member Avatar for bumsfeld
0
126
Member Avatar for jupitertrooper

Ok, I am newish at programming in c++ and am doing a computer science program in school. For my latest project I have come to a bit of a dead end and was hoping for some help with loops and ignoring characters. The program is quite simple, it is a …

Software Development c++
Member Avatar for jupitertrooper
0
132
Member Avatar for wotthe2000

Hi How do you find out the first letter or number of string in a list? I have a list and I want to find whether any of the strings in the list start with a capital or little C. The code I have is: [ICODE] def isCMD(self): for word …

Software Development python
Member Avatar for bumsfeld
0
2K
Member Avatar for ujjwalgoody2

the question is: there is no zero in the number system.there are separete characters denoting ones,tens,hundreds, thousands, ten thousands.....etc... I for one(its a vertical line and not 1) n for ten 9 for hundred 8 for thousand r for ten thousand (the actual egyptian hieroglyphys were more picturesque but followed …

Software Development c
Member Avatar for Tom Gunn
0
150
Member Avatar for rsk_beckon

Dear All I want to develop an application to compare 2 input text file and show the difference with highlighted text in the first file itself. Please assist how to do it Or any readymade software is there for effective file comparison. Regards Sasikumar

Software Development visual-basic
Member Avatar for debasisdas
0
154
Member Avatar for txwooley

I am making a poker game using pyGTK. My problem right now is that the other players won't let me play! Each player has a function for betting and they go in order such as amandaBet(), playerBet(), billBet()... where player is you. Since this is a GUI game, I am …

Software Development gui python
Member Avatar for txwooley
0
276
Member Avatar for coollife

dim hwnd as long I am using FindWindow function to find whether Internet Explorer is open or not . hwnd = FindWindow(vbnullstring,"Google - Microsoft Internet Explorer") the problem is it easily find most of the windows , but in few cases for example if i type something in google search …

Software Development visual-basic
Member Avatar for marco93
0
124
Member Avatar for Kandeep

#include<stdio.h> main (){ double I; printf ("Enter the value : "); scanf ("%lf",&I); while(I<=0){ printf("**Value must be greater than 0.0\n"); printf("**Try again. : "); scanf ("%lf", &I);} WHAT DO I HAVE TO ENTER HERE? printf(" I is %lf\n", I); }[code]Hi! I create a code so that it checks if the …

Software Development c++
Member Avatar for csurfer
0
126
Member Avatar for kohkohkoh

i have an assignment to do but i'm still not good at c++programming.. the question is: -------------------------------------------------------------------------- Write a program in C++ that allows users to play the game of Hangman. The program stores a series of words in a file called words.txt, and randomly chooses one word to be …

Software Development c++
Member Avatar for C++NO
0
2K
Member Avatar for xirosen
Member Avatar for chrisname

Hi :) I'm trying to get the vendor ID using the CPUID opcode. Again, this is inline ASM with C; but it's the ASM that I need help with. The C is fine AFAIK. I'm not sure if it's the way I'm trying to do this, or if my CPU …

Software Development assembly
Member Avatar for chrisname
0
233
Member Avatar for Afi83

Hi there I have a database in access for using from VB6. In my access file I use many relationships. I use something for doing back up of my database frequently for preventing data loss. Every year many data added to this database (app50000). For maintaining the program at the …

Software Development visual-basic
Member Avatar for omoridi
0
180
Member Avatar for xirosen

Good day.. Can everyone help me pls.. i have created a code to create nodes in treeview and i am done with this. my problem is how can i view children's text on the treeview as well as the image when i click the parent? here is my code. Private …

Software Development visual-basic
Member Avatar for omoridi
0
184
Member Avatar for avirag

Hi!!! I have made a window application Form in which there is a textbox in which I am entering string of data. Also there is a toolbar for entering symbols which are not present on keyboard. Now for entering each symbol in textbox i have used :[CODE]textBoxEquation.AppendText("÷"); this.textBoxEquation.Focus();[/CODE] but problem …

Software Development
Member Avatar for Geekitygeek
0
193
Member Avatar for coollife

My project is Internet Explorer Blocker which blocks all websites apart from what i have mentioned . Its working fine, now as the user should not be able to close the vb application For that to happen the application should not be visible . So for the what is the …

Software Development operating-system visual-basic
Member Avatar for omoridi
0
229
Member Avatar for Stefano Mtangoo

Hi all, I plan to make a PRACTICAL dictionary and need help on just ideas. basically you can use dict datatype for simple dictionary and use dicy->key to retrieve but does that work for larger data queried from database? Or should I implement a database of key --->value? Any Idea …

Software Development python
Member Avatar for Gribouillis
0
184
Member Avatar for jatinder_44

hi i want to use web cam utilityin vb6.0 can iget some info on it

Software Development visual-basic webcam
Member Avatar for omoridi
0
97
Member Avatar for gothic1989

hi everyone!! im ren, im in my 4sem. and i required to make a project in my major. using VB6.. and that was supposed to be cafe client/server. can someone help me how to make a cafe client/server? im just a newbie in VB6 so i don't have any idea …

Software Development client-server visual-basic
Member Avatar for omoridi
0
74
Member Avatar for Harssh

Hi I am working on Public library project I want To make a print of receipt of new membership or book purchase report . Help me please send code or atleast code snippets of receipt generation and print

Software Development vb.net
Member Avatar for harshitkamdar
0
327
Member Avatar for BattlingMaxo

I want to make my characters move in realtime with NO pre-existing animation. The characters will move according to what is in front of them or if a enemy enters, etc. Are there any examples of this? Battlingmaxo

Software Development python
Member Avatar for BattlingMaxo
0
104
Member Avatar for Web_Sailor

I am able to build a logic which does exactly how I want it to work but when I add more records there are some problems in flagging. Here is the example:- when my input is : [CODE] mymm.insert(pair<char,int>('a',50)); mymm.insert(pair<char,int>('b',100)); mymm.insert(pair<char,int>('b',150)); mymm.insert(pair<char,int>('b',200)); mymm.insert(pair<char,int>('c',250)); mymm.insert(pair<char,int>('c',300)); mymm.insert(pair<char,int>('d',300));[/CODE] output is correct :- [CODE]single …

Software Development c++
Member Avatar for dkalita
0
123
Member Avatar for daviddoria

I am trying to compile some code (Example.cpp from here: [url]http://www.rpi.edu/~doriad/Daniweb/maxflow/[/url]). I am getting [code] Example.cpp:(.text+0x38): undefined reference to `Graph<int, int, int>::Graph(int, int, void (*)(char*))' [/code] This is clearly a template instantiation problem. I see that there is a file called instances.inc that defines the <int,int,int> class, do I need …

Software Development c++
Member Avatar for dkalita
0
394
Member Avatar for locked_twilight

This is a working program. But there is a logical error. Try this with the calculator: Press 2,M; Press R,*,2; Press R,*2; The output in the same order must be: 2 2*2 = 4 2*2 = 4 but the third one outputs 88 instead. M stands for Memory, it stores …

Software Development java java-swing
Member Avatar for locked_twilight
0
147
Member Avatar for turbomen

Dear ALL, Could you tell me how can I do this kind of question if I do not working with the computer and please find the attached document for your reference - it is the answer of the question? [code] Complete the table below to show what each variable holds, …

Software Development pascal
Member Avatar for pritaeas
0
152
Member Avatar for scias23

WHAT i want to happen is, when i click the CALCULATOR menu item, my separate Calculator.java will run on the MenuShortCut JFrame. AGAIN, i want the separate .java file to appear on THE SAME JFrame of MenuShortCut class. here's what i've got [CODE=java] import javax.swing.*; import java.awt.event.*; public class MenuShortcut …

Software Development java java-swing
0
107

The End.