132,726 Archived Topics
Remove Filter ![]() | |
I have an application that I would like to use strings from the textboxes to open forms, by storing the form name in the textbox on open or close. Dim strName as string Dim frm as Form If strName = String.Empty then strName = frmMain Else strName = frmMain.txtFormOpen.txt frm … Software Development vb.net | |
erm im trying to create a function to test if an array/matrix is symmetrical that is for example a[i,j] = a[j,i] i think i got the symmetrical test function correct....just that i dont know where to put that if-else statement. it just doesnt seem to fit anywhere in my codes. … Software Development c++ | |
for this prob i have im supposed to cin a string of letters uppercased from A-H for example if i cin ABACDEFGH my prog should return them as such AA B C D E F G H however i came up with functions which are able to count the number … Software Development c++ | |
What I need to do i something like this: [B]ClientData.h[/B] [code=c++] #ifndef CLIENTDATA_H #define CLIENTDATA_H #include <string> using std::string; class ClientData { public: ClientData(int = 0, string = "", string = "", double = 0.0); void SetAccountNumber(int); int GetAccountNumber() const; void SetLastName(string); string GetLastName() const; void SetFirstName (string); string GetFirstName() … Software Development c++ file-system ios | |
I am teaching myself C++. I am writing a lotto program to read in dates and numbers and update a file. This code snippet: [CODE]int numberset[6]; cout<<endl<<"now, enter the 6 numbers. Hit return between each number:"; for(int i=0;i!=6;i++){ cin>>numberset[i]; while(numberset[i]<1 || numberset[i]>53){ cout<<"the number is not a valid, lotto number! … Software Development c++ | |
Hi I was wondering if someone could help with linked list. I'm trying to read i a text file in this format: ID Name PR Salary 339 GOERGE 4 26000 221 SANDY 4 22600 101 RONNY 3 35250 and put it in a linked list. I have this much so … Software Development c++ linked-list | |
Hello, if I compile this code it crashes at the if statement comparison. Giving me an access violation. it is meant to check, wether the elements stored in the linked list are ascending. I would really appretiate help. Thanks stk123 #include <fstream.h> typedef char Item; class Node { public: Item … Software Development c++ linked-list | |
I'm trying to make a shooting video game in conole mode but the game pauses to recieve an input from the key board. Ho can I get around this? How do game engines work? DFor exaple in a game like pac-man where the ghosts and other elements in the game … | |
Hey guys i'm trying to split up my classes into packages but I seems to stumble upon this error quite alot: OPPS please delete I figured it out sorry Software Development java | |
I am getting this error when trying to complile the main program. the .cpp and the .h files compile fine, but not the main. Error 1 error LNK2028: unresolved token (0A00004A) "public: void __thiscall MyEmail::Createfile(void)" (?Createfile@MyEmail@@$$FQAEXXZ) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ) test.obj e-mail main code #include "stdafx.h" #include … Software Development c++ | |
I have this assignment to do and i am confused on how to start this one. I am very new to programming and it would help me out a lot to see how someone with some programming skill would do this one. I learn more from observation so any input … Software Development c++ | |
I'm experiencing a little problem here with my code: DataSet _ds = new DataSet(); //convert xml to dataset _ds.ReadXml(textBox1.Text); try { //Create a relation between the Authors and the Titles tables. _ds.Relations.Add("Level", _ds.Tables["HEADER"].Columns["IDMAT"], _ds.Tables["ITEM"].Columns["IDNRK"]); } catch(DataException dt) { util.logThis("ERROR while Adding Dataset Relations between tables / UI / ProcessClick event … | |
Hi, I'm trying to do a vector of stringstreams so i can edit/manipulate them using vector functions as i have already done using strings. everything was going fine using... [code] std::vector<std::stringstream> myVector [/code] However i'm getting the error "cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>'" on this line... [code] … Software Development c++ | |
i have a problem... i wanna make a function that takes a string as input splits it, storing the resulting strings in a vector<string> and then sort it [CODE] #include <iostream> #include <vector> #include <iterator> #include <sstream> using namespace std; vector<string> split( const string &sInput ) { istringstream is( sInput … Software Development c++ | |
hi everybody there......i want to access the addresses other than provided to me c compiler......can anybody help Software Development c | |
hi I'm doing a banking project using binary files I need to write into a binary file and read and calculate the amounts within it. I open a file by asking the user for their name and searching and a file. I am having trouble reading the integers into a … Software Development c file-system | |
Hello all, This will be a bit of a long post due to the coding, my apologies. This is a homework assignment, I am soooo close to finishing it. I just have a couple of pesky bugs I am pulling my, what little I have left, hair. We are using … Software Development | |
[code] #include<iostream> using namespace std; void merge(int a[],int low,int mid,int high); void mergesort(int a[],int low, int high) { if(high>low){ int mid=(low+high)/2; mergesort(a,low,mid); mergesort(a,(mid+1),high); merge(a,low,mid,high); } } void merge(int a[],int low,int mid,int high){ int t[(high-low)+1]; int il=0; int ir=0; int nl = mid - low + 1; int nr = high … Software Development c++ | |
Hi , Currently i am writing telnet python script for connecting remote server. I would like to save the telnet session activites in a file. Is there any better way to grap the remote output in a local machine file. example Login: --------- Password: ********* Login successful --> show port … | |
Hi everybody. I appreciate any help given, and appreciate your time. I'm currently doing a program that tests if the input is a palindrome or not. I have already done the reversing part of the program. But was wondering how I could possibly check to see if the input word … Software Development java | |
hi guys, i asking if somebody can tell me what is the build number of software, and why it exist ??? thanks Software Development java | |
Hi! I developed an application that shows pictures in vb6 program. A pice of cake. I don´t want to deal with zooming and scrolling so I would like to sent it to the windows fax and picture viewer but I can´t find it. Any hint ... QuijoteMx Software Development visual-basic | |
Hi folks, I wonder if anyone out there could help me with something. I have a folder containing many html files that look like this: Astronomical Applications Dept. U.S. Naval Observatory Washington, DC 20392-5420 ST. PETER'S NOVA SCOTIA o , o , W 60 52, N45 39 Altitude and Azimuth … Software Development python | |
Hi all, I was learning about VBA 6.5 in excel ,so get Visual Basic 6 enterprise just to see can i do anything in that. So i get confused it is not same program like they do not look same . But they have some thing common .So i buy … Software Development visual-basic | |
I`m doing a project in VB to conduct a Quiz competition. I`ve succeeded in creating databases & tables using ADOX. The problem is how can I retrieve all table names from a database using ADOX? with regards Robins Antony. Software Development visual-basic | |
for the colum and row, how to fill the space with examcode automatically, below, I must put one by one.. [code=C++] /*------------------- Two dimensional array -------------------*/ #include<iostream.h> #include<fstream.h> #include<iomanip.h> ifstream infile("STA83EXM.txt"); void main() { const int row = 139; const int column = 139; int matrix[row] [column]; //**************creates Matrix**************** int … Software Development c++ | |
Hey, I've a comboBox with some List Items (countries names) I was wondering how can I force the user to select those countries which are Listed in the collection list only, without any opportunity to add his own item 10X Software Development | |
I am using GetFiles(string,string) to find .txt files in folders. The code that I am using look like this: [Code] folderBrowserDialog1->ShowDialog(); System::String ^ files3 = folderBrowserDialog1->SelectedPath; this->textBox1->Text = Directory.GetFiles(files3,"*.txt"); [/code] The compiler says that "Directory" is a undeclard identifier and left of .GetFiles must have class/struct/union. I am not sure … Software Development c++ | |
my prof told me to make my thesis system encrypt all that i save on it (on the add/save part of a file maintenance) ... thats all he said, ive seen something like this, but cnt remember... can any1 help me on making a program that when ever i save … Software Development visual-basic | |
alingment : [QUOTE]DOTS REPRESENT SPACES DESIRED OUTPUT Item................................................Price Burger..............................................100 pizza.............................................. ..50 patty................................................ 25 coke.............................................. ..10[/QUOTE] OUTPUT BY PROG. [code=c++] Item Price Burger 100 pizza 50 patty 25 coca-cola 10[/code] DISPLAY CODE [code=c++]for(k=0; k<no; k++) { cout<<endl; for(m=0; arr[k][m]!='\0'; m++) { cout<<arr[k][m]; } cout<<" "<<price[k]; }[/code] Interger array input without asking … Software Development c++ | |
I am kind of a beginner in C++,started learning the language this year at university. The next day I have an exam.One of the problems that needs to be solved with C++ includes a making a program that by entering a any word(Ex.:"Table")would reverse it,so it would look like :"Elbat". … Software Development c++ | |
Hi, I am programming in VC++/MFC to make applications for Bus, Airline and other ticket booking softwares. In those applications i need to display the available Buses/Flights in as in Web pages. i.e., like tables. A row for a flight like that. Currently I am making such a view by … Software Development c++ | |
I am using the following to convert serial data over a com port into a deque. The problem I am having is that while data is streaming and things get busy the program tends to crash on this. It works fine for awhile, sometimes hours, it is a multithreaded program, … Software Development c++ | |
hi I am creating travels project, in left part of my datagrid of my default page i placed all the products such as india tour ,world tour etc and if v click any product it will redirect to itennary page according to their ID's my problem is i inserted new … Software Development | |
Hi All, I seem to be getting an error with my code when running Intel C++ compiler via Visual Studio 2005. The error generated is "Expression:map/set iterator not dereferencable" I've given my code below in the hope that someone can spot the problem. [code=C++] set<stl_index>::iterator eit1, eit2=elmt_ids.begin(); bool non_consecutive(false); // … Software Development c++ visual-studio | |
Hi! I'm trying to program a monthly calendar.... but I can't get the weekdays for the nth day of the year right... my problem is written further down in the code... [CODE]from time import * class Calendar: '''Skapar en kalender för varje mÃ¥nad''' def __init__(self, year, month): self.year = year … Software Development python | |
Any ideas how this could be converted to a std::string(). So files8 will be converted to a std::string() [code] System::String ^ files8 = folderBrowserDialog1->SelectedPath->ToString(); [/code] Software Development c++ | |
(#143734) 915186754 SendMessage: sender 1, receiver 2, group 1000000000, type 24050, length 384, source 0 (#143781) 915248646 ReceiveMessage: receiver 1, sender 3, group 1000000000, type 24050, length 256, source 0 (#143658) 914941174 Collective: process 1, collective 11, group 1000000000, root 0, sent 0, received 0, duration 242440, source 0 (#143657) … | |
Hey, I'm working on a Paint program. I've never built a proper program before so I was wondering how I should go about structuring an actual piece of software. I'm trying to a make a simple paint application (like MS paint) using C++ and the SDL library. Right now, I'm … Software Development c++ | |
Here is what I am trying to achieve: I have an access database with a table [GroupTable] with 3 fields [RecNo, Group, SubGroup] (Group & SubGroup use integers) I want, under program control, to populate a table adapter with a subset of all records eg I want to be able … | |
can anyone help to create a program that is school-friendly. and can anyone plz make me a project just simple program that can make me famous in our school plz Software Development visual-basic | |
hi all, Please can anybody help me. I want to make installable of my project. I already make an exe of that project and try to make installabel through Package and Deployment tool from VB menu. When I click on Package and Deployment option it ask for selecting exe i … Software Development visual-basic | |
Hello, Hi I Need To Flip The Bits In An Integer (not Toggle Them But To Actually Get A Mirror Image With Respect To Bit Positions). The Problem Is That I Am Taking An Input Data In Integer Form From A System But It Places The Msb At 0th Position … Software Development c | |
Hi, I'm trying to use a code that change the wallpaper automatically, but I obtain the next error: Line 18: Unexpected EOF while looking for matching `` ' Line 25: sintax error: Unexpected End of File I think the code line is: cnt=`wc -l "$temp_bg_list" | cut -f1 -d " … Software Development shell-scripting | |
A company pays its employees as managers (who recieve a fixed weekly salary), hourly workers (who recieve a fixed hourly wage for up to the first 40 hours they work and "time- and a half"-1.5 times their hourly wage-for overtime hours worked), commission workes (who recieve $250 plus 5.7% of … Software Development c | |
I am trying to take my array of classes and add the values from one part of it together. I have everything ready but being able to add the parts of the array into a variable which I can use. Right now, I am using this to try and add … Software Development c++ | |
I have a good idea what I am supposed to put but I can't seem to get it right. I have two different files, Server.java and Client.java. I want Client.java to call a method in Server.java. This is what I have figured out so far. public class Client{ public static … Software Development client-server java | |
How to cal the examid like i want to call 001 and count how many exam 001 clash with 002, 003, 004...? [code] // Filename : ConflictMatrix.cpp #include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; struct student { string studentid; vector <int> examcode; }; int main() { … Software Development c++ | |
Help me with the J loop itz suppose to terminate on hitting enter to pass on loop to the outer loop for incrementing row. I tried a[i][j]!=(char)13 but it failed. [code=c++]#include<iostream.h> #include<conio.h> void main() { clrscr(); int no=0,i=0,j,k,m,price[20]; char arr[20][50]; cout<<" ================================================================="<<endl; cout<<" Food on the run Restaurant "<<endl; cout<<" … Software Development c++ |
The End.