132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pash11

Write a program to add or subtract two big integer numbers. “Big” refers to a number which is more than 30 digits. You can assume that the number may have MAXIMUM 100 digits. Your program should have the data structures to hold such a big number. Also it should have …

Software Development c++
Member Avatar for TSharma
0
218
Member Avatar for Laurence26

I add a new name to this script, but when I want to quit and save it gives and error ValueError: need more than 2 values to unpack I have no idea what it means can someone help me? If you want to modify the program feel free... [CODE]filename = …

Software Development python
Member Avatar for Laurence26
0
181
Member Avatar for harkw002_UniSA

I have a header file called StudentRecord.cpp which declares the function: vector<Student>::iterator find (const string& studentName); In my Student Record.cpp file i have written the folloing code: vector<Student>::iterator StudentRecord::find(const string& studentName){ vector<Student>::iterator find; for(find = students.begin(); find != students.end(); find++) { if (students[find].getName() == studentName) { return students[find]; } else …

Software Development c++
Member Avatar for harkw002_UniSA
0
104
Member Avatar for dougy83

Hello all, I'm new to VB.NET. Does anyone know how to call non-.NET functions (i.e. native, unmanaged) in dll files where you don't know the dll filename until run time? I had a go using LoadLibrary and GetProcAddress with delegates, but ended up with a mess (a working mess - …

Software Development vb.net
Member Avatar for dougy83
0
399
Member Avatar for wollacott

need help with my program. it keeps repeating (NULL) instead of preinting hello backwards. if remove ca[5] i get bus error. any help please on how to fix it. [CODE] #include <stdio.h> int main() { char ca[10]; ca[0] = 'H'; ca[1] = 'e'; ca[2] = 'l'; ca[3] = 'l'; ca[4] …

Software Development c
Member Avatar for Luckychap
0
87
Member Avatar for bhoot_jb

right now i am working with Turbo Borland C++ compiler...however now i want to have a try on GCC compiler too... so where would i get it?? can anybody provide a reliable link to a GCC compiler??? :)

Software Development c++
Member Avatar for bhoot_jb
0
125
Member Avatar for vileoxidation

Hello, and thanks in advance for your time! I am very new to C++, and am attempting the classic squares program. I have the meat of it all done, but am having issues with a few certain parts. First, I can't figure out how to do the sentinel value. I …

Software Development c++
Member Avatar for vileoxidation
0
133
Member Avatar for Suraine

Dear c++ gurus, I'm new in creating a header file. never try before. ERm... i have write a header file with a program: [code] Header file: MySensor.H extern short int DetectSensor(int sensorvalue[10]) { ....; } [/code] [code] Program file: MyFile.C #include <MySensor.H> short int i; int p, sensorvalue[10]; int getsensorvalue() …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
1K
Member Avatar for kemo0o

hey : i am working on simple engineering application but i have some problem i want to draw X-Y axis Then put any point on it . Then i want to translate this point ∆x=5 , ∆y=12 After that i want to rotate it by angle (∂) degree then i …

Software Development c++ engineering
Member Avatar for Ancient Dragon
0
102
Member Avatar for electromania

Im codding a programm that has multiple functions. Once functions calculates the means of 2 sets of data and prints meanx and meany. Now another function will use those means to do some other calculation. I dont know how to get those values from one function and pass them into …

Software Development c
Member Avatar for Ancient Dragon
0
283
Member Avatar for lolodede

until now u didnt solve my problem use c++ to input three words and then put them from largest to smallest using if statement

Software Development c c# c++
Member Avatar for Ancient Dragon
0
107
Member Avatar for mansi sharma

Private Sub Command2_Click() MsgBox "Have a gala shopping", vbOKCancel, "welcome to the superMarket" End Sub Hey, [B]1) [/B]I want to know how to add icons in the message Box . [B]2) [/B] How To Set the Default Button.

Software Development visual-basic
Member Avatar for techtix
0
152
Member Avatar for allopiloping

dear sir.... i have a problem.... i have a c source code and i want to make it in vb.net source with window form please if anyone can help me...... i will be thankful. best regards, the source : [url]http://www.sharekingdom.com/download/998/fork_source.pdf[/url]

