132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sathish1990

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
Member Avatar for kinwang2009
0
101
Member Avatar for utkarsh009

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++
Member Avatar for Ancient Dragon
0
80
Member Avatar for Jixz

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++
Member Avatar for Ancient Dragon
0
137
Member Avatar for sakthi@daniweb

[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
Member Avatar for planetmirchi
0
171
Member Avatar for effizy

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++
Member Avatar for effizy
0
127
Member Avatar for mike42intn

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++
Member Avatar for Akill10
0
148
Member Avatar for ncstplaya1234

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
Member Avatar for ncstplaya1234
0
3K
Member Avatar for NewOrder

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
Member Avatar for adams161
0
135
Member Avatar for Synthuir

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
Member Avatar for lllllIllIlllI
0
237
Member Avatar for aspro648

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
Member Avatar for woooee
0
186
Member Avatar for |hex

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++
Member Avatar for Akill10
0
85
Member Avatar for Sky Choi

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
Member Avatar for TrustyTony
0
632
Member Avatar for Inês

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
Member Avatar for mitchems
0
424
Member Avatar for fernandofranca

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
Member Avatar for fernandofranca
0
174
Member Avatar for NH1

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 …

Member Avatar for Lusiphur
0
153
Member Avatar for Simplelyn

Can somebody help me what to do to place tables in gui?

Software Development gui java
Member Avatar for brandonrunyon
0
64
Member Avatar for zachattack05

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 …

Member Avatar for Diamonddrake
0
109
Member Avatar for jackparsana

hi, How to find Date Differance in c#. in vs2008. thanks in advance. jack

Software Development c#
Member Avatar for ddanbe
0
194
Member Avatar for Jazerix

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
Member Avatar for Lusiphur
0
357
Member Avatar for Xorlium

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++
Member Avatar for mrnutty
0
232
Member Avatar for arnas

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
Member Avatar for arnas
0
233
Member Avatar for madhub2v

i am using turboc c++ compiler .how to initialize the graphics drivers .pl let me know.

Software Development c++ image
Member Avatar for daviddoria
0
136
Member Avatar for cbowen12345

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
Member Avatar for snippsat
0
110
Member Avatar for Jsplinter

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 | …

Software Development c++ ios
Member Avatar for Jsplinter
0
2K
Member Avatar for lgriess

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 …

Software Development dataset sql
0
69
Member Avatar for ryan461

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
Member Avatar for ryan461
0
289
Member Avatar for codeFaceMcGee

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
Member Avatar for codeFaceMcGee
0
623
Member Avatar for k-chi

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
Member Avatar for gusano79
0
118
Member Avatar for notmasteryet

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 …

Software Development c++ puzzle
Member Avatar for Lerner
0
285
Member Avatar for shelly1234

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
Member Avatar for Yamachi
0
146
Member Avatar for julianfr

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
Member Avatar for Momerath
0
98
Member Avatar for Jaydenn

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
Member Avatar for CloneXpert
0
92
Member Avatar for fernandofranca

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
Member Avatar for fernandofranca
0
149
Member Avatar for starlight849

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
Member Avatar for G_Waddell
0
220
Member Avatar for hsquared

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++
Member Avatar for Narue
0
121
Member Avatar for Peter_morley

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
Member Avatar for Peter_morley
0
115
Member Avatar for Peter_morley

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++
Member Avatar for Peter_morley
0
455
Member Avatar for Qazinix

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 …

Software Development delphi pascal pdf
Member Avatar for Wolfgan
0
334
Member Avatar for fernandofranca

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
Member Avatar for fernandofranca
0
92
Member Avatar for malvi

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
Member Avatar for malvi
0
230
Member Avatar for Lukezzz

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++
Member Avatar for kavitababar
0
171
Member Avatar for cableguy31

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++
Member Avatar for cableguy31
0
215
Member Avatar for problematic:)

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
Member Avatar for PoisonedHeart
0
224
Member Avatar for dennis.d.elston

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
Member Avatar for litsluv
0
247
Member Avatar for vinay1424

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
Member Avatar for stultuske
0
116
Member Avatar for Mariandi

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
Member Avatar for crapulency
0
216
Member Avatar for cleve23

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 …

Software Development c# python
Member Avatar for snippsat
0
496
Member Avatar for Naveed_786

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
Member Avatar for Naveed_786
0
52
Member Avatar for Suzie999

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
Member Avatar for Suzie999
0
192
Member Avatar for ftl25

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
Member Avatar for gerard4143
0
233

The End.