132,726 Archived Topics
Remove Filter ![]() | |
hi am new to this site. please help me in creating this project. In this below application should not use Google map or any application with internet oriented. This is the project. when i open the program a location map needed to be loaded. i need a text box where … Software Development visual-basic | |
Will the older c++ commands (leaving that of conio.h) work with a new compiler like g++ if i use "using namespace std;" and use 'int' with main() rather than 'void' and don't use .h for including a header file? Software Development c++ | |
So Basically I have a 4 x 2 array of Chars* that I need sorted alphabetically by the first column only. The Array starting out looks like: [CODE] Choices[0][0] = "CCleaner"; Choices[0][1] = "Utilities"; Choices[1][0] = "SIW"; Choices[1][1] = "Information"; Choices[2][0] = "MalwareBytes"; Choices[2][1] = "Virus"; Choices[3][0] = "CCleanerx"; Choices[3][1] … Software Development c++ | |
[code=c] #include<stdio.h> #define scanf "%s is char" main() { printf(scanf,scanf); } [/code] the output is %s is char is char y it is so.. Software Development c | |
Sorry guys, am back again with another noob question and hoping someone is nice enough to help point me in the right direction.I've only began to learn this in the past couple of weeks so there is still alot am confused about. Really wish i didnt have to come here … Software Development c++ | |
im writing this program for an assignment and im getting errors can anyone help make some suggestions? i have to have the program print out balances for saver1 and saver2 then change the percentage rate then reprint [CODE]//header definition file for savings account #ifndef SAVINGS_ACCOUNT_H #define SAVINGS_ACCOUNT_H class SavingsAccount { … Software Development c++ | |
Hey guys, I'm trying to create a program that has three items and adds the cost of the three items and prints the final total with sales tax. I need a subtotal, sales tax, and total amount. I'm having a problem getting the program to calculate the quantity correctly and … Software Development java | |
i understand what the code does. but i dont understand a few lines: [CODE]package il.co; public class LinkedListEx2 { public static void main(String[] args) { LinkedList list=new LinkedList(); list.add(new Car("BMW", 150000)); list.add(new Car("SUBARU", 60000)); list.add(new Car("TOYOTA", 58000)); list.print(); } } class LinkedList{ private Unit head; public void add (Car data){ … Software Development java | |
So I'm writing a bit of code for use in an IRC bot. I tried to use scheduler to get around the barbaric-ness of calling time.sleep() every time I want the bot to delay for a few seconds. In scheduler you can choose the delay function "for example time.sleep()"-- but … Software Development python | |
I really must have a general misunderstanding of import and global. I'm trying to call a function in an imported file and reference a variable. file1.py [code] from file2 import * x = 6 file2Funct() [/code] file2.py [code] def file2Function(): print x [/code] executing file1 give the following error at … Software Development python | |
im having trouble pin-pointing why my loop continues to execute infinetley. can someone point out what im doing wrong in my dowhile loop? [code=cplusplus] #include<iostream> #include<string> using namespace std; int main() { string command; char again; do { cout << "Welcome to the Intrepeter!" << endl; cout << "Please feel … Software Development c++ | |
I'm trying to make program using Google 5gram data to compare with one of English exam called TOEIC. There are 118 files for 4grams and each size of 4grams are approximately 300MB and each files has 10,000,000 lines. So, here is the point. It requires about 4 or 5 seconds … Software Development file-system python | |
Hello! I need help whith perl. I have 2 files, i whant to open them compare une colun and if they iqual i whant to write at the 1ª file some coluns of the secund file. Exemple: File 1 2; apartamento; T2; manuel; 120.000€; Activo 4; moradia; V4;José; 250.000€; Suspenso … Software Development perl | |
I have the following funtion in my ComboBoxControl class, and it only returns to me the control of the comboBox. The foreach works fine but my problem is how to return the ComboBox, becuse if the ComboBox doesn´t exists I need to return NULL or something else. How can I … Software Development | |
i get an error when i try and do this. [code=c] private void button2_Click(object sender, EventArgs e) { DataSet ds = new DataSet(); DBconnect db = new DBconnect(); Global.GlobalVar = textBox1.Text; string Co = new Password('J', textBox1.Text).SetSql(); ds = db.GetDataSet(Co); DataTable dt = ds.Tables[0]; if (dt.Rows.Count == 0) { if … Software Development data-protection dataset programming-construct | |
Can somebody help me what to do to place tables in gui? | |
I have been reading through a rather lengthy Microsoft document regarding UX (User eXperience) design and standards. There are many great suggestions that I have started to adopt. But something occurred to me last night while working on my solution and I wanted to solicit some ideas and possibly have … Software Development database-design microsoft-access microsoft-office microsoft-windows wireless-networking | |
hi, How to find Date Differance in c#. in vs2008. thanks in advance. jack Software Development c# | |
Hey there, so im making a calculator to make my life a little bit easier ^^ so far its working well, I just got one problem o.O! If I enter a number with a comma like 0,5 into one of the textboxes and click calculate it will terminate, what can … Software Development | |
Hi, If I have a std::vector of objects and I need to iterate through all its elements, is it faster to do: [code] for (vector::iterator i = myvec.begin(); i != myvec.end(); ++i) //blah [/code] or [code] for (int i = 0; i < myvec.size(); ++i) // myvec[i] blah [/code] Or … Software Development c++ | |
I have a problem referring to Geometric progression Using a few mathematics formula I have to compare the value En that I calculate using Sinfinite and Sn. This value En(which determines accuracy of the calculated number I believe) should than be compared to an arbitrary value E. When En becomes … Software Development c mathematics | |
I am using python code to transmit data collected (Wii Nunchuck) via I2C wirelessly to another wireless node and then display the information about button press and also roll, yaw and pitch (X,Y,Z) data. The code uses Wx python for frame/window display. Part of the code was copied from the … Software Development python | |
I have data stored in a deque that I wish to write to disk using fstream. So far this is the test code I have written. [code] int j = 10000; deque<double> m_data; for(int i = 0; i < j; i++) { m_data.push_back(i); } std::fstream myfile; myfile.open ("data2.bin", std::ios::out | … | |
This seems to be the appropriate thread to post my problem in: I'm also trying to bind to a ReportViewer object, however I'm not binding a stored procedure but dynamic sql that selects <dynamic columns> from <dynamic views or tables> nice huh? My boss has fallen in love with the … | |
The idea here is I want the initial hash to be run into the child function, have changes made, send the changes back to the parent. Then send the changed hash into the child for more changes to take place. I've been making a poker program to help me learn, … Software Development perl | |
I know that it's a very undesireable scenario, but I need to create a database straight from java code. Yes, a database. Not a table. A database. The database will be dropped at the end of the program and will never be directly touched by the user, so all I'm … Software Development java | |
Need Help to fix this code because I can not find the errors so they can read successfully. Pila SEGMENT STACK ;Segmento de pila DW 64 DUP (?) Pila ENDS Datos SEGMENT ;SEgmento de datos Filename db 'C:\Tasm\BIN\Prue.txt',0 FHndl dw ? msjFrase db 13,10,"Escriba la frase:$" ERRORS db 13,10,"Error con … Software Development assembly file-system | |
I'm trying to solve a cryptarithmetic puzzle TOO + TOO + TOO + TOO = GOOD using a program. My solution to this, is to use a nested loop for each unique letter (in this case T, O, G, D). The loops would systematically assign the digits from 0-9 to … | |
Hi all, Need a little help!!! I want to create an windows application such that there are 2 forms: form1 and form2 i want the form2 to be in background of form1 and form2 should be never seen(even when form1 is minimised,maximised,resized and if some other application is opened). code … Software Development html-css | |
Hi I have the following file : AH00010056445 AD20100428 0000250000000000 AD20100429 0000014521201000 AD20100501 0000000037600000 AD20100501 0000004892201000 AH00023603803 AD20100421 0000005000001000 AD20100512 0000002000001575 AD20100514 0000015000000800 AH00334945698 AD20100426 S0000039566700000 AD20100519 0000002892201350 AH denotes an account header (the number refers to a specific account) while AD refers to the detail of that specific AH. … Software Development | |
Basically, I'm working on a GIF animation creator, all is going well, I just don't know how to move items. For example: I select image 1 and move it to image 0's position, and when I drop it over image 0 it will move image 1 to image 0's position. Software Development listview | |
Hi all, Is there a better way of doing this, I googled it and found de IsNumeric, but it´s for VB and not recommended for C#. Let me explain: I have a string like "something123" and I need to get only the 123 value as a string from the string. … Software Development | |
Hello and thanks for any help you may offer me in advance. I using vb.net vs2008. I have a datagridview and two datatables. I am comparing the information in the two datatables. Now, if the data exists is datatable2 but does not exist in datatable 1 I would like to … Software Development vb.net | |
ive implemented a couple of functions for an assignment for class. i have an add function which adds students, id's, and universitys and have "tried" to add a get id function which should search the list, find a specified id, then return it. unfortunately, when i try to run this … Software Development c++ | |
Hi at this part of the code at the default constructor codedateInception = 0; dateDeath = NULL: location = 0; I get errors and I know its because they are of a class. I don't know how to set it up to have values. Any help? Header File [code]#ifndef ACTOR_H_ … Software Development c++ file-stream | |
Hi basically my problem is that I am getting what I believe to be is the address of the object but I want to get the value that is stored in the object. Below is the code I wrote. I've included Date.cpp and my main function file. Say if I … Software Development c++ | |
I'm writing a program to keep record of my e-books and to open them. I have a record declared in Delphi 7 like this. [CODE]BookLibrary = record AuthorName: String[20]; BookName: String[20]; PDFLink: String[200]; end; [/CODE] Now my question, is it possible to edit a record later on so that one … | |
Dear all, I have a form with 36 comboboxes, and I use this fucntion to update them: [CODE] private void controlBox(string boxName) { foreach (Control frmControl in this.Controls) { if (frmControl is ComboBox) { if (frmControl.Name == boxName) { ComboBox _bx = (ComboBox)frmControl; _bx.Items.Clear(); _bx.Enabled = true; _bx.Items.Add("It Works!"); } … Software Development | |
Hello.. I am using visual studio 2010 MFC. in my programm i need to set 4 bit value in hex. exaple: i have hex value 64, it should desplay 0064 A = 000A 3E8 = 03E8 Is there any function in vc++, which set 0 ? Thanks. Software Development c++ visual-studio | |
How is it possible to get the Exception Error as a string in the catch event ? The thing is that I get an exception and now want to know what the problem is and what the exception is saying. [code] try { //some code } catch(Exception ex) { //How … Software Development c++ | |
I'm writing a program that parses tcpdump output files. I have a tab delimited text file that contains MAC addresses and hostnames. How can I have the program search this file for a MAC address and then return the corresponding hostname? Any help would be appreciated. Thanks. Software Development c++ | |
hi! well, i'm just a beginner in visual basic and i have this problem in coding the calendar control. I want to reserve the dates and store it on a database. so when there will be another reservation, i can easily know if the date is already taken. I don't … Software Development visual-basic | |
Hello everyone, I am currently in a C class and I am having trouble with the following exercise. I have started but I am stuck, can anyone help? You are developing a database of measured meteorological data for use in weather and climate research. Define a structure type measured_data_t (which … Software Development c data-structure | |
Actually i m doing constructor implementation.But i am new to java, can any tell what going on from line 11 to 14.I am having problem in understanding the bold in line 12 and line 13.Plz help..... 1. public class Animal { 2. String name; 3. Animal(String name) { 4. this.name … Software Development java | |
I'm trying to create a smal paint component( similar to MSpaint but not the same thing) in vb.net. I have a panel that holds the background image and a picturebox over the panel that I draw on. I'm using graphics to draw shapes and I have my own custom double … Software Development social-media vb.net | |
Hi all, What tool can i use or what ways can i deploy to allow me to combine c# with python or vice-versa. Please let me know of any tools or way which you all had done it before because i had serch quite alot but i still cannot make … | |
Hi guys, I want to retrieve a report between two dates i want to sort out report by passing the values for one column i.e PaymentDate. Please please help. Software Development vb.net | |
I wonder if I am missing something? Everytime I dotfuscate a project its just exactly the same as the origional. I use visual studio 2010, but dotfuscate seems to have some options unavailable. I've read some tuts, "Point the program at the executable" etc... What could I be doing wrong? Software Development visual-studio | |
Hi, Can anyone advise on how I can convert a string to a hex string? [B](And subsequently perform an AND operation on two hex strings.)[/B] I have a string value passed in (e.g., 1006), and I want to turn that into hex (0x1006). I have tried the following: [CODE] [B]// … Software Development c |
The End.