132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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] | |
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 | |
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 … | |
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++ | |
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 … | |
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 … | |
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++ | |
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 | |
[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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
#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++ | |
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++ | |
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 | |
[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 | |
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 | |
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 … | |
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 | |
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 | |
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++ | |
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++ | |
Is Debug Window same as Code Window?? Code window--where we write the code. Debug window--???? Software Development visual-basic | |
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 | |
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 … | |
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++ | |
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++ | |
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 | |
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++ | |
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++ | |
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(); … |
The End.