132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kutukak

[B]I want to write elevator program. Can you help me. Please... [/B]

Software Development c c# c++
Member Avatar for karthikeyanvani
-1
372
Member Avatar for anjaly grace

[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++
Member Avatar for sim2
-1
300
Member Avatar for ScalesTech

// 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++
Member Avatar for ScalesTech
-1
381
Member Avatar for acrocephalus

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 …

Software Development app-store mysql python
Member Avatar for acrocephalus
-1
2K
Member Avatar for notuserfriendly

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 …

Software Development algorithm java
Member Avatar for masijade
-1
2K
Member Avatar for RFBourquin

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++
Member Avatar for 7sedam7
-1
2K
Member Avatar for RahulV

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
Member Avatar for pankaj7040
-1
723
Member Avatar for acrocephalus

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
Member Avatar for vegaseat
-1
489
Member Avatar for stackOverflow

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++
Member Avatar for Nick Evan
-1
995
Member Avatar for churva_churva

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....

Software Development gui java
Member Avatar for churva_churva
-1
286
Member Avatar for jawsykilla

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
Member Avatar for vb5prgrmr
-1
1K
Member Avatar for ghosh22

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
Member Avatar for DavidRogers
-1
278
Member Avatar for virusisfound
Member Avatar for virusisfound
-1
535
Member Avatar for depash

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
Member Avatar for depash
-1
2K
Member Avatar for imthiyas92

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++
Member Avatar for mike_2000_17
-1
874
Member Avatar for priyanca

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
Member Avatar for tong1
-1
343
Member Avatar for avirag

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
Member Avatar for Geekitygeek
-1
3K
Member Avatar for lewashby

[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
Member Avatar for TrustyTony
-1
310
Member Avatar for qqwushi12345

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++
Member Avatar for Allophyl
-1
1K
Member Avatar for Is0r

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
Member Avatar for costica_is
-1
541
Member Avatar for atch

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++
Member Avatar for atch
-1
289
Member Avatar for GMSI

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
Member Avatar for kings_mitra
-1
555
Member Avatar for jamesonh20

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
Member Avatar for freewayy
-1
397
Member Avatar for Luther von Wulf

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++
Member Avatar for mrnutty
-1
2K
Member Avatar for noora000

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++
Member Avatar for usamakarim
-1
1K
Member Avatar for revieperizh

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
Member Avatar for Rexan
-1
2K
Member Avatar for Progr4mmer

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
Member Avatar for Rajesh Parmar
-1
273
Member Avatar for finalheavenx

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++
Member Avatar for dusktreader
-1
3K
Member Avatar for 082100
Member Avatar for abu taher
-1
273
Member Avatar for orcboyx

Is there an easy way to convert a simple integer into a boolean type?

Software Development java
Member Avatar for javaAddict
-1
886
Member Avatar for hotness

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
Member Avatar for hotness
-1
343
Member Avatar for vikter

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
Member Avatar for navneet_dhanoa
-1
623
Member Avatar for melusim

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
Member Avatar for terminato
-1
266
Member Avatar for Netcode

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 …

Software Development sql vb.net
Member Avatar for finito
-1
1K
Member Avatar for seebharath

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
Member Avatar for gusano79
-1
880
Member Avatar for yda

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

Software Development display html-css
Member Avatar for PierlucSS
-1
382
Member Avatar for newbie2010

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 …

Member Avatar for CrazyDieter
-1
301
Member Avatar for msaqib

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
Member Avatar for surajcrj
-1
1K
Member Avatar for anuragcoder

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++
Member Avatar for anuragcoder
-1
386
Member Avatar for sdhawan

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
Member Avatar for kvprajapati
-1
727
Member Avatar for edbirdmann

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++
Member Avatar for schoenfelder.p
-1
460
Member Avatar for itmasterw

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
Member Avatar for finito
-1
286
Member Avatar for hetalraithatha

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 …

Software Development assembly c
Member Avatar for UncleLeroy
-1
578
Member Avatar for Brokenpwn

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++
Member Avatar for Brokenpwn
-1
458
Member Avatar for kalaiselvi.v

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
Member Avatar for electricrain
-1
921
Member Avatar for khan17

hello, is it possible to sign out from the website programmatically.. if possible means how can i? thanks in advance

Software Development
Member Avatar for khan17
-1
298
Member Avatar for superchica08

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
Member Avatar for superchica08
-1
919
Member Avatar for apurva agarwal

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++
Member Avatar for asim88
-1
420
Member Avatar for abdulgirei

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
Member Avatar for joycekram1021
-1
1K
Member Avatar for TrustyTony

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
Member Avatar for TrustyTony
-1
484

The End.