132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for csha_cs508

[CODE]/*a program that inputs three integers from the keyboard and prints the sum, average, product, smallest and largest of these numbers*/ #include <iostream> using namespace std; int main() { int firstNum, secondNum, thirdNum, sum, product,average, largest, smallest; cout<<"Enter three integers: "; cin>>firstNum; cin>>secondNum; cin>>thirdNum; sum = firstNum+secondNum+thirdNum; product = firstNum*secondNum*thirdNum; …

Software Development algorithm c++
Member Avatar for csha_cs508
0
187
Member Avatar for sankaran1984

I want to write a method to determine if a given string is a palindrome. E.g. "Madam I'm Adam", or "A man, a plan, a canal, Panama". The prototype for the function is: [CODE]bool is_palindrome(char const * str)[/CODE] I have a simple logic to check for equality by moving forward …

Software Development c c# c++
Member Avatar for jonsca
0
103
Member Avatar for vbx_wx
Member Avatar for mitrmkar
0
243
Member Avatar for rexins

Hallo, MIPS works with words of 32 bit. But for universitiy, i have to add two 64 bit Integers numbers. first of all, my idea was that i split the numbers and store them in two register. But that's only a theoretical idea. I have no idea how to realize …

Software Development assembly
Member Avatar for tesuji
0
2K
Member Avatar for nehasfun

Please help me to write the following program in 8085 assembly language. Only guidelines required. 5 numbers are stored at consecutive memory location. Arrange them in ascending order and store them in another location.

Software Development assembly
Member Avatar for mahul000
0
184
Member Avatar for dghervas

Hello, Can someone give me an idea on how to start and control a pppoe connection using code and not using rasdial. Oh and i would also like to be able to specify the phonebook that i would like to use with full path. Thank you, Daniel

Software Development vb.net
Member Avatar for dghervas
0
650
Member Avatar for thuyson

i want to export all data in sql 2005 database to excel file but i don't know! Please help me! Thanks so much!

Software Development
Member Avatar for Lusiphur
0
162
Member Avatar for dhruv_arora

I wrote a program and created an object with fstream. Eg. [CODE] fstream f1; f1.open("s.dat",ios::out|ios::binary); f1.close(); [/CODE] Generally if there's no file such as s.dat, then it creates a file by the name but it it's creating one instead it exits the program. I have to then manually create a …

Software Development c++ file-system ios
Member Avatar for p@rse
0
133
Member Avatar for litlemaster

Hello all, I am a newbie and currently learning c#. i have adequate programming ability. I have to create a project in c#. Now I am searching for a topic for my project. I have plans in my mind to create a desktop application through which we can send and …

Software Development asp.net
Member Avatar for litlemaster
0
173
Member Avatar for hemavl

Hi! I am 32 years old Engineering graduate.Homemaker till now. I have learnt vb 6 and oracle, 10 years before. Now I am interested in vb.net.I am learning it on my own. Please help me to develop myself, so that I can get a job in It field.Give me some …

Software Development engineering oracle vb.net
Member Avatar for finito
0
209
Member Avatar for zismad

Hi all , i'm having a solution which includes a setup project too. when the user installs my program, it asks him t oinstall wamp server too. I want to have the path in which they installed the wamp server, so that i could run the MySQL files from my …

Software Development
Member Avatar for Oxiegen
0
144
Member Avatar for indianpresley

I want to use rdo with/without using a sql, ado without using sql and dao using sql for my application programming can you show some simple and understandable examples

Software Development sql visual-basic
Member Avatar for vb5prgrmr
0
177
Member Avatar for gee_azizi

Hi, I'm working with the VB6 for my project and it's about membership in a club. Everything is near done but there are something I want to ask Database : D-Club.mdb Field that hold the DOB : member_dob ex: '(dd/MM/yyyy) Field that hold the member value : member_value ex: '(16 …

Software Development flash visual-basic
Member Avatar for asaness
0
108
Member Avatar for Mkaveli

Hy I wanted to know what the best way is to program 3d in python without usin Blender. What I really want is to put my 3ds max object in a Python program. Thanks Mkaveli

Software Development image python
Member Avatar for Tech B
0
338
Member Avatar for keynan_toht17

Help me guys... It is very hard for me to make a new title for my thesis.. thank in avance

Software Development visual-basic
Member Avatar for asaness
0
501
Member Avatar for Maya Pawar

I have a datagridview which contains 4 records. I want to insert these records into access table.This access table already have records. Datagridview's columns & access table's columns are same (datatype & columnname) How can i insert these 4 records in access table??? Plz anybody help me.............. Thanks in advance...

Software Development vb.net
Member Avatar for Maya Pawar
0
134
Member Avatar for hemavl

I have got problem in updating the access database. THIS IS MY CODE // [code] Dim con As New OleDb.OleDbConnection Dim spl As String Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter con.ConnectionString = "PROVIDER= Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Malai\Documents\database31.mdb" con.Open() spl = "select * from REMAINDERDETAILS" da = New OleDb.OleDbDataAdapter(spl, …

Member Avatar for kvprajapati
0
110
Member Avatar for YoavX

Hi there! im trying to get whatever is displayed on my screen and insert it into a metafile. how can i do that?

Software Development c++
Member Avatar for Ancient Dragon
0
52
Member Avatar for iqra123

Hiie i have to convert unsigned char to char array. i m using ultoa() function that converts unsigned long char to a string. but it is giving me an error of Type Mismatch. actualy i have tsend my data to server side where it is recieving in char array. so …

Software Development c client-server
Member Avatar for kings_mitra
0
176
Member Avatar for hgbreton

I need to create a SOAP wrapper of the form [CODE=xml] <SOAP-ENV:Envelope xmnls=........><SOAP-ENV:Body></SOAP-ENV:Body></SOAP-ENV:Envelope> [/CODE] My C# code to do this is as follows [CODE=C#] XmlElement soapEnvelope = document.CreateElement("SOAPENV", "Envelope", "http://schemas.xmlsoap.org/soap/envelope"); XmlElement soapBody = document.CreateElement("SOAPENV", "Body", "http://schemas.xmlsoap.org/soap/envelope"); [/CODE] This works fine for the Envelope part but then adds a spurious xmnls …

Software Development api c# xml
Member Avatar for kvprajapati
0
485
Member Avatar for smoothe19

How to build a [B]case sensitive[/B] bubble sort and selection sort for a 2 dim array Here is what i currently have but it does not work properly [CODE]static void bubblesort(String[][] Array){ String datae = null; String temps; String tempse; for(int x=1;x<i;x++) { for(int y=0;y<i-x;y++) { if(Array[y][1].compareTo(Array[y+1][1])>0) { temps=Array[y][1]; Array[y][1]=Array[y+1][1]; …

Software Development java
Member Avatar for NormR1
0
322
Member Avatar for tomtetlaw

I am getting a really weird unhandled exception that just doesn't make sense to me. I've annotated my code so hopefully it will make sense to you aswell. Any help on this would and will be appreciated :) [code=c++] void DarkGDK( ) { dbSyncOn( ); dbSyncRate( 60 ); CBaseEntity *ent …

Software Development c++
Member Avatar for tomtetlaw
0
130
Member Avatar for sansam598

I am santhosh martin, I am mca final year student, our 6th is projects, any body help me to select a good topic of system side projets(using J2EE)

Software Development java
Member Avatar for peter_budo
0
79
Member Avatar for star111792

hello all, i m a final year student doing software engineering. now its time for me to submit idea for my final project but i m unable to get any idea which is gud and still easy to implement, as i m interested in doing solo project. i have almost …

Software Development engineering java
Member Avatar for peter_budo
0
782
Member Avatar for cke1031

I'm trying to write a class called "state" and I'm trouble with defining one of the constructors using variable argument list. The "state" class has four members: class state{ nucleon species; vector<int> particleLevel; vector<halfint> intermediateAm; halfint totalAm; public: state(nucleon, ...); }; "nucleon" is an enum type defined as: enum nucleon …

Software Development c++
Member Avatar for cke1031
0
176
Member Avatar for bibiki

hey there, I have the following code: [CODE] String[][] candidates = new String[4][3]; for(int i = 0; i!=4; i++){ for(int j = 0; j!=3; j++){ switch (j){ case 0: {candidates[i][j] = JOptionPane.showInputDialog("Give name of candidate " + i);} case 1: {candidates[i][j] = JOptionPane.showInputDialog("Give address of candidate " + i);} case …

Software Development java
Member Avatar for bibiki
0
102
Member Avatar for pinsickle

Hello, I was wondering how to make a c/c++ program installable on other computers. For example, lets say for some odd reason a friend wanted a hello world program. Obviously, if I complie the code it will only run on my computer. The may be a noobish question, but we …

Software Development c++
Member Avatar for pinsickle
0
569
Member Avatar for spowel4

Here's something that is probably simple but so far I haven't figured out how to do it: I have a console application that I want to pass three arguments to when I call it. The three arguments are the input file name, the field delimiter, and the output file name. …

Software Development
Member Avatar for spowel4
0
219
Member Avatar for Andreas5

Hello again, i ran into some trouble with Visual C++ 2008 when i tried to use a template function. I only get this error when i try to use the function from main(). I used another template function succesfully earlier, but i can not figure out what is wrong with …

Software Development c++
Member Avatar for jonsca
0
183
Member Avatar for rayborn66

Hi, I am having a problem with using file input/output streams in this program. [CODE] #include <fstream> using std::ifstream; using std::ofstream; using std::endl; int main() { ifstream inStream; ofstream outStream; inStream.open("infile.txt"); outStream.open("outfile.txt"); int first, second, third; inStream >> first >> second >> third; outStream << "The sum of the first3\n" …

Software Development c c# c++ file-system
Member Avatar for rayborn66
0
289
Member Avatar for kaydee123

Hello, How can I save a string input as a double linked list in dynamic memory in C++? Thanks in advance

Software Development c++ linked-list motherboards-cpu-ram
Member Avatar for jonsca
0
182
Member Avatar for parijat24

Hi , Actually I have just to copy some specific files from a directory. As there are 5000 files and I have to copy only 300. so I just want to make program which read the name of the file given in text file and then copies those file from …

Software Development file-system python
Member Avatar for TrustyTony
0
98
Member Avatar for hondros

I have the following function (from windows.h) which I am trying to use the Python C API to allow python to call it. This is the function: [code syntax=C] BOOL ReadConsoleOutputCharacter( HANDLE hConsoleOutput, (Type Handle to Change (use STD_OUTPUT)) LPTSTR lpCharacter, (char pointer to store Characters read) DWORD nLength, (length …

Software Development api c c# c++ python windows-api
Member Avatar for hondros
0
350
Member Avatar for nikelin

Simple package loader to load all packages contents from directory-based or from JAR-compressed class path entry.

Software Development java
Member Avatar for NormR1
0
416
Member Avatar for ozone_tom

I have a spreadsheet (roughly 200x200 in size) that is a matrix of 0's and 1's that define rules. These rules cannot be expressed in procedural logic because they need to be easily accessible for change by a user for modification. The first row are header value strings and the …

Software Development dataset microsoft-office
Member Avatar for ozone_tom
0
300
Member Avatar for vbx_wx

Hello,can anybody help me implement the sort() function of a double linked list. The node`s of the list contains objects of type Person: [code] class Person { int age; string name; string adress; }; [/code] And i want to sort all the Person`s by age.I tried implementing bubble sort,but I …

Software Development c++ linked-list
Member Avatar for dusktreader
0
3K
Member Avatar for majesticmanish

Hi all, In one RTOS, i'm debugging one issue which is, program is crashing one point always when it send a 8-bit value (Lets call it 'Int8 rogue_int')to a function (lets call it 'Infected( Int16 )' ) whose definition is taking that variable as 16-bit variable. Before entering to that …

Software Development c++
Member Avatar for majesticmanish
0
143
Member Avatar for gonzigg

Hi, im trying to find a way to repeat this code with out losing the count of 1,2,3 and 4, when the user enters a number different from 1,2,3 or 4. Because in line 26 I call for main() again but when I do that it loses count of everything. …

Software Development python
Member Avatar for faby
0
180
Member Avatar for KAY111

Hi guys, I am writing this perl script. Basically, what I want to do with this is that I have a text file vec.txt which looks something like this: <T> chemical- and bio-terrorism </T> <T> <C> nerve agents </C> </T> , <T> toxic proteins </T> <T> toxic protein </T> <T> …

Software Development perl
Member Avatar for mitchems
0
172
Member Avatar for elizabeth mwash

I was wondering, once you have created a system and now ready for use, how do you intergrate it with existing database

Software Development c#
Member Avatar for finito
0
444
Member Avatar for bojomojo

Hello, I have a file with each line consisting of certain fields. Lets say I want to detect which lines have the second field equal.. For example here is the file: [CODE]XM2 N$2 N$2 GROUND GROUND nch_mac1 l=50n w=150n multi=1 nf=1 sd=140n XM1 N$12 N$2 GROUND GROUND nch_mac2 l=50n w=150n …

Software Development shell-scripting
0
78
Member Avatar for jimJohnson

I know I am going to have alot of questions but can someone check to see if I am starting this out correctly... Programming assignment two will demonstrate your understanding and mastery of multi-threaded application concepts in a Windows environment using Visual C++ .NET 2005. In this programming assignment you …

Member Avatar for nbaztec
0
371
Member Avatar for grux12

Hey everyone=) my name is grux and I've got something of a problem.... First off, let me say that this is NOT for a class, I am simply trying to follow some online tutorials so I can be prepared for college this fall. I'm new to C++ (having only worked …

Software Development c++ ide
Member Avatar for nbaztec
0
161
Member Avatar for shankbond

Hi, I am new to regular expressions, I am having a problem regarding matching a specific keyword in certain condition. [CODE]string regexstring="\\bhtml\\b|[.]net\\b"; Regex rgx = new Regex(regexstring, RegexOptions.IgnoreCase); MatchCollection matcol = null; string st_data = "I am a .net developer, but also know about asp.net, vb.net ; I work on …

Software Development asp.net regex xml
Member Avatar for shankbond
0
167
Member Avatar for nocloud

I am getting the following error message: terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check Aborted It appears that I'm trying to read past the end of a vector somewhere in my code. The error message doesn't give me a whole lot of information about where the problem …

Software Development c++
Member Avatar for StuXYZ
0
843
Member Avatar for Madawar

Hi, Am a self teaching Newbie Assembly programmer :) Still in the theoretical Stages. My question is.... [B]According to the book am reading When you convert 254(decimal) to hexadecimal you get 0FEh. And when you convert -2(decimal) to hexadecimal using two's complement you get OFEh.[/B] When i do it manually …

Software Development assembly
Member Avatar for Madawar
0
4K
Member Avatar for xxpokerxx

[CODE=c]#include <stdlib.h> #include <stdio.h> #include <string.h> /* a structure that defines a string buffer */ typedef struct strbuf { char *contents; /* pointer to dynamically allocated buffer contents */ size_t length; /* number of characters in buffer (excluding '\0') */ } StringBuffer; /* function prototypes */ StringBuffer *strbuf_new(const char *cstr); …

Software Development c
Member Avatar for xxpokerxx
0
215
Member Avatar for Duki

What am I missing here: [code=c#]if (textBox_End_Miles.Text != "" && Convert.ToInt32(textBox_End_Miles.Text) > Convert.ToInt32(label_Start_Miles1.Text))[/code] I keep getting a runtime error any time I modify the textbox.

Software Development
Member Avatar for nick.crane
0
159
Member Avatar for bchaney

is there a way i can get my datatable to have multiple constraints that are attached to a unique id? an example of what i'm talking about is if i have a unique machine but it's on many lines, can i show that somehow in a datatable? the reason i'm …

Software Development dataset vb.net
Member Avatar for bchaney
0
221
Member Avatar for Fungus1487

This is a very brief overview of how to achieve an ON-THE-FLY creation of an appointment in the clients outlook calendar. This will not force the user to add it to there calendar but gives them the option to add it automated. Using the older .vcs file extension for outlook …

Member Avatar for elf123
0
212

The End.