Software Development pdf vb.net
Member Avatar for allopiloping
0
82
Member Avatar for hjong.mahjong

just practicing for fun on some problem i saw posted on yahoo answers,mathematics section problem: xyz times pqr = some number x,y,z,p,q,r should be 2, 3, 5, or 7. and some number's digits should also be made up entirely of 2, 3, 5, or 7. solution: 335 x 753 = …

Software Development c++ mathematics
Member Avatar for hjong.mahjong
0
105
Member Avatar for louislam123

Ok, I got the SSI info ready on my forum, so that the membergroups 'VIP' and 'Admin' would receive a response of 'Yes', and other usergroups receive a response of 'No'. I have created a login script in VB .NET that makes the user log in. If he response from …

Software Development php vb.net
Member Avatar for louislam123
0
78
Member Avatar for Jennifer84

I wonder something about what is happening when I sort this vector. I put some number into the vector like below. After the sort the output look like this. 3 2 1 -3 -2 -1 What I want is that the output instead will look like the below example. Like …

Software Development c++
Member Avatar for ivailosp
0
277
Member Avatar for lynx_aba

hi fellows... I have a little problem, in Unix there's a library called unistd.h that have the function "link" and as its name says, creates a link of a file.... I want to use that function in windows, but i only found the "_unlink" function in the io.h library, this …

Software Development c++ unix
Member Avatar for dougy83
0
115
Member Avatar for IU34

I'm making a text adventure game, and it's actually coming along quite nicely...the only thing is, I want to be able to return to the previous screen whenever I want. Say that in my game, I go north. I want to be able to go south, back to my main …

Software Development c c# c++
Member Avatar for IU34
0
98
Member Avatar for 11moshiko11

hello! i have problem with program i made: the program should define a pointer to pointer which points to dynamic array of Grade (class i made). i increase the size of the array in function. so i made a new pointer to pointer which point to array of Grade (the …

Software Development c++
Member Avatar for dougy83
0
83
Member Avatar for angel143

Hi all, I'm obviously (especially after reading my post through) a newb to vb.net. However, I'm hoping that someone would be kind enough to guide me through. This is for a final project at school and I'm stuck. I'm working on a movie catalog and I am trying to get …

Software Development vb.net
Member Avatar for angel143
0
130
Member Avatar for wollacott

[code=c] #include <stdio.h> #include<string.h> main() { FILE * myfileptr; // a pointer declared to the file stream. char sc; // a character which will be input from the file. // main code... myfileptr=fopen("words","r"); //open the file hopefully while((sc=getc(myfileptr))!=EOF) //get a char { if(sc)printf("%c",sc); //dump it to screen } printf("EOF\n"); } …

Software Development c file-stream
Member Avatar for Aia
0
314
Member Avatar for it2051229

am creating a calculator using net beans IDE so yeah i made 0 - 9 buttons.. although seems like i dont want to create an event handler on each number cause it's like a waste of time.. is it possible that the zero to nine button can only trigger one …

Software Development ide java
Member Avatar for jwenting
0
91
Member Avatar for Sawamura

hi all, thanks to helping until this time. now i want to display printer properties... please help me to do this. do i have to using api function to do this?? any help will be appreciated... best regards :)

Software Development api printer visual-basic
Member Avatar for Jx_Man
0
457
Member Avatar for wollacott

does anyone know how to give the characters of a string numeric variables? so when i can print the numeric variables in decending order so the word is read backwards? for example hello h=1 e=2 l=3 l=4 0=5 olleh your help would be very appreciated, a snippet would be awesome, …

Software Development c
Member Avatar for Aia
0
121
Member Avatar for denniskhor

can anyone help me how to programming the list box code in the VB6? i wan display the item i input in interface text field and combo box, then can display at the list box in that interface too.. pls provide the programming code for me.. thanks..

Software Development visual-basic
Member Avatar for Jx_Man
0
2K
Member Avatar for knight fyre

