132,726 Archived Topics
Remove Filter ![]() | |
I'm working with structures, but somehow it skips one of the user inputs for the pie's price: [CODE]#include <iostream> #include <windows.h> #include <string> #include <conio.h> using namespace std; const int ESC = 0x1b; struct pie{ string brand; float price; string flavour; }pies[5]; int main() { cout << "Structures."; cout << … Software Development c++ | |
Hi All, I am researching writing a program in C that will allow me to control the read/write on a FDD and then to move onto HDD's. I have been given some code that will allow me to do this by one of my lecturers but uses the DOS.H library … Software Development c | |
write a java program that checks if parenthesis and brackets are balanced in an arithmetic expression. help me!! :(( i dunno how to solve that problem.. is it the same as the calculator java code? the concept, i mean.. :( help me guys.. Software Development java | |
Hi, im working on a mouse recorder. My problem is that i cant get the mouse click to work, everything except for the mouse click works. I've tried with several tutorials around the web, but i get errors on the declarations because two of them are named mouse_event. Thanks, Dajak. Software Development vb.net | |
[COLOR="Red"]Dear friends, I am new To Vb.net World. I have to Create a XML file like as shown below. <Task> <TaskStatus ID="PS0002436" status="Start" /> <TaskStatus ID="PS0002435" status="Start" /> <TaskStatus ID="PS0002434" status="Start" /> <TaskStatus ID="PS0002432" status="Start" /> </Task> Is there any Code available for creating... i need to add the "Value" … | |
Well im trying to "sleep" or make the program twiddle its thumbs for 15 seconds before continueing but without pausing the main thread. So i thought maybe if i create a new thread and Sleep in that one that would help but no. So then i thought the timer object … Software Development | |
I need my program to "stop" as the timer is running and when the timer returns true i need it to continue what it was doing. Sleep: [code] void iUpdateStatus() { bComplete = true; //IDC_Status.Text = IDC_Status.Text + "\r\n" + DateTime.Now.ToString(); } bool sSleep() { System.Timers.Timer myTimer = new System.Timers.Timer(); … Software Development adobe | |
Hellow everyone, please someone help me... I[COLOR="Red"] want to read data from a pdf file [/COLOR]but my coding does not work... Software Development pdf | |
Could anyone inform me of how I would call the screen saver on windows xp? Edit: Just did some research on MSDN and found the WM_SYSCOMMAND, and i see something about calling the screen saver in there, but i am confused on how to use it. Any help? Thanks guys Software Development c++ | |
Hi, I want to change the color of my button during runtime.. i am writing the following code inthe OnCtlColor of my dialog box [CODE]HBRUSH CPIVSyncDlg::OnCtlColor(CDC *pdc,CWnd *pwnd,UINT nCtlColor) { HBRUSH hbr = CDialog::OnCtlColor(pdc,pwnd,nCtlColor); switch(nCtlColor) { case CTLCOLOR_BTN: if(pwnd->GetDlgCtrlID() == IDC_STARTSTOP) pdc->SetBkColor(RGB(255,0,0)); return (HBRUSH)m_btbrush.GetSafeHandle(); case CTLCOLOR_DLG: pdc->SetBkColor(RGB(255,255,255)); pdc->SetBkMode(TRANSPARENT); return (HBRUSH)m_hbrush.GetSafeHandle(); … Software Development c | |
i need a program than can be ask user : name , age , id , and salary then shows me the maximum salary and minimum salary and then sort salary from maximum to minimum . please complete these program for me [CODE] public string name;a public int age; public … | |
Hi, I need to automate an Excel sheet. The requirement is that I need to read data from various CSV Files, maipulate them and place the results into specific cells in an Excel Sheet. This excel sheet is already prepared with lots of text. Only specific columns are left blank … Software Development microsoft-office pascal | |
i need to enhance jawi converter application using syllable word, but i don't know how to start it. The previous version, the coding is not working for syllable,so i need to change some coding to make it done convert correctly.Here some of code that i have to enhance. Software Development java | |
please i just got this visual basic 2008 installed on my system and i would have started work if not for the fact that i cant locate the tools on the toolbox, and what can i do without tools? plaease how can add the tools and get them working.... Software Development vb.net visual-basic | |
help theres nothing happen everytime i search a record heres my code [ICODE]Dim a a = InputBox("Input Product Code :", "Find", "") If a = "" Then Exit Sub End If Set rs = New ADODB.Recordset rs.Open "Select * from Product where pcode='" & a & "'", cn, adOpenStatic, adLockPessimistic … Software Development visual-basic | |
hi how can i change the backcolor of my label the SA is the name of the label heres my code [code] Private Sub Text1_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case 97 SA_Click (0) Case 115 SA_Click (1) Case 100 SA_Click (2) Case 102 SA_Click (3) Case 103 SA_Click (4) … Software Development visual-basic | |
Hi. I'm new to the forums, and I have a quick question. I would like to add 14 days to the current system date in a program. Here is my code: char date[9]; _strdate(date); char time[9]; _strtime(time); cout << "The due date of your books is: " << date << … | |
HI For Christmas I got a book on game programming with allegro. I went through the process of setting up the files and ran, compiled, and linked the program only to find that depending on which compiler I used (Dev-C++ or VC++ 2008) it came up with different errors saying … Software Development c++ windows-vista | |
Hi There, I have a third party EXE file (on which I have no control of any modification) which invokes a new CMD window in order to execute itself. In other words it a windows console application. Now it executes with some switches for runtime options [ICODE]<exe_name> /opt1 "param" /op2[/ICODE] … Software Development shell-scripting | |
Can anyone recomend any c++ 3D engines that are similar to pygame? | |
Hi again. In one of my programs, I would like to put in a search type feature. I would like it, so if the user enters a book name, it returns the call number of the book. I would also like it ti display a message if the library doesn't … | |
Hi I'm having a problem reading in a file. I am using BCB6 Personal Edition under Win XP. The file is always read correctly up to the 4413th byte then the data is corrupted. I have modified the code from a fixed array size to use a vector so I … Software Development c++ file-system ios | |
hello there, well i just started python, and well came to grinding halt. Why doesnt this work when i enter this... [CODE]print "hello world" [/CODE] it gives me [CODE] IDLE 3.0 >>> print "hello world" SyntaxError: invalid syntax (<pyshell#0>, line 1) >>> [/CODE] can anyone help me? -cheers Software Development python | |
i was writing a code for the applet in the awt class. but i was confused as i couldnt find any function to fix the position of button or textbox in the applet. the only solution which i got was using layout manager. but then i also couldnt find the … Software Development java | |
Hi Again. I have a password field in one of my programs. I would like to display the letters as a *. Does anyone have some code to achieve this? Software Development c++ | |
Hello, My problem is the execution jumps over a lot of code. In my example it jumps from "if" to the last end;, without executing anycode inbetween. Why? I had no "if" before and the one line was executed before the procedure was ended. No error message is returned. All … Software Development pascal | |
Hello, I'm making a customer data base for my friend. I need to open, edit and save a excel file in ole. So I know how to ope and edit but I don't know how to save it. I searched already half of a web and I found nothing so … Software Development visual-basic | |
I am coding a program which will simulate a ballot box, where voting wil take place. The code generates a random number which is the voter number which is unique to each voter. This is output to the user before voting. I would like it to perform a check to … | |
Hi New Here, I am struggling with a project am doing in Visual Basic 2008 where I am intergrating a access 2000 database. I cant seem to use the VB2008 program to search one field from the database (House Numb er, Id like to search btw). Any help people...... Thanxs … Software Development vb.net visual-basic | |
I want to make an appointment manager type thing in Delphi. In which I can add/edit/delete/make sure appointments dont clash. Its part of a larger program I am making in Delphi which is why I cant use anything else (apart from microsoft access via a DBGRID) and it is really … Software Development delphi microsoft-access pascal | |
Hi everyone! First post here. I've been programming for years but this xslt confuses the heck out of me. Can someone please tell me how to get this piece of code to work? It's a fragment reading in an rss feed and I'm trying to get it to only show … | |
[code=c] #include<stdio.h> # define A 10 const short LINE_SIZE = 255; main(){ char a[LINE_SIZE + 1] = " "; //Error here...why is this an error?? char b[A]=""; //no problem here printf("%d",sizeof(a)); printf("%s",a); } [/code] Software Development c | |
Good day, Happy new year to guys. I Know that this is not the right forum for my question but I dont know which forum to post this. Pls accept my applogies in advance. I need to develop a software that can receive info from a GPS receiver thru a … Software Development | |
Hi ! Some (weird) problem i got : I have a header file, InputHandler.h, which has one Class called InputH, and inside i have public: and a Void named Hi(). When i try to include InputHandler.h in PRPT.cpp, i get an error, weird one; The error says that i should … | |
Hi I am writing a code in VC++ char* style = "color:#4D4DFF;font-size:9pt;font-family:Arial;"; char* semicolonsplit = ""; semicolonsplit = strtok (style,";"); But in the last line I am getting an error " Access violation writing location 0x0041606d." Am I missing something. Regards Karan Software Development c++ | |
Ok so im still learning C++, looking at some directx and i come across a _ before a var and was wondering what it means. for example: pDevice->SetVertexDeclaration( _vertexDeclaration ); or in a error macro: SHOWERROR( “CreateVertexBuffer failed.”, __FILE__, __LINE__ ); first one is probably the best example. thanks. Software Development c++ | |
help.. i dont know how to sort strings.. for example.. if i enter: [CODE]JOKER[/CODE] then the descending order of string must appear: [CODE]ROKJE[/CODE] i think of strcpy() ..but it i dont know what to place in the if().. here's my code.. [CODE] #include<iostream.h> #include<conio.h> #include<string.h> #include<stdio.h> void main() { clrscr(); … Software Development c++ | |
I'm looking for a control in c# that looks like a panel but allows you to write header text on his border. i attached a picture to show you what i mean. does anyone knows this control ? Software Development | |
I've been working at this, ALL day... and stumped I have a class called LinkedList, which I am writing, Everything compiles, but at run time I get a segmentation default error. It occurs when I initialize a LinkedList object. I.e. LinkedList ll; // causes a seg def error at runtime … Software Development c++ | |
Is there anyway to default the webbrowser control to IE with no add-ons? Software Development | |
Hello sir, I would like to create exe files from VS2005 From my project, on button click it automatically wants to create new project (compiled as single exe) with a label(captioned as "Sample") and textbox and Button on a form. In that form it also wants to add coding for … Software Development vb.net | |
hi, I have Created a vb.net Application with MS ACCESS DATABASE, everything is working fine, But, There is a small problem . Everytime i ADD a new record it saves succesfully but i can only view that particular saved data only after restarting the application..Pls Help me ****************************************************** Imports System.Data … Software Development dataset microsoft-access open-source vb.net | |
Hello everyone... Plz help...i want coding for saving password each time i log in. I do not want to type the password again and again. The form is connected to FTP server. I m not authorized to make changes in that but i can create a folder for the passwords … Software Development vb.net | |
hi all! i want to delete a file/directory in java, the delete().depends on other programs which uses file name as string.but for me to delete the file,the name must be a File. that is what i have realized as when i use string it does not recognized some methods,like List … Software Development file-system java | |
I am having some trouble with the layout of my project. I'm using several APIs, including the WinAPI and DevIL. I had hoped to encapsulate each one in a separate header file, so that the main program would never have to know whats going on. The problem is, some functions … Software Development c | |
I having trouble understanding what the routines are doing. Can some one point me in the right direction. I have enclosed the java files. This is part of an internet challenge to better myself. Software Development java | |
Hi [B]snprintf [/B]is working fine when i am not using [B]append [/B]function . But as soon as i use [B]append [/B]function [B]snprintf [/B]crashes . Please suggest why [B]snprintf [/B]is crashing after [B]append [/B]. What is special with [B]append [/B]function which is crashing this program Below is the program. #include<string> #include<iostream> … Software Development c++ | |
Dear All, Please Help me out in this matter. I'm developing a small project, in this i'm uploading my combo box with master data ( i.e. List of Equipment). What i'm doing is once the user complete entering data in form the data is saved. Now when i reload same … Software Development visual-basic | |
hi, I am curious, how can I read a int from a text file( ex. num.txt). but this text file contains numbers without spacing (ex.1212132132313... 23156897984969.. 583852935792...) The problem is that this file has no spaces between numbers and when i try to read it into an arry, the result … Software Development c++ | |
Can anyone help me with this?.... I got some sample programs to be studied but I don't really know how to remove its bug..I don't know if there really is..but I think there is...there was no error upon compiling but when I try to run it...there is... here is the … Software Development java java-swing |
The End.