132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NycNessyness

I'm currently having a problem with having where it says DailyChild on my code to go up when the user adds a number. For example if they type 1 it should say 1.50. If they enter 2, it should say 3.00. But no matter what I do, it keeps printing …

Software Development c c++
Member Avatar for NycNessyness
0
889
Member Avatar for mypopope

ellow smart people. I want to learn c++ programming. can anyone recommend what to do or what book do I need to read? pls help me with this? what is the latest version of C++? thank you

Software Development c++
Member Avatar for toko
0
90
Member Avatar for tu_m.aimes

Is there a delay function for C? I'm using usleep, but I just found that somewhere on the net and if I get asked about it, I won't be able to explain or even name which library I'm calling it from. Is there a delay function in time.h? If so, …

Software Development c
Member Avatar for ashishtrivedi
0
214
Member Avatar for mypopope

what is the difference between vc++2005 and turboc++ ide or any other ide c++? thank you

Software Development c++ ide
Member Avatar for toko
0
78
Member Avatar for khalidxa

Hi guys, I am working on a two dimensional array to represent a matrix. [CODE]int matrix[i][j];[/CODE] I need to swap all the values of matrix[1][1] to matrix[1][2] . I am not sure how to do the swap, I did try to use for loop and matrix[1][j+1] , but it did …

Software Development c++
Member Avatar for pradeepk
0
107
Member Avatar for PieSquared

I'm writing a compiler, but if I want it to be on more than one platform, it seems I have to learn every assembly language for the different platforms. I've seen a number of languages which try to be 'portable assembly languages' such as Linolium and C--, but they all …

Software Development assembly
Member Avatar for PieSquared
0
199
Member Avatar for preetham.saroja

can anybody tell m,how to include-dropdownlist in datagrid...

Software Development vb.net
0
68
Member Avatar for Kshiteesh

I have inserted searching through passing parameter likewise. In search form there is only one textbox to pass the value. But there are three field names which are associated with that text box. For example: I have searched by passing phone number But there three field name tel1, tel2 and …

Software Development microsoft-access open-source vb.net
Member Avatar for preetham.saroja
0
122
Member Avatar for plusplus

My projekt has many forms. When the user closes the program, then the next time the program is being opened I want it to start with the form that was last used by the user. How do I do this?

Software Development visual-basic
Member Avatar for QVeen72
0
83
Member Avatar for asilter

how do i assign -let's say number 12000- to 3-byte stream? could u plz give a little code example? thanx.

Software Development c
Member Avatar for ssharish2005
0
140
Member Avatar for complete

How do I capture the Enter Key event in an edit control? I have so far inherited my own class from CEdit and I am capturing the input keys but it the method used to do this does not receive the event when the enter or return key is hit. …

Software Development c++
Member Avatar for vpsingh88
0
2K
Member Avatar for RicardoDiaz

Hi, I started reading a book named "Programming from the ground up" but realized it's for Linux, so I installed Ubuntu in my Mac with Qemu to test my code there. It works perfectly. But now I want to program with the Intel syntax, with NASM, in my Mac. So …

Software Development assembly os-x ubuntu
Member Avatar for Evenbit
0
227
Member Avatar for tunday

I have a program written in BCB that imports a wsdl. When I run the program I get this error: [C++ Error] ExtActns.hpp(614): E2015 Ambiguity between '_di_IBinding' and 'Wsdlbind::_di_IBinding'. I looked through the ExtActns.hpp file and found this line of code: [code]HRESULT __stdcall OnStartBinding(unsigned dwReserved, _di_IBinding pib);[/code] I need help …

Software Development c++
Member Avatar for tunday
0
236
Member Avatar for chelo77

I'm having problems here with this function i'm making, i need to make function that will write to a text file. This function has to ask the user for the file name and check if it exists. If this is all good then it will write the string in the …

Software Development c display
Member Avatar for Aia
0
208
Member Avatar for treecarver

I have a class with a private static HashSet defined in it that holds objects, when I pass a new object to the class all the elements of the HashSet change to the last inserted objects. I thought a static declared Hashset is only created once so any objects added …

Software Development java
Member Avatar for jwenting
0
161
Member Avatar for inzomniac

Hi everybody. I'm trying to turn on (or off) some LEDs conected to the Parallel Port. The program opens the port correctly but for some reason, it only allows me to use the LPT.MODE.SPP, even though that according to my Device Manager, the LPT1 mode is ECP. Besides that, the …

Software Development java
Member Avatar for inzomniac
0
143
Member Avatar for grii_19

[code=c] # include<stdio.h> # include<conio.h> void main() { float square(); float a,b; printf("\nenter any number"); scanf("%f",&a); b=square(a); printf("\nSquare of %f is %f",a,b); } float square ( float x) { float y ; y=x*x; return(y); } [/code] when i run this i get an error ::---- "" type mismatch in redclaration …

Software Development c
Member Avatar for Aia
0
815
Member Avatar for jaz

