132,726 Archived Topics
Remove Filter ![]() | |
Well... I could copy the data, and use that, but that would be very slow, and I would have to copy often and a lot. I have a table where records depends on another one. Still, it will be the backup if I can't solve this. So every time I … | |
Hi C++ experts , actually my knowledge is not very good I can call my self degree 2 beginner , But I know how to do things in C#, and write now I need to execute what I have already done in C#, in a c++ code. MORE EXPLANATION : … | |
Can anyone explain how bubble sort work or give an example or a simple code that is bubble sorting Thanx in advance Software Development c++ ![]() | |
hello, i have written a program which selects each record in the database-table(having ip,status and other fields) pings to that ip and if a reply is obtained then the program establishes a socket conn b/w another comp and exchanges information,if info is exhanged then nothing is to be done to … Software Development client-server java | |
hello i have got little problem :) create a c program which starts with 3 processes the first proccess generates 50 random numbers and writes them inti common memory. the second proccess reads them and whrites the even numbers in file A,the odd numbers in file B. [CODE]#include <stdlib.h> #include … Software Development c | |
Hi list, After creating a rs with UNION ALL two tables it's possible know record by record the original table source (using any extra SQL feature or something else) SQL = "SELECT * FROM tabA UNION ALL SELECT * FROM tabB ORDER BY field" Set rs = db.OpenRecordset(SQL) Thanks Fernando Software Development visual-basic | |
.,what is the best tutorial to know on how to insert an audio in my java program... -any advice is highly appreciated... alpe:) | |
Hi I was making a program that tried to open firefox like this: [code] exec file('C:\\Program Files\\Mozilla Firefox\\firefox.exe') [/code] but i get an error [icode] exec file('C:\\Program Files\\Mozilla Firefox\\firefox.exe') File "C:\Program Files\Mozilla Firefox\firefox.exe", line 1 SyntaxError: Non-ASCII character '\x90' in file C:\Program Files\Mozilla Firefox\firefox.exe on line 1, but no encoding … Software Development python | |
I'm trying to write a file that first decides if a number entered is prime or not, then if it is writes it to a file. Here's what I've got, but I keep coming up with a couple errors that I can't figure out how to fix. One is that … Software Development file-system java | |
Hi, I am trying to convert a Big Endian data file to something readable on most Windows PCs. I do ok with integer data but I cannot convert the floating points (32-bit IEEE). 1) Is it possible for a BinaryReader to account for Big Endian, such that .ReadSingle() would return … Software Development | |
I have the tutorial running with a entire database displayed. I am working with the tutorial at: [url]http://www.netbeans.org/kb/articles/mysql.html[/url] The above tutorial creates a jDesktopAPP. with components bound to the table. I am trying to add a button (basically). I am in the process of understanding binding. the program loads with … Software Development java java-netbeans oracle | |
Hi .. I am porting an audio codec on to MIPS processor... Can u give me the better optimization techniques in MIPS. I am using MIPS 24Kec (Release 2).... | |
this is the sample program of selection sort, which is given the value. But, how to call the value from read file? anybody knows? [ICODE] #include <iostream> using namespace std; void selectionSort(int *y,int n)//selection sort function { int i,j,min,minat; for(i=0;i<n;i++) { minat=i; min=y[i]; for(j=i+1;j<(n);j++) //select the min of the rest … Software Development c++ | |
i've create a program that contain a 4 textbox and three action button. the textbox are used to fill user name, date of birth, hobbies and number. while the action button are submit upadte and clear...all of this are working perfectly..i also manage to store all the data entered by … Software Development vb.net | |
Given the declarations: int n; char ch1; char ch2; and given that n contains a two-digit number, translate n into two single characters such that ch1 holds the higher-order digit, and ch2 holds the lower-order digit. For example, if n=59, ch1 would equal '5', and ch2 would equal '9'. Then … Software Development c++ | |
i have a program running with lot of system.out.println statements.. i want to display this in a javaframe...can anyone tel me the steps to go abt it | |
PLEASE I NEED SOME ONE THAT CAN GIVE ME A FULL TUTORIAL ON C# AND ALSO ON DATABASE MY EMAIL SI <email removed> MY PHONE NUMBER IS <phone number removed> REGARDS AYOMIDE ALUKO Software Development | |
I have a feeling this question might be a no brainer to all you. But is it possible to convert a string object to an istream obj. Because what I need to do is read the string expression and then calculate it using the "read_and_evaluate(istream&)" method in my if else … Software Development c++ | |
[code]#include <iostream.h> #include <string.h> #include <vector.h> #include <fstream.h> using std::string; using std::vector; void function(vector<string>&fn,vector<string>&fnum,vector<string>&ln,vector<string>&lnum); void main() { ifstream fin,f2,f3,f4; //First name input vector <string> fname(25); fin.open("firstname.dat", ios :: in); for( int i= 0;i<25;i++) fin>>fname[i]; fin.close(); //Second name input vector <string> fnum(25); f2.open("firstnum.dat", ios :: in); for(int i= 0;i<25;i++) f2>>fnum[i]; f2.close(); … | |
I have this code that opens a Form. This code does work but if I just close the Form that did open with this code and press the button5 again, I will have an Errormessage: [B]"Cannot access a disposed object. Object name: ´Form2´."[/B] But if I change: this->form2instance.Show(); to: this->form2instance.ShowDialog(); … Software Development c++ | |
I have a Form witch scrollbars that is called Form2. Is there any way to programatically go to the top of the Form without having to scrollup with the mouse ? So if you have scrolled down to the end of the form. Is it possible to press a button … Software Development c++ | |
Hi guys, I was wondering if I could get some help on the topic of recurrsion. A week ago i was told to create a application using nodes. this week I need to convert the reverse_list fuction I made below into using recursion. any help would be great thanks. not … Software Development c++ linked-list | |
i am some what new to java so i am not really familiar with all the errors and such but i am getting one that says this: [CODE]Exception in thread "main" java.lang.ClassCastException: lab8ab.EmployeeAryApplicEx cannot be cast to lab8ab.EmployeeMultiTypeSeqFileExer at lab8ab.EmployeeMultiTypeOpenListener.<init>(EmployeeMultiTypeOpenListener.java:22) at lab8ab.EmployeeAryApplicEx.<init>(EmployeeAryApplicEx.java:115) at lab8ab.EmployeeAryApplicEx.main(EmployeeAryApplicEx.java:43)[/CODE] what does that mean? the program … Software Development java | |
I haven't been on the forums for over like 20 days because I have been busy with things, and then my internet died. Not that anyone cared, but I'm just saying this so Vmane won't think that I just copied his code solution and ran away if he stumbled upon … Software Development app-store c++ data-structure ios open-source | |
Once again I have found myself stuck on another problem in assembly langauge because it owns me. I am trying to write a program that uses the Bubble sort algorithm but to make things challenging I am required to use Local Variable. And that must be based off of this … | |
Hi i have a CSV file that looks something like this: Name ASX_Code Date SharePrice ACACIA RESOURCES AAA 19990630 1.75 ACACIA RESOURCES AAA 19980630 1.72 ABSOLUTE RETURN FUND UNIT AAB 20040625 0.9 ABSOLUTE RETURN FUND UNIT AAB 20030630 0.85 AUSTRALIAN AGRICULT. AAC 20070629 2.95 AUSTRALIAN AGRICULT. AAC 20060630 1.935 AUSTRALIAN … Software Development python | |
Hello everyone. I had a quick question. How can I go about setting constraitnts for a JTextField. I'm trying to not allow users to enter any non numeric numbers, except for dollar signs, commas and periods. Also how can I restrict a JTextField to only allowing two numbers to be … Software Development java | |
Hello Everyone, I'm new to the forum, currentely I'm taking the basic C++ class and struggle through, it has been over 20 years since write any codes. I have some trouble with the code below, it work fine if I don't bother to check for leap year, but the assignmnet … Software Development c++ | |
I am designing a small, commercial website that requires an administration page where the owner can upload photos and update the inventory table. It was coming along just fine until I found out, by brute force, that Dreamhost does not allow a PHP script to execute the Image Magick commands … Software Development python | |
hi, i have a problem with my form so i have a form with windowstate = maximized now there is a button in that form that if i click on, a new form will be opened. so the problem is that if the new form has been opened and i … Software Development visual-basic | |
[CODE=C++]struct gydytojas { int gydid, amzius, specialyb, telefonas, asmkod; String vardas; String pavarde; String adresas; friend ostream& operator<<(ostream& os, const gydytojas& obj) { os << obj.vardas.c_str() << obj.pavarde.c_str() << obj.adresas.c_str() << obj.gydid << obj.amzius << obj.specialyb << obj.telefonas << obj.asmkod; // Print the members to os like you would to … Software Development c++ | |
Whenever I open a page with urllib or urllib2 (file = urllib.urlopen(urllinkhere)) and when I print it, I get this: [IMG]http://i121.photobucket.com/albums/o229/Shadow14l/boxes1.gif[/IMG] See all the square boxes? Unknown characters or something... Well they are and represent the returns (new lines). If I saved this to a text file, all the boxes … Software Development open-source python | |
Hi I am using Visual Basic Developer 2005 I have this simple code that will delete all files created before today in the specified folders. The code works fine but I get an exception problem when the fso object deletes the files ie at fso.DeleteFile(file) inside the second For loop. … Software Development vb.net visual-basic | |
I am running this loop where I am substr a vector like below and then ´creating´ a new string "NewData" that I will pushback in a new vector. The thing is that I got an Error message when running this code but if I instead change these 3 lines to … Software Development c++ | |
I would like to ask whether pointer dereference by typecast is same in both cases: [CODE=delphi]TComponent(my_tfplist[1]).mymethod[/CODE] and [CODE=delphi] TComponent(my_tfplist[1]^).mymethod[/CODE] both things are doing the same thing (at least it behaves so), but compiler generates different code, so i'm curious what is the difference between those two. to clarify: my_tfplist is … | |
There's a function that repeatedly shows up in languages, usually with more or less the following form (Python syntax): [code=Python]var1 = raw_input("Input a number between one and three.") choose var1: case "1": print "You inputted one." case "2": print "You inputted two." case "3": print "You inputted three."[/code] Or something … Software Development python ![]() | |
Hi all , I'm trying to display currency in Indian format but I'm getting question marks symbols instead of digits . Please tell me how to sort out this problem . Thanks in advance Software Development java | |
Hi Guys! I am trying to make a simple and very basic Database in Python. Something, like a small agenda with contacts. I make a dictionary within the script and I was trying to update that info with new Input data. The problem is that I am not sure I … | |
i m getting this error. but i couldnt identified where i have gone wrong. could someone explained, normally in which situations this type of error occurs. Error 1 error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>' c:\program files\microsoft visual studio 8\vc\include\sstream 513 Software Development c++ microsoft-access visual-studio | |
how do you find the smallest and largest number of 3 numbers without using logical operators and else statement only if and relational operator ? is there any other way without checking every variable against each other using if statements ? Software Development c++ | |
I am wondering about this if I had a program that contained this: if (0 <= X and X < 49) output "you fail" What will be printed if the input is 0? would it say you fail? I was thinking it was worded wrong and it should read:if (0 … Software Development c | |
Hi just wonderin if anyone can help with my GUI, I got this far, but want to have an image on the background of the main app, and also the buttons. Ive read through vegaseat's script which he helped someone on here, but somehow I can implement his code into … | |
I have tried eveything to count the reccurrence of just the word hello. I open a file and can count the words in the textbox but can't count just the on word that i want. Please help with this problem. thanks Software Development c++ | |
Euhmm Ok i got some error that tells me that i can't open the program because there some error in my syntax but I really don't know where is the problem it self. #include <iostream> #include <iomanip> #include <cmath> #include <fstream> using namespace std; void voircatalogue(fstream&); void ajoutitem(fstream&); void ajoutclients(fstream&); … | |
Hello everyone, I want to use javax.comm to do serial cable communication on Linux platform. Currently, I can not find enough learning materials (tutorials and samples) from searching the net. Could anyone help to recommend some good ones? thanks in advance, George Software Development java | |
ok in what way do you separate the digits from a given int ?? like if the int is 987987 how do you separate them in to 9 8 7 9 8 7 ??? is there any function to do this ? Software Development c++ | |
Hi friends can any body tell me how can i move a whole statement matching with the search string to a new file in C# any help is appreciated please... Software Development c# | |
[code] void firstClass(int f); void businessClass(int b); void coachClass(char typeTicket); int main() { char type; cout<<"Please enter your which class you want to fly. (f=firstClass, b=businessClass, c=coach)"; cin>>type; cout<<endl; //bad data check while (type != 'f' && type != 'F' && type != 'b' && type != 'B'&& type != … Software Development c++ | |
I am usually not keen for asking for help in these kind of situations but I am really stumped when it comes to this, all I really need is a good step in the right direction and I should be (hopefully) fine. I am currently writing an airplane seating program … Software Development file-system visual-basic |
The End.