132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for snedan

Im usind Dev-C++ and it allows to return more than 1 value :eek:. ok, so here's my code : [code=c] #include <iostream> using namespace std; int intFirst, intSecond, intThird; int BreakUp(int intNumb) { intFirst = intNumb / 100; intSecond = (intNumb - (intFirst * 100)) / 10; intThird = intNumb …

Software Development c++
Member Avatar for ~s.o.s~
0
129
Member Avatar for brale

Hi there My enlish is not fluent but i hope you will get a clue... I got assignement to write program doing PC to PC communication entire in assembly. I made an effort to do this. But... it wont work. I can't initialize port with following code: [code] mov dx, …

Software Development assembly
Member Avatar for Ancient Dragon
0
384
Member Avatar for DynamitMsk

Hello, I have a quick question: How do I declare array of strings with a static size entered by user during run time in C++? In C# i'd do [code] // Get user unput (int, # of strings); string[] stringArray = new string[numOfStrings]; //tell user to start imputing the string …

Software Development c++
Member Avatar for Ancient Dragon
0
191
Member Avatar for ilgar

hi guys, I was thinking to build my own messaging program so that i can chat with my family who lives far away. Do you know if i can do that with out having server? Any comment is highly valued!!! all the best Ilgar

Software Development vb.net
Member Avatar for ilgar
0
94
Member Avatar for kcdclan

[code] [COLOR=#0000ff]#using[/COLOR][COLOR=#800000]<System.dll>[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] System;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] System::Diagnostics;[/COLOR] [COLOR=#0000ff]ref[/COLOR][COLOR=#0000ff]class[/COLOR][COLOR=#000000] B {[/COLOR] [COLOR=#0000ff]public[/COLOR][COLOR=#000000]:[/COLOR] [COLOR=#0000ff]virtual[/COLOR] [COLOR=#0000ff]void[/COLOR] F() { Console::WriteLine([COLOR=#800000]"B::F"[/COLOR]); } }; [COLOR=#0000ff]ref[/COLOR][COLOR=#0000ff]class[/COLOR][COLOR=#000000] D : B {[/COLOR] [COLOR=#0000ff]public[/COLOR][COLOR=#000000]:[/COLOR] [COLOR=#0000ff]virtual[/COLOR] [COLOR=#0000ff]void[/COLOR] F() [COLOR=#0000ff]override[/COLOR] { Console::WriteLine([COLOR=#800000]"D::F"[/COLOR]); } }; [COLOR=#0000ff]int[/COLOR][COLOR=#000000] main(){[/COLOR] B^ b = [COLOR=#0000ff]gcnew[/COLOR] D; b-F(); } [/code] It says identifer not found. I dont know why …

Software Development asp.net c++ visual-studio
Member Avatar for Narue
0
104
Member Avatar for solomon grundy

I need to construct a C++ program where I input from the screen the entries of two 3x3 matrices A and B. My program then computes A-5B. The matrices should be declared as two dimensional arrays. What I have so far [code=cplusplus] #include <iostream> using namespace std; //Define the Matrix3X3 …

Software Development c++
Member Avatar for Infarction
0
128
Member Avatar for sneekula

As you can see, I am playing around with the Tkinter GUI toolkit. How can I keep a number of widgets fixed in a location even when the user expands the window?

Software Development gui python tkinter
Member Avatar for sneekula
0
195
Member Avatar for sneekula

I am writing a small Python program for the use in our departments stockroom. This is what I have come up with (just starting): [php]# table of chemicals in stockroom # order --> stock number, chemical name, quantity (grams) # short version of the table table = [ ['ud-99137', 'm-chlorobenzoic …

Software Development python
Member Avatar for sneekula
0
155
Member Avatar for lavicool

Hi All, Thanks for all your help and advise. Here is a code for printing sales record. I don't understand what is the error in this code. When I try to complie and run, it says it cannot open the "sper.dat" file. Please help. Here is the 2 input files …

Software Development c data-structure
Member Avatar for ~s.o.s~
0
124
Member Avatar for Declan123

Could someone tell where the COM libraries can be downloaded, or are they only available with the EE Thanks

Software Development java
Member Avatar for manojdesai
0
78
Member Avatar for Cnaly

Could someone help me? I have an [URL="http://www.daniweb.com/techtalkforums/post285021.html#"]file[/URL] in which a list of employees and salaries are listed for each year ex: Year: 2005 No. of Employees: 3 Employee ID Salary 123456 36000.00 123567 32000.00 123678 33000.00 Year: 2006 No. of Employees: 4 Employee ID Salary 133456 31000.00 133567 32000.00 …

Software Development c++
Member Avatar for Bench
0
116
Member Avatar for Dogfish

:cheesy: Brief Intro: I am new to Visual Basic but have been playing with a USB PC Interface and have got to grips with some VERY basic VB6 commands and am trying to expand my "vocabulary" with hopefully the help of your kind and learned selves. Best Wishes for the …

Software Development visual-basic
Member Avatar for QVeen72
0
294
Member Avatar for caltiger

hi, I wanted to know if I can pass functions with varying no. of arguments to a fn pointer. say for example, i define a fn pointer as void (*fptr)(const void* , const void*); If there are another pair of fucntions defined as : void f1(int*, int* ); void f2(int*, …

Software Development c
Member Avatar for caltiger
0
146
Member Avatar for shadowmoon

ok.. my problem is.. my midterm source code is due tomorw.. unfortunatly i cant get thsi music to play... my group REALLy wants the music and i thin itll boost my chances of an a... when i ran this music in the original(just the music) it runs fine.. when i …

Software Development c++
Member Avatar for ~s.o.s~
0
137
Member Avatar for shadowmoon

how can i get a program to include other cpp files?? like if i was on a tem for school and we spilt the work into smaall parts ca we just use ome kind of include function to put all the files together withotu copy-pasting:????

Software Development c
Member Avatar for jim mcnamara
0
154
Member Avatar for Talon

I've got a java project in which I must replace all v's(big or small) with ag',r and replace all m's(big or small) with ssad, all g's(big or small) with jeb..w and all b's(big or small) with dug>?/. I'm stumped on what to do. I know how to normally replace chars …

Software Development java
Member Avatar for iamthwee
0
121
Member Avatar for iubike

Well the program takes a string of text and then turns it into title case (first letter or every word is capitalized). So I got it working as you see, the problem is I need to write a seperate function that can simply accept the string to be converted as …

Software Development c
Member Avatar for Narue
0
145
Member Avatar for coder_gus

Hello! I am working nowadays at a little script that reads mail (gmail).Nothing fancy here.The only problem is that i want to check if pop is enabled and if not to enable it from my python script. Do you know some way[s] to do that?I've tried googling but all i …

Software Development python
Member Avatar for coder_gus
0
76
Member Avatar for sridhar_msd

hi, i know how to develop the mobile web application. i was not able to load the application in the emulator. my doubts are : 1. is there a default emulator is in .net 2. where to get the emulator 3. how to make it runin the emulator pl help …

Software Development
Member Avatar for sridhar_msd
0
49
Member Avatar for whitemoss

Hi guys, need ur help regarding the above matter. I've write a code for if statement but it didnt work as expected when I run the program. Below is my code: [code] // Get ChannelID strcpy(src, row[11]); if (strcmp (src, "1") == 0) { if (sprintf(query2, "select * from Register …

Software Development c
Member Avatar for whitemoss
0
119
Member Avatar for sahidjamil

hi everyone. im really stuck with a project in pasal requring some string and files procedures. i have tried severy ways but i still can get through. the project can be found at [URL]http://www.cis.um.edu.mt/cmassign/proj2006.html[/URL] . i have attached 2 files one containg the code and the other containg a sample …

Software Development pascal
Member Avatar for sahidjamil
0
87
Member Avatar for jessiegirl

Hi everyone and thanks for looking to help me. I am working with a program involving arrays. I needed to write one that involves the use to have the program take about 10 numbers, list the minimum, the maximum, and the average. Now the program that I have below runs …

Software Development c++
Member Avatar for WaltP
0
160
Member Avatar for s_khardenavis

i am new at using threads can any one send me any program for using multithreads?

Software Development java
Member Avatar for Phaelax
0
136
Member Avatar for viv_mbbs

Hi!! can anybody gimme an algo for reversing the words in a string in O(n) time.... Eg..i/p:I love Linux o/p: Linux love I

Software Development c++
Member Avatar for John A
0
92
Member Avatar for Pointblank5600

Hey, I have 3 listboxes linked together that display 3 different fields of a table from an acess database. THe listindexs are set to equal each other so when you click on one it highlights on them all. However when the listbox gets lots of records in it, vertical scroll …

Software Development visual-basic
Member Avatar for QVeen72
0
99
Member Avatar for nasduck

How to write power of e in c++? Like e^3, does computer know e? Can I write it as pow(e,3) ? Thanks a lot.

Software Development c++
Member Avatar for John A
0
94
Member Avatar for rwagnes

Hi. I have a Java Applet with an assortment of buttons that is loaded onto an html web page. I would like any given button to run my ASP code which returns a web page containing results from a database query. But I can't figure out how to link the …

Software Development asp java
Member Avatar for rwagnes
0
101
Member Avatar for BeanieRaven

:cry: I have spent hours on this program and cannot get it to produce negatives or INT_MIN. Here is my code. Any help would be so appreciated I can't even begin to tell you... [code] #include <stdio.h> #include <iostream> using namespace std; char *strrev(char *); char *itoa_3(int, char *, int); …

Software Development c++
Member Avatar for Infarction
0
102
Member Avatar for jaguar founder

Hello, I have a question about perl I wanna connect a program for example a login/user creation to a website It a program That once you make an Account it sends that account to the game server which requires login to play And once you make that Account you can …

Software Development perl
Member Avatar for jaguar founder
0
118
Member Avatar for clevername

I need to use RNG to create a sentence, I know how to use a RNG to create numbers from 0-x but im not sure on how to use it to create sentences. Is there a way to assign random numbers to characters and store them into an array to …

Software Development c
Member Avatar for jaguar founder
0
72
Member Avatar for JS1988

Ok so I got this to compile but now all it prints out to the screen is the "*" in my createHistogram function why doesnt it print the mean,median and mode with a histogram of the data? [CODE] #include <iostream> #include <iomanip> #include <fstream> #include <cmath> using namespace std; // …

Software Development c++
Member Avatar for JS1988
0
250
Member Avatar for elcrapo

I'm having some trouble with this averaging program. This program is supposed to determine the final average by taking the sum of the products of the scores, multiplied by the weights and dividing by the sum of the weights. The output of the program includes each score-weight combination retrieved, the …

Software Development c++
Member Avatar for John A
0
146
Member Avatar for FireSBurnsmuP

Just what I need. In the midst of the two busiest weeks of the semester, and I get a friggin run-time error. I am running 64-bit Debian etch, and running the program from a terminal. It gets to some perfectly good code (I've said that before, and I was wrong), …

Software Development c debian first-post
Member Avatar for FireSBurnsmuP
0
111
Member Avatar for mattyd

**[I]Note: This may not be the correct forum for this post; I posted here as I thought it may be related in at least an indirect way. Please move if necessary.[/I] I have never knowingly worked on any projects where I had to attempt to extend a language. I hear …

Software Development first-post perl python
Member Avatar for Narue
0
127
Member Avatar for ashneet

I am new at c# so i am not even sure if this is possible. This application i am making is a win app and its purpose is to make xor encrypted file. when i try to encrypt large file it takes long time so i am trying to make …

Software Development
Member Avatar for Killer_Typo
0
106
Member Avatar for anandarose

Those two words were meant for each other. :cheesy: Anyways, i got the final on Wednesday and it's due next Wednesday. I have to design a program that takes information from a text document, displays that information, makes calculations based on that information, and then prints those calculations in a …

Software Development visual-basic
Member Avatar for anandarose
0
161
Member Avatar for sureshshanmugam

Dear All [IMG]http://forums.microsoft.com/MSDN//emoticons/emotion-6.gif[/IMG] I have very bad bug in my program as it's run fine on windows 2000 but can't run on windows xp I try to run my coding, the system will produce Error.ie) "unhandled exception of type System.Runtime.InteropServices.COMException occurred in system.windows.forms.dll Additional information: Class not registered" with green …

Software Development
Member Avatar for nagramana
0
165
Member Avatar for Jamaican Beauty

Hello, I'm a begginer at this asm code stuff and I've had to write a couple of simple and basic begginers programs. Well the one that I have to do now has to have an output that looks like this: * ** *** **** ***** and it must be a …

Software Development assembly
Member Avatar for Jamaican Beauty
0
158
Member Avatar for DeadDrunk

Ok, I'm freaking lost... I can't figure out how to get the "location" variable to work. Its a basic program, you input numbers and it HAS to use a recursive function to insert the new node into the list (even tho I could write 2 lines of code) and well …

Software Development c++
Member Avatar for Narue
0
83
Member Avatar for utopia14

Hey guys I know little of C (specializing in JAVA) and my data structures course asked that I transfer this into MIPS using $a and $v registers... any help would be awesome! #include <stdlib.h> void *(memset)(void *s, int c, size_t n) { const unsigned char uc = c; unsigned char …

Software Development assembly
Member Avatar for andor
0
563
Member Avatar for vicky_dev

While calling a member function from within another member function, isn't it better to write [COLOR="Red"]this->member_fun( )[/COLOR] rather than [COLOR="Red"]member_fun( )[/COLOR] ? That would make it very clear that we are calling a member function. What is the coding standard here? And what could be wrong with the first version?

Software Development c++
Member Avatar for vicky_dev
0
119
Member Avatar for queenma7

Hi everyone, am new to this site. I have been reading through the forums and it has been helpful for me so far. I have an assignment that could make or break my grade. so please help! am not asking for it to be done for me, but i just …

Software Development c++ data-structure
Member Avatar for John A
0
2K
Member Avatar for linux

Hello! In Visual Basic, there is a piece of code that can be used to see if a command starts with a certain text. For example, if I had a textbox, and I wanted to see if the user had started it with an "A" then I would use (not …

Software Development operating-system python unix visual-basic
Member Avatar for vegaseat
0
209
Member Avatar for toomuchfreetime

The following is a project that i'm working on at the moment and as i say is work in progress but having huge problem in trying to have a dynamicly re-sized array once the array gets too big. in the programme which will mean i'll miss out in a huge …

Software Development c++
Member Avatar for Narue
0
150
Member Avatar for Fooksan

I've heard C is pretty popular to program in. And I'm hoping that fact will help me since the community should be pretty big. Only programing I've ever done was years ago in QBASIC....yeah, I'm in the deep end >.> I want to make a simple window, with a search …

Software Development c++
Member Avatar for Narue
0
225
Member Avatar for DeadDrunk

Ok, heres what I got so far. The problem I have is my loops for adding data are not adding what I'm expecting... Each node is like "00343068", etc. when it's suppose to be like 123 Also if anyone has any ideas on the sum and increment portion, it would …

Software Development c++
Member Avatar for Narue
0
118
Member Avatar for jigry

i want to change the icon of exe file associated with my project. i kno i can do it in vb6 by going to properties . but i cannt do it in vb.net.is thr any other way to it.

Software Development vb.net
Member Avatar for Dukane
0
158
Member Avatar for ThirdEye866

Hello all...this is my first visit to this site.... anywayz i really need help in this...it's stupid maybe...but am not really into c++ ....anwayz this is a linked list...i just need a function to print a certain node.. like print(0); which prints the data in node 0..... here is the …

Software Development c++ first-post linked-list
Member Avatar for Ancient Dragon
0
196
Member Avatar for sneekula

Is there a way to make a Tkinter GUI window that the user can not change the size of?

Software Development gui python tkinter
Member Avatar for sneekula
0
163
Member Avatar for GreenDay2001

I am trying to make this program as my school project. This program basically gets data from user store it in an object [I]per [/I]and then saves it into a file PEARSON.TXT. Now the problem is that i am not able to write the data into files I dont know …

Software Development app-store c++ file-system ios
Member Avatar for Ancient Dragon
0
210

The End.