132,726 Archived Topics
Remove Filter ![]() | |
[B]I want to write elevator program. Can you help me. Please... [/B] | |
[code=cplusplus] //////This is a copied code for insertion sort ///// It works for turbo c++ 1 ///// in windows. /// For students of nitc. // The program takes in size of array, and elements and sorts it. #include <iostream.h> #include<conio.h> //#define size 6 void insertion_sort(int x[],int length) { int key,i; … Software Development c++ | |
// Energy drink assignment from page 77 #18 #include <iostream> using namespace std; int main () [{ int numberSurveyed = 12,467; int energyDrinkers; int citrusFlavor; energyDrinkers =static_cast<int>(numberSurveyed)* 0.14; citrusFlavor =static_cast<int>(energyDrinkers)* 0.64; // Approimate calculations from survey print out // 14% of 12,467 cout << "Approximate number of customers who purchase … Software Development c++ | |
Hello! I have designed a dialog with a grid widget. I would like to populate it with data from a MySQL table which has 10396 rows and 5 columns, as the grid widget. How can I do it? Then, how can I select a row from the grid widget and … | |
Pretty much i can convert from infix to postfix really well and that is nto the problem i need help with the postfix evaluation also i dont think my evaluate method is correct i have two push methods, one for char and one for int. i really am stuck and … | |
I can't seem to find any function which will allow me to obtain the Windows screen resolution and/or set it in C++. I would like to be able to change it, then change it back. Thanx Software Development c++ | |
Kindly tell me how can I insert data from a bi-dimensional array [I]ex. array1(10,10) [/I] to a DataGrid/DBGrid and visa-versa. Please explain with a sample source code. Software Development visual-basic | |
Hello! I am using the wx.DatePickerCtrl to ask for the date using this code [CODE]wx.DatePickerCtrl(panel, -1, size=(110, -1), style=wx.DP_DROPDOWN | wx.DP_SHOWCENTURY) [/CODE] However, it returns the result as [CODE]Mon 30 Aug 2010 12:00:00 AM CEST[/CODE] but I meet them to be as YYYY/MM/DD. Is there any way to do it? … Software Development python | |
Hello everyone, Just wanted to know how can i blink a text in C/C++. Should use any graphics function. And i'm supposed to use a TC 3.0 :rolleyes: Software Development c++ | |
Please help me to create a program that will demonstrate the following using an array...... 1.Adding of objects 2.Deleting of objects 3.Updating of objects 4.Displaying of objects.. An interactive program using console/gui... thanks...hope you can help me...just send the code, please help me.... | |
Okay ive been looking everywhere and I can't find this. Ive used the help documents and tried to use the Shell function and also Process.Start. So say I have a file at relative path /Data/manual.pdf (i know how to get directory of application to create absolute path). But I need … Software Development pdf visual-basic | |
hii guys..Got one small question..really got confused with perl conditionals and loop. Would you please elaborate where to use: if..elsif while for foreach unless do in a program? Which one is best for which purpose? Many thanks in advance.. Software Development perl | |
Hi all, I am designing a program to calculate accrued interest on a loan. the way to go about this is first, u generate a full repayment schedule of the loan using the principle and the duration. then u calculate the interest per month using interest reducing balance method (e.g. … Software Development visual-basic | |
PLS HELP ME TO CODE THE MAGNETIC FIELD AT A POINT FROM A CIRCULAR CURRENT LOOP BY BIOT-SAVART LAW.PLS HELP NEED TO SUBMIT COMPUTER PROJECT WILL DUE TOMMORROW PLSSSSS HERE IS CODE BY MY OWN WAY #include <iostream> #include <conio.h> #include <stdlib.h> #define M 4*3.14*10^-7 main() { float B,N,I,R; cout<<"Enter … Software Development c++ | |
hey i m persuing b tech and i am a final year student. i need to know about some project titles coded in java and abstract about them in order to make it my final year project .plz give some direction. Software Development java | |
Hi! how can I convert words into numerals... for Example we enter "One crore twenty lakh thirty four thousand seven hundred eighty four" , then its corresponding numeral should be "12034784". What will be the C# code for finding corresponding numerals for range 0 to 999999999 ..... Software Development | |
[CODE]import pygame from pygame.locals import * from sys import exit from random import * pygame.init() screen = pygame.display.set_mode((640, 480), 0, 32) while True: for event in pygame.event.get(): if event.type == QUIT: exit() screen.lock() for count in range(10): random_color = (randint(0, 255), randint(0, 255), randint(0, 255)) random_pos = (randint(0, 639), randint(0, … Software Development python | |
Write a program that reads in a positive integer N and calculates and displays the sum of the first N even integers. For example if N is 6, the program should display the value 42, which is: 2+4+6+8+10+12=42. Caution: You need to write a program to do the addition. If … Software Development c++ | |
Hi! From the manpages I know, that perror evaluates the errno. So using perror and fprintf + strerror, as coded in my example below, should result in the same error messages, but they do not. The execution of the program leads to the following result: bash> ./errno_test blub fopen() failed: … Software Development c | |
Is it possible to have pointers to references in c++? I'm asking because in my simple code: [code=c++] #include "stdafx.h" #include "Nunu.h" int _tmain(int argc, _TCHAR* argv[]) { Nunu* p = new Nunu[5]; Nunu a("a"); Nunu b("b"); Nunu c("c"); p[0] = a; //critical line/s p[1] = b; // p[2] = … Software Development c++ | |
With windows XP, normal inport, outport functions do not seem to work. I downloaded a utility to open ports and then use these funtions, but it didnt help. Anyone can give details how to do parallel port programming in XP using C? Software Development c windows-xp | |
Hi I have a working media player that references the imported winmm.dll. I am trying to link a trackbar to the dll to find the file length & seek to the scrolled related timeframe. I have the code now that only starts the trackbar when the play button starts. Any … Software Development | |
What are some good exercises for an experienced programmer new to C++? I have found lists and suggestions on the web, but they are always simple or I have already completed them in other programming languages like C or Basic. Something that will help with learning modern C++ is best. Software Development c++ | |
Hello, I need to write a programm in C++ to send a sms from a PC to a mobile phone as a part in my project, so can you please help me? Reegards, Noora Software Development c++ | |
You can found Source code, tips and trick vb6, tutorial vb6, control activex, library. Please visit to [url]http://vb6stuff.blogspot.com/[/url] Software Development visual-basic | |
i want to make a save button for images without having to open a save file dialog so i would specify the name and location to save in the code please help Software Development vb.net | |
please help me how to get the highest and lowest number when I input 10 numbers.. the first run is: Enter First Number: Enter Second Number: Enter Third Number: Enter Fourth Number: Enter Fifth Number: Enter Sixth Number: Enter Seventh Number: Enter Eighth Number: Enter Ninth Number: Enter Tenth Number: … Software Development c++ | |
How To Click A Botton On Form1 From Form2 ? Software Development visual-basic | |
Is there an easy way to convert a simple integer into a boolean type? Software Development java | |
Question 1 How many pointers are needed to build a linked list in a backward manner? a. one [COLOR="green"]b. two[/COLOR] c. three d. four Question 2 Every node (except of the last node) in a singly linked list contains ____. a. the address of the previous node b. the address … Software Development c++ linked-list | |
Hi, i've been working on a couple of vb.net projects, but i've been unable to make an executable project.is there a way i can go about this?? Please Help! Thanks Software Development vb.net | |
I am tring to pass an array to a function but when i compile it says array undeclared first use in function.i thought once i pass it as parameter it becomes known by the function.here is my code: /* Write a program that reads quizzes from a file 'q.txt', randomly … Software Development c data-structure | |
hi guys. its been a long time but sincerely, am happy to be back. now i've got a problem on my mind and that is; am trying to develop a database application but i want it to be a console application. the major issue is that i dont know how … | |
Hi All, Does anyone know good and reliable "Open Source"object oriented database for use with c#. My Database will contain about 500 mb to 1 Gb of data. Thanks, Software Development c# open-source | |
I need a control to put on a window form to show a web page from a url. Is there such a control in the .net framework. Thanks | |
Hello everyone, i'm trying to use 2 mootools scripts together in one source. They work serperately but as soon as i combine them only one is working. It seems they interfere with each other but i can't seem to find the problem. Can anyone help me out? I'll paste them … Software Development flash html-css http-protocol java json legacy-mac open-source regex | |
This is a visual basic 6.0 wav sound player class that plays any selected sound file in .wav format. It has the filename property to select the file and play property to play the sound file. Visit [url]http://www.mycplus.com[/url] for more codes. Software Development file-system visual-basic | |
This is a program that emulates a supermarket cashier. It includes Login and also uses EncryPro for encrypting customer ID. AC 2010 Main Page : code.google.com/p/advancedcashier2010 EncryPro : code.google.com/p/encrypro Software Development c++ | |
HI I ama reading text froma file that have word like "you're" and it gives me Unclosed quotation mark before the character string ') error.Can anyone help me with this .Thanks [code] using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; … Software Development dataset web-server | |
I am writing the following program that calculates the average of a group of test scores where the lowest score in the group is dropped. It has the following functions: void getScore()-should ask the user for a test score, store it in a reference parameter variable, and validate it. This … Software Development c++ | |
I am trying to learn how to populate a tree, I did this same thing back in Vb6 and am trying to learnhow to do it in VB.Net, but I am having trouble with the code. It just jumps out put leaving the tree blank; and it gives no error … Software Development vb.net | |
Hi Everyone, I would like to get some help in a way to convert C code to DLX assembly code.I have tried to search if there are tools available which would perform this, but whatever I find is to convert to MIPS assembly code. Guidance to move further in this … | |
Hello, I've been having this error come up whenever I try to compile this code: [CODE]#include "stdafx.h" #include "Strides.h" int m_Stride; bool chams = true; bool onetime = true; int main(); { if (chams) { const BYTE bRed[60] = //red { 0x42, 0x4D, 0x3C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, … Software Development c++ | |
File file = new File("filename"); FileInputStream fis = new FileInputStream(file); len = (int)file.length(); //prepared stmt st.setBinaryStream(1, fis, len); I have uploaded the file into mysql database from servlet program. But how to read that file or tell me how to upload a doc into the database. Software Development file-system java mysql | |
hello, is it possible to sign out from the website programmatically.. if possible means how can i? thanks in advance Software Development | |
hello everyone i was wondering if anyone would be able to help me in an program i have to do. the program wants me to use my initials A and G and plot them on using gotoxy() function to make some thing that look like the picture in the link … Software Development c++ programming-construct | |
hi!! i want to know about the huffman algoriyhm and its implementation. how the huffman code works and its use, a code in c/c++ language Software Development c++ | |
Hello Forum, Pls I present to you a problem which has denied me sleep for the past 2days. I'm working on my final year project which is titled "DIGITAL ALARM CLOCK USING PIC16F84A" and I seem to be having problem with the source code. Im a newbie in pic programming … Software Development assembly | |
I started to think how to create up and down style loop, and what I ended up was this. Wanted to do it little unconventional way though to demonstrate the property of range as list.[code]for n in range(8): for i in range(n)+range(n-2,-1,-1): print i, print """ Output: 0 0 1 … Software Development python |
The End.