I've created a program that writes info to a specific file and reading from it to generate an income report. The problem I'm having is that when I geerate my report, the last person that was entered is repeated twice, hence throwing off the grand total. Here's the bit of …

Software Development c
Member Avatar for knight fyre
0
109
Member Avatar for marti3a3

So I'm a new programmer and I'm SO close to finishing this code. I want to return an array from a function, and every thread that I've looked up has said I need to return the data as a pointer TO an array. How is that done? Also, I'm working …

Software Development c++
Member Avatar for Ancient Dragon
0
87
Member Avatar for meliss1485

I need to write a C program that uses random number generation to create sentances. I need to use strcat to form the sentance and it should generate 20 sentances. What i have so far is below. however it is not working. I know that the problem is something with …

Software Development c
Member Avatar for meliss1485
0
74
Member Avatar for cutseyPrincess

Hi, I am in my final year for IT and have to submit a topic for my final year project in 4 days. I have to use Java(core) and J2EE something related to client-server. I am totally confused. Please help. Just give me some interesting topic ideas. Any thing else …

Software Development client-server java
Member Avatar for Ancient Dragon
0
277
Member Avatar for abhi287

Hi I m developing an application in which i want to compare a String with string[]. Means i m having array of names which i m displaying in a table..Then i m changing some names in table dynamically by some processing and adding new names to the table... While replacing …

Software Development java
Member Avatar for abhi287
0
115
Member Avatar for man4ish

#include <boost/config.hpp> #include <iostream> #include <vector> #include <utility> #include <string> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/graph_utility.hpp> #include <boost/property_map.hpp> #include "ed.h" #include "ve.h" using namespace boost; using namespace std; class Molecule { map<int,string> m; public: void set_molecule_property(vector<string>& s4) { for (unsigned int i = 1; i <= s4.size(); i++) { m=s4[i-1]; } } …

Software Development c++
Member Avatar for Salem
0
155
Member Avatar for aminit

Hello All: Can anyone give me a simple idea how to remove the duplicated letters in a text if I have this word HELLO it must be HELO..... Thanks in advance.....

Software Development c++
Member Avatar for aminit
0
118
Member Avatar for archangel

ok im made a visual basic form added a 3 command buttons 1 exits and 2 go to different forms and then i have a text1 and i have a save button at the top its on the mnu but the thing is is when i put the code down …

Software Development visual-basic
Member Avatar for QVeen72
0
163
Member Avatar for mooglor

[code] #!/bin/bash ARCHIVE_PATH=/archive CURRENT_DATE='date +%F%H%M%S' echo running at `date` >>~/Logs.txt for FolderToSearch in $(ls -l /home/stuff/tp |grep ^d|awk '{print $9}'); do find /home/stuff/tp/$FolderToSearch/in -name '*.*'|awk '{print "zip -m " $ARCHIVE_PATH "_" $FolderToSearch "zip2arc.zip" $CURRENT_DATE;}'|bash|tee -a ~/Logs.txt; done [/code] Hi there, I'd appreciate it if anyone can tell me how to …

Software Development shell-scripting
Member Avatar for ghostdog74
0
136
Member Avatar for mansi sharma

Single line Comments---? Multi-Line Comments--? I dont want the description, I want how to commnet the section of code. Ex, Line in C, [COLOR="Red"]Single Line Comments-[/COLOR] // [COLOR="Red"]Multi-Line Comments-[/COLOR]/* */

Software Development visual-basic
Member Avatar for QVeen72
0
95
Member Avatar for Suraine

Dear c++ guru, I am using cygwin to create a c++ environment for my Lego RCX. I have create a program file in c++ format. when compile with cygwin, it shows: [code] file.ds1: line to short on line 324[/code] can anyone help explain to me what is it? I am …

Software Development c c# c++
Member Avatar for Suraine
0
105
Member Avatar for rrocket

Does anyone know of a tutorial/site that explains how to bind to a tdblist clearly? If anyone could explain it, I would also appreciate it. So far I have this and must be missing something. It has been way too long since I have done anything in VB6. :) Other …

Software Development visual-basic
Member Avatar for QVeen72
0
264
Member Avatar for macka007