construct a hierarchy chart (divide the tasks into modules) then an algorithm,flowchart, or pseudo code that will allows a person to track a list of personal contacts. for each contact there are five fields - First name - Last name - Occupation - Phone Number - Relationship (of the contact …

Software Development algorithm c c# c++
Member Avatar for jaz
0
125
Member Avatar for Tight_Coder_Ex

In assembly I would[code=asm] ProcA enter 16, 0 call ProcB leave ret ProcB enter 16, 1 ... code leave ret[/code]Even if ProcA is in another file, so long as I know the order of the variables in ProcA they are visible to me in ProcB because [U][B]16 ,1[/B][/U] nests procedures …

Software Development assembly c++
Member Avatar for Salem
0
121
Member Avatar for R_brahmankar

hi friends , i am rushikesh brahmankar . i am studying final year of BE COMPUTER . I AM REQUIRING SOME GOOD IDEAS WHICH CAN BE IMPLEMENTED AS BE PROJECT. I HAVE KNOWLEDGE OF C, C++,JAVA ORACLE. I AM READY TO DO PROJECT IN ABOVE LANGUAGES. I AM ALSO READY …

Software Development c oracle
Member Avatar for ssharish2005
0
122
Member Avatar for programmer321

Hi All, I am trying to compress a text file using C. For example, if data written in a text file is ABCDEFGH, it occupies 8 bytes. I want it to occupy only 1 byte so that the size of the file can be reduced. Regards.

Software Development c
Member Avatar for ssharish2005
0
75
Member Avatar for asilter

how can i convert a void array to unsigned char array? could you plz give a little sample?

Software Development c
Member Avatar for ssharish2005
0
121
Member Avatar for DeathEvil

Ok, today is the final and I'm still confused with the struct. Last assignment was supposed to be transformaed from regular arrays to struct and even though I did it and it works, it's more like each member inside of a record is a array rather than array of records. …

Software Development c
Member Avatar for DeathEvil
0
115
Member Avatar for sammy_raul

I have read somewhere that if you dynamic_cast a void* you get the start of the address of the object ? I have no clue about this. How is this possible.? Can someone help me on this

Software Development c++
Member Avatar for vijayan121
0
109
Member Avatar for nishant.newton

Hi.. I am looking to develop a program which will print the data (the data will be fetched from the database server) on the preprinted stationary. The stationary will be a scanned image and it will be imported in the program and the relevant text will be placed on the …

Software Development printer visual-basic
Member Avatar for richerTextBox
0
133
Member Avatar for Fromethius

Hi everyone. For the past day I've been trying to find a good way to handle keyboard input. Naturally, I wanted to just use WM_KEYDOWN and WM_KEYUP to handle my events, but they proven to have limitations. In my game there was a keyboard delay. If you pressed and held …

Software Development c++
Member Avatar for Tight_Coder_Ex
0
177
Member Avatar for long_vn

Dear all i have to do the exercise. The check boxes have 5 items: item 1, item2,..., item 5. Each item have one value. These values is in the range from 500 to 600. There are 5 variables x, y, z, p, q. The connstant number is 1800 When 3 …

Software Development visual-basic
Member Avatar for long_vn
0
136
Member Avatar for C+Marshall

Hello everyone. I'm new to DaniWeb and new to programming with t C++ i have been working on a problem for several days now and I think i may have the code correct except i'm getting compiling errors related to my if..else statements in the GetGrossPay function. I've tried moving …

Software Development c++ daniweb-feedback
Member Avatar for C+Marshall
0
176
Member Avatar for bajanpoet

I want to stop users from being able to save a duplicate record in my Access database. I thought of using RecordsAffected, but I can't figure out how to get it to work. [code] SelectSearchString = "SELECT * FROM Breakdown WHERE BFrom = " & txtFrom.Text ' & " AND …

Software Development vb.net
Member Avatar for bajanpoet
0
161
Member Avatar for kshrini

Hi All, I've database application that uses an ADO & Datagrid control. This application has Backup button that should copy the database to another location. When I click on the button it gives me an error Permission denied. When I changed the connection string, record source & refresh the ado …

Software Development visual-basic
Member Avatar for kshrini
0
111
Member Avatar for ZSA004

I am trying to finish a fishing program. Basically the user inputs how many fish spawn and how fast they move, then the user tries clicking as many fish as possible before they go off the screen. Also, the fish need to turn into a fish skeleton (which was drawn …

Software Development c++ email
Member Avatar for krnekhelesh
0
230
Member Avatar for amitbhat

Hi Techis... I am given an assignment of writing a C program which behaves as assembler. That is implementing assmbler using C. I ll have set of assemply statements. I need to convert those into the machine equivalent binary representation. I ll have two data structures to keep track of …

Software Development c
Member Avatar for amitbhat
0
122
Member Avatar for Kshiteesh

HI all ..... I am beginner of VB. net. I m developing a vb.net application program to store, update and search contact information and address. I have completed the data. I have used ms access as my backend. I enter data like wise; [code=vb.net] Dim con As New ADODB.Connection Dim …

Software Development microsoft-access open-source vb.net
Member Avatar for arjunsasidharan
0
176
Member Avatar for PoovenM

Hey guys, so I’m writing a code analyzer and I’ve reached a bottleneck with parsing Java numbers from the source code. It works fine for the usual int, double and float numbers expect when they are represented as either octal of hexadecimal. The ‘parse’ method of [inlinecode]Integer[/inlinecode] and [inlinecode]Double[/inlinecode] don’t …

Software Development java
Member Avatar for PoovenM
0
207
Member Avatar for spider_pig

Sorry if this has been asked before but I have tried to find a solution elsewhere. I am using the getline function to receive input from the keyboard and save it in a text file. The problem is that it insists on printing a null character (the square box thingy) …

Software Development c++ ios
Member Avatar for dougy83
0
164
Member Avatar for nishant.newton

HI.. I am lookin to develop an InstallShield in Visual Basic for VB projects..can anyone tell me from where i can the useful and relevant information..I have searched on Internet but i didnt find any useful info.I m not planning to use Visual Studio "Package and Deployment Wizard" neither i …

Software Development visual-basic visual-studio
Member Avatar for nishant.newton
0
136
Member Avatar for acchao

Hi, my name is Andrew. I believe this will be my first post on daniweb so please bear with me. I'm working on a compression algorithm (miniSEED steim 2 compression if anyone is interested, its for seismic lossless compression) in C so I do a lot of bit manipulation of …

Software Development algorithm c data-structure storage
Member Avatar for Salem
0
634
Member Avatar for toko

i was wondering how to make a person to chose beween two things with the if statment? for example convtering to celsius or converting to fahrenheit. would this work? [CODE] void FahrenheittoCelcius void CelciustoFahrenheit int main() { int personchoice; if (personchoice == 1) { void FahrenheittoCelcius; } else void CelciustoFahrenheit; …

Software Development c++
Member Avatar for ndeniche
0
126
Member Avatar for shadwickman

I was making a simple application with a GUI built with wxPython. I have created and layed out the main menu, and when the user clicks a button, it is *supposed* to make a different set of controls appear, getting rid of/hiding the main menu. I was wondering how to …

Software Development gui python
Member Avatar for shadwickman
0
113
Member Avatar for kodiak

Hi, I have absolutely no clue how to implement Ascii color into a console program. I have tried google, but it only finds irrelevant things... ~thanks!!!!!~ Kodiak!!!

Software Development c++
Member Avatar for spider_pig
0
309
Member Avatar for kgbalaji1980

Hi, I need help for this C Program very urgent. please find the attachment below

Software Development c file-system
Member Avatar for Ancient Dragon
0
120
Member Avatar for dev.cplusplus

Hi to all I hope you can help with the following issue I have, thanks in advance. I'm working in an application that insert text to pictures. The problem is that after inserting the text, the size of the new pictures is smaller(in KB). I'll explain myself the original picture …

Software Development c#
Member Avatar for Killer_Typo
0
182
Member Avatar for Sivakumar_K

I saw the follwing coding in the forum.. But i dont know how to execute in the Turbo C compiler.. Or else we need to use seperate connectivity coding for Turbo C compiler???? Can i know the include files (Header files) for the coding given below.. ------------------------------------------------------------------------------------------------- HENV hEnv = …

Software Development c
Member Avatar for anu john
0
110
Member Avatar for mauro21pl

Hi guys I'm stll playing around with classes. I have some simple class, the program itself works but when I enter the value for your_account as a negative number it doesn't pass the right numbers to the private variables. Why is that? How may I fixed it Thanks [CODE] #include …

Software Development c++ ios
Member Avatar for Lerner
0
102
Member Avatar for scrypt3r

Im trying to write a app in vb 2005 and in this app u write some of my specal code in a text box, ive told vb wat my code meens e.g, popupmsg = msgbox, and when u press a button it runs, but ive tryed and tryed but it …

Software Development visual-basic
Member Avatar for scrypt3r
0
110
Member Avatar for coco86

anybody can teach me how to open an image using VB 6.0...jpg... or bit ... your help will greatly appreciated..thnx

Software Development image visual-basic
Member Avatar for coco86
0
85
Member Avatar for addicted

Hello everyone, I know it is quite a long time you have heard from me, dont mind that it was due to the programming and all other stuffs. I am just curious to know what happens next. I can now say i am a c++ programmer and i can write …

Software Development c++ gui
Member Avatar for Ancient Dragon
0
103
Member Avatar for letmec

hello to you all. I need to now how we can write a simple c code which will run when ever we plug in the usb drive in the port. Simply how to load our program at boot time. Thanks

Software Development c
Member Avatar for letmec
0
119
Member Avatar for nathanpacker

Hey, I'm running an HP-UX box, trying to create a little script that will compare the /etc/passwd file with another file I have created. Each line in this file, let's call it /etc/myusers, has a pin that the user has chosen (not necessarily unique), then their userid, then the comments …

Software Development shell-scripting
Member Avatar for nathanpacker
0
101
Member Avatar for pmhayden

Am currently doing a project with a java GUI interrogating a database. My first GUI is a [U]Login[/U] display which when the user successfully logs in will move onto a [U]Menu[/U] display. My problem is that I cannot get from the [U]Login[/U] display to the [U]Menu[/U] display. These GUIs have …

Software Development gui java
Member Avatar for Ezzaral
0
99

The End.