132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for iammfa

Hi, I read this line in creating window example with win32 API: [CODE]LRESULT CALLBACK WindowProcedure(HWND,UINT,WPARAM,LPARAM);[/CODE] please, can someone explain it to me..! i googled but i can't find enough explanation regards iammfa

Software Development api c++
Member Avatar for Clinton Portis
0
130
Member Avatar for El Duke

I can't believe I am getting this error again and again .... Here is my class: [CODE]class LANGUAGE: def __init__(self, val): self.val = val def Set(self): return self.val [/CODE] Here is the function call: [CODE]if text in translate._languages: msg = "You have chosen the " + translate._languages[text] global NewLang newlang …

Software Development python
Member Avatar for El Duke
0
680
Member Avatar for shaunhester

The following code worked perfectly in word 2003, now in word 2007 it doesn't work if the resulting save file is on a network drive, it does however work on a local drive. We are scrathing our heads here if anyone has any ideas we would be happy to try …

Software Development visual-basic
Member Avatar for phpbeginners
0
136
Member Avatar for bhey

can you please show me how to make a countdown timer? and a game program, like guess the missing word. because when i tried it, it doesn't give the right output. please help me. because i really don't know much about c++ i might fail to this subject.:S:'(

Software Development c++
Member Avatar for bhey
0
204
Member Avatar for aana

write a program 4 incyption and decryption of a 4 digit code. entered by the user.For incryption use following mechanism: 1.sumofalldigits + current digit%10. 2.replace 1st digit with the 4rth and 2nd with 3rd. Use functions and pass by reference. For decryption use reverse mechanism. ppppllllllzzzzzzzz someone help me!!!!!!!!

Software Development c++
Member Avatar for Agni
0
314
Member Avatar for vtsmokey88

The program is suppose to run through a list of strings. The stings are then put through a hash function (which works fine) and then "hashed" (for lack of a better word). The index is suppose to be an array of linked Lists to handle collision problems. I guess the …

Software Development file-stream java linked-list
Member Avatar for yokartik
0
177
Member Avatar for johnyjj2

Hello! I found code of simple client - server application using TCP sockets, written in C#: [url]http://www.csharphelp.com/archives/archive127.html[/url] . It makes possible to send and receive text. What I'd like to do is to send audio from one application to the other, I don't have to have communication in the opposite …

Software Development audio client-server
Member Avatar for sknake
0
1K
Member Avatar for KSM899

Hi, I have 4 classes , 1 is the base class and the other inherts from it, it worked fine when compiling .. I tried to make them as a package , it works fine with the superclass but it doesn't with the other classes, It always gives me cannot …

Software Development java
Member Avatar for ~s.o.s~
0
125
Member Avatar for Acute

Hello everybody, i'm new in C# and i have a problem: how to make a loop(what will be in paranthesises?) that asks user to enter a word (then my method checks whether it is a palindrome or not) [COLOR="Red"][B]until user presses [I]Ctrl+Z[/I].[/B][/COLOR] PLZ help, i'll glad to any advise.

Software Development c#
Member Avatar for sknake
0
565
Member Avatar for NewbieProgram

My professor wants us to write a script that will do the following: -Catch him online and output the time/day -Where did he login, ie College or Home (ip address provided is ok too) -What was he doing The crontab should run every 30 mins and automatically email him all …

Software Development shell-scripting
Member Avatar for sknake
0
125
Member Avatar for azegurb

hi all i am newbie in Excel VBA i created list in Excel and i wrote into ([B]a1[/B] cell-income, [B]b1[/B] cell-expence, [B]c1[/B] cell-kredit and [B]d1[/B] cell-debet) i enter a2 cell income (for ex:1000) and b2 cell expence (for ex: 100) and I give condition in VBA that if income greater …

Software Development visual-basic
Member Avatar for azegurb
0
89
Member Avatar for coder82

I am trying to parse PDFs to extract text from them. I couldn't find any good free tools online for that, and I have no idea about building one myself in .NET. I want to be able to parse the pdf and populate the data in a hash table, which …

Software Development pdf
Member Avatar for sheeby2
0
119
Member Avatar for abhaymv

Hi, I have this annoying problem in my project program.It simulates a Library.From the data stored in a binary file,the information about books are to be displated as: [U] Sl.no Book code Book Name Author no. of books[/U] 1 ES101 Sherlock.. A.C Doyle 10 2. SF200 Harry Potter J K …

Software Development c++ data-science display ios open-source
Member Avatar for abhaymv
0
266
Member Avatar for adudefelldown

Hi, in standard C, I'm trying to use my redblack tree code along with other data structures for my project. I currently have everything working (as far as I can test atleast) except the red-black tree. The red-black tree is in its own file redblacktree.c and main is in its …

Software Development c
Member Avatar for phpbeginners
0
125
Member Avatar for Geek_Cyborg

Hello, I want to add integer value in specify integer from mix character TextBox, For eg, I have two TextBoxes first's name Textbox1 and second's name Textresult1 Textbox1.Text = "blabla 2 bla" Now after a empty space and before a empty space i want to + 1 in integer value …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
90
Member Avatar for neosonic

Do you have any idea which program which enable us to do it? I'm thinking about matlab, but is it be able to do it? I am doing a project with the visual basic 6, which involving scanning the picture, and I need to read the text inside it. Thanks

Software Development image visual-basic
Member Avatar for Nick Evan
0
95
Member Avatar for xandy

i want to install visual basic 6.0 free download to my pc but i dont know if i can get here a free!!!! help me pls!!!

Software Development visual-basic
Member Avatar for Nick Evan
0
65
Member Avatar for murugeshkumaran

Pls anyone tel a good tutorial site to learn turbo assembly language

Software Development assembly
Member Avatar for cliffaem28
0
53
Member Avatar for Sheltac

Hi guys! I'm pretty new to C++. I am currently on freshman year at college, and have a programming problem (not homework, it's actually a side project of mine) that consists on implementing some algebra-related functions on C++. I'll go straight to the point: [code] int switchlines(int i, int j, …

Software Development c++
Member Avatar for Sheltac
0
172
Member Avatar for xxPoseidonxx

Alright, well I am getting the ".class expected" error. I cannot figure out what it is nor is google helping much either. [code] public class Driver { public static void main (String[] args){ Scanner scanIn = new Scanner(System.in); Deck deck = new Deck(); Card[] hand = new Card[5]; Shuffle shuffle …

Software Development java
Member Avatar for shubhinetwork
0
114
Member Avatar for Ultratermi

Hey :D I wanna make a small program which changes the Desktop Wallpaper. Ok ehm. I found many things but nothing is working! Maybe because of my os: Win 7 x64 Ok here is the code which should run when someone click on the button. [CODE=C++]SystemParametersInfo(SPI_SETDESKWALLPAPER, 0,"C:\\wallpaper.bmp", SPIF_SENDCHANGE);[/CODE] Tried it …

Software Development c++
Member Avatar for Ultratermi
0
1K
Member Avatar for dbratshpis

I want my xpath query to return something like: customerName=... id=... customField=.... regardless whether those nodes exist in my xml: [CODE]<Begin> <CustomerRet> <customerName>Jack</customerName> <customerId>1</customerId> <customField>A</customField> </CustomerRet> <CustomerRet> <customerName>Jack</customerName> <customerId>1</customerId> </CustomerRet> </Begin>[/CODE] How do I go about writing my expression? I tried using concat but it's not working for me. /Begin/CustomRet/concat('customerName=',customerName) …

Software Development xml
Member Avatar for xml_looser
0
90
Member Avatar for tien113

hi u I have a project combine a raytrace with SDL library but I dont know how to do... can you help me??? this is all source code of my raytrace: [CODE]http://tinypaste.com/6247b[/CODE] and SDL library on the internet: [CODE]http://www.libsdl.org/[/CODE] thanks...

Software Development c
Member Avatar for tien113
0
79
Member Avatar for anna2

I have this exercise that i need some help with !! • Write the function fahrenheit that returns the Fahrenheit equivalent (as a float value) of a temperature value in Celsius. The function has one integer parameter for the temperature in Celsius. [Hint: Tf = (9/5)*Tc+32; Tc = temperature in …

Software Development c++
Member Avatar for ItecKid
0
104
Member Avatar for ayan2587

hi frndz... the problem is as follows: i want to create a 2-d array. in every index in that matrix, i want to store an array of integers. moreover the array that i want to store at every index has to be dynamic because its size will keep on increasing. …

Software Development c++
Member Avatar for jonsca
0
113
Member Avatar for bdgrlsrl

Hello everybody, I am having trouble with the following. In my code, I don't get the right results for my getAverage/ getLeastAmount/ getGreatestAmount function. I don't know what I am doing wrong. Could anybody give me some hints, please? [code] #include <iostream> #include <iomanip> #include <cassert> #include <fstream> using namespace …

Software Development c++
Member Avatar for jonsca
0
132
Member Avatar for jitu44

How can find the repitition of a number from a given array with less time complexity(<N)?

Software Development c
Member Avatar for mrnutty
0
77
Member Avatar for alflash

Does anyone now how to create a game id for tictactoe,i.e each new game that is played is given a game id. help

Software Development c++
Member Avatar for jonsca
0
78
Member Avatar for jwxie

[CODE] # This is my second attempt writting a class class Getlist(object): def __init__(self,list1=[],list2=[]): self.list1 = list1 self.list2 = list2 def printIt(self): print self.list1 print self.list2 # This will combine the two lists together class combineList(Getlist): def __init__(self): for i in range(len(getlist.list1)): print getlist.list1[i],getlist.list2[i] getlist = Getlist([1,2,3],['a','b','c']) getlist.printIt() combineList = …

Software Development python
Member Avatar for jwxie
0
134
Member Avatar for DarthPJB

Howdy, those of you who remember me may be happy to know my 2D game engine was finished and I'm now working on a 3D engine. My engine has been going rather spiffingly well, after some battles with DirectX and OpenGL i managed to get them working side-by-side. Wrote a …

Software Development c++ file-stream opengl
Member Avatar for DarthPJB
0
305
Member Avatar for Iam3R

Hi, i dont understand the following; PLZ fix me. when i try to change the character pointed by pointer the behaviour is undefined. but when i change the same by using pointer as formal parameter of function it will be ok. why i cant change the base address of array, …

Software Development c
Member Avatar for Iam3R
0
122
Member Avatar for EnjozLearniz..

[B]What I want to code:[/B] 1.Given: -A range of integers iRange from 1 up to iRange -A desired number of combinations 2.Find the # of all possible combinations and print it out. For example: Given: iRange = 5 and n = 3 # of combinations = iRange! / ((iRange!-n!)*n!) = …

Software Development c++
Member Avatar for EnjozLearniz..
0
130
Member Avatar for kako13

Hi, I'm reading a line from a text_file.txt The line looks like: 1#Jonh#Smith#PO Box#4.9#5.0# The code being used: [CODE] fstream file; file.open("Tbl_cliente.txt", ios::in); // open a file for input file.unsetf(ios::skipws); getline(file, Cli_nombre, '#'); getline(file, Cli_apellido, '#'); getline(file, Cli_dirr, '#'); file >> Cli_total_compras; file >> Cli_balance;[/CODE] But when I look for …

Software Development c++ ios
Member Avatar for necrolin
0
142
Member Avatar for 2scoopdelux

i am having trouble putting together all the pieces of the puzzle to work together in harmony. My final project is simple,i have a jlabel with the question of how much does your dog weigh, I have a button and a jtextfield, the user enters the amount of there dog, …

Software Development java java-swing puzzle
Member Avatar for 2scoopdelux
0
190
Member Avatar for newbiec

Hello, I have an assignment to make a tic tac toe game using 1-9 in a grid (but without 1 l 2 l 3 and instead, 1 2 3 etc.). I'm having an impossible time figuring out how to redisplay the new x or o (see function comments). Is there …

Software Development c++
Member Avatar for Jiwe
0
102
Member Avatar for mcap61

Hey guys, I have to write a program to check the ranking of the top 1000 boy and girl baby names using linked lists and pointers. The POINT of the PROGRAM is if you enter a name it will tell you what the name ranks among the list if it …

Software Development c++ linked-list
Member Avatar for programmersbook
0
390
Member Avatar for HazardTW

I did make some attempts to search for this problem but was not sure exactly what to search for and being after 1AM my eyes wouldn't take reading through the 11+ pages of unrelated search results, so I will just ask the question... New to Java, want to use one …

Software Development java
Member Avatar for HazardTW
0
139
Member Avatar for Spiderpig085

i have code which has a menu.. this code is for a tic tac toe game and i cant prevent the program from crashing . So......... when the user enters a variable e.g 'q' the program crashes. the happens whilst playing the game and whilst selecting a menu option. is …

Software Development c++
Member Avatar for Spiderpig085
0
141
Member Avatar for ihatestarch

There were a few book recommendations I saw on the web for c++. The C++ Standard Library: A Tutorial and Reference -- I want to purchase this book, but it was published in 1999. Is there a more current book like this or is it one of those things that …

Software Development c++ publishing
Member Avatar for Bench
0
111
Member Avatar for qwertymk

I have a line of code that looks like this: [code] _data = new (nothrow) T[_size]; [/code] This code is inside a classe's constuctor The problem is that it initializes each element to zero which I don't want it to do. Is there to just have it reserve the memory …

Software Development c++
Member Avatar for qwertymk
0
120
Member Avatar for Snapster5

Hi im working on a function lab that was givin to use, there are compile erros on it im not sure how to fix, most likely caused by mistakes by me not wrinting correctly. If you can help me out on this would be appreciated. Discription: The purpose of the …

Software Development c++
Member Avatar for Ancient Dragon
0
150
Member Avatar for 9w43

Hello, I am using Blue J, I have 3 classes, time, date and patient. When I run the patient class, I can put patient details like name, address, DoB, time. The time and date classes are separate classes, how can I store the date (int) and time which I enter …

Software Development java oop
Member Avatar for mellowmike
0
175
Member Avatar for vtfan

I made a poker game and when I run it I get these errors... [CODE=syntax] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at PokerGame.Hand.getPairs(Hand.java:82) at PokerGame.Hand.whichHand(Hand.java:28) at PokerGame.DeckOfCards$1.actionPerformed(DeckOfCards.java:67) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) …

Software Development java java-swing
Member Avatar for vtfan
0
228
Member Avatar for xyzt

Hello, I try to use POSIX Message Queue API and in the doc it says that: [CODE]#include <mqueue.h> int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio); [/CODE] [I]The mq_send() function shall add the message pointed to by the argument msg_ptr to the message queue specified by mqdes. The …

Software Development api c++ queue
Member Avatar for kbatra
0
907
Member Avatar for StaticX

Hi Im having a problem when it comes to dynamic memory allocation.I have a program that lets me pick the size of my array,and then input numbers into it. That all works well,it is when I try to add another int to this array that im having problems with,could anyone …

Software Development c++
Member Avatar for StaticX
0
339
Member Avatar for ali8888

I have a question, and it is: How create win32 application in Microsoft Visual Studio 2008 ?? I do not want to select " Empty project " in " Additional options: ". i.e. I want use visual window for my program. Please help me. My language is C++.

Software Development c++ microsoft visual-studio
Member Avatar for ali8888
0
171
Member Avatar for Krstevski

Hello ppl... Can someone show me how to make a method with "unknown" data type ? I want to create one function for sorting array with different data type... (I know for .NET library but I want to create custom library...) For example: [CODE=Csharp] public class Sort { // THis …

Software Development
Member Avatar for sknake
0
127
Member Avatar for Waseem Siddiqui

[B]Hii, I am unable to make the coding for backspace key, is there any one who can help me please. I request Please[/B]

Software Development
Member Avatar for sknake
0
69
Member Avatar for pankaj.garg

Hello, Please help me in selecting a database to use with VB6. my application will store some 20-25 values each second (24 X 7) along with date-time stamp...and i would need to access this data for over 1 year period... Keeping this in mind...which database should i select? also please …

Software Development data-structure visual-basic
Member Avatar for pankaj.garg
0
126
Member Avatar for srvishnukumar

Hi Friends, I dont Know That how to view the data [ie : Fill the datas] from Gird to textbox.... Plz Explain me With Example Thanks with Vishnu

Software Development c c# c++
Member Avatar for Silverfox13
0
123

The End.