132,726 Archived Topics
Remove Filter ![]() | |
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 … | |
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++ | |
what is the difference between vc++2005 and turboc++ ide or any other ide c++? thank you | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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++ | |
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 … | |
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 | |
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 | |
[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 | |
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 … | |
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 … | |
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 … | |
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 | |
how can i convert a void array to unsigned char array? could you plz give a little sample? Software Development c | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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) … | |
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 | |
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 | |
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++ | |
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 … | |
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++ | |
Hi, I need help for this C Program very urgent. please find the attachment below Software Development c file-system | |
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# | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … |
The End.