hi, i am working on a program that locks your computer after a preset time, sort of like the type you would find in an internet cafe etc, but it doesnt work properly. when its unlocked and a time enterd it passes the time (in minutes to a form that …

Software Development display visual-basic
Member Avatar for QVeen72
0
182
Member Avatar for man4ish

I am creating a graph using boost library, I am making the network using create_Network function() i am adding the vertices to this graph by creating the object g of class Graph. I am trying to use this object g in the another function get_neighbours() but it is not giving …

Software Development c++
Member Avatar for Salem
0
284
Member Avatar for lolodede

write c++ program to input three words and put them in sequence from largest to smallest using if statement so please help me its due during less than one hour

Software Development c c# c++
Member Avatar for Salem
0
68
Member Avatar for tosh123

hello. i have a set of 50 points. (array of 50 objects (arrayOfNodes[]) having x, y locations and distance and nearest neighbor and neighbor table ). The points are given X-Y location randomly in a range of 300 X300. and there is a center point called BaseStaion (BS). For every …

Software Development c++
Member Avatar for tosh123
0
153
Member Avatar for Yogesh Sharma

Is Debug Window same as Code Window?? Code window--where we write the code. Debug window--????

Software Development visual-basic
Member Avatar for cometburn
0
93
Member Avatar for strictlycustom

I'm trying to write a program that asks the user their hours and returns it to the main program, and then their rate of pay and returns it to the main program. I can't run the program because it is saying there is a problem with this part of my …

Software Development python
Member Avatar for strictlycustom
0
932
Member Avatar for Trckst3

Hey I'm trying to get this code going but i can't get my if(choice==2) to output anything any ideas? #include <iostream> #include <iomanip> #include <algorithm> using namespace std; int main() { int i,num[20],n,j,choice,tmp; cout<< "Please enter 20 integers"; for (i=0; i<20; i++) { cout<<"\nEnter next value:"; cin>>num[i]; } cout<<"\n1.Display original …

Software Development algorithm c++
Member Avatar for Trckst3
0
81
Member Avatar for Trckst3

Hey guys i'm working with this code but i can't get it to stop looping back into the menu any ideas??? Thanks !! [CODE=cplusplus] #include <iostream> using namespace std; unsigned int menu(); int main() { int i,num[20],sec[20],j,choice; cout<< "Please enter 20 integers"; for (i=0; i<20; i++) { cout<<"\nEnter next value:"; …

Software Development c++
Member Avatar for Ancient Dragon
0
100
Member Avatar for daviddoria

I have a class called MyClass in main, I have [code] MyClass A; //calls the default constructor A.date = 4; [/code] I would like a function to do some stuff and then use one of A's constructors , the result being I have A back in main [code] class MyClass …

Software Development c++
Member Avatar for dougy83
0
162
Member Avatar for sonia sardana

Hi, I m new to the VB. Can u pls tell me how to change the backColor Of CommandButton I try, [COLOR="Red"]command1.backcolor=blue[/COLOR]

Software Development vb.net
Member Avatar for Jx_Man
0
114
Member Avatar for TheBeast32

Hi, I have a question: What is the mysterious beep on a console program? I made a program that reads a *.exe file then displays it on the screen. I got a massive amount of beeps! Another example of a mysterious beep is: Open Command Prompt, Press Ctrl+G, then hit …

Software Development c++
Member Avatar for TheBeast32
0
68
Member Avatar for jobob64

MMmmmmk so what i am trying to do is simply throw a the ERROR object from the Array<T>::operator[] and catch it in main take a took... it prints out the equivalent of an empty space in memory. [code] //error.h class ERROR { public: ERROR(char * Incomming) { m_message = new …

Software Development c++
Member Avatar for jobob64
0
125
Member Avatar for TheBeast32

Hi, I made a simple program that copies files. I tried to copy an exe file, but after I tried to run the copied version, it doesn't work properly. Please help:?: Here's the code for the test file to copy: [code=C++] #include <iostream> int main() { std::cout << "Hello!"; std::cin.get(); …

Software Development c++ ios
Member Avatar for TheBeast32
0
177

The End.