132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 | |
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++ | |
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 | |
[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 | |
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++ | |
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? | |
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 | |
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 | |
Could someone tell where the COM libraries can be downloaded, or are they only available with the EE Thanks Software Development java | |
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++ | |
: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 | |
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 | |
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++ | |
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 ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
i am new at using threads can any one send me any program for using multithreads? Software Development java | |
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++ | |
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 | |
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++ | |
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 … | |
: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++ | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
**[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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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++ | |
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++ | |
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 | |
Is there a way to make a Tkinter GUI window that the user can not change the size of? | |
![]() | 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 |
The End.