132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for noey699

this should b realitivly easy to answer but i need to know how to ask a use for an address to a program (example C:\Program Files\....) then have C++ open it up. all i really need to know is the code required to open the program (the programs intended to …

Software Development c++
Member Avatar for Salem
0
176
Member Avatar for amit chaudhary

hi, can any one help me ,i want to access pc serial port through c++ or vc++ built in classes

Software Development c++
Member Avatar for Salem
0
111
Member Avatar for scapu

Please i am not getting flow and i am new to C++. Can any body help in this program. C++ program to convert an octal number to decimal and from decimal back to octal. [code=cplusplus] #include <iostream> #include <math.h> using namespace std; void octtodec(); void dectooct(); int main() { void …

Software Development c++
Member Avatar for William Hemsworth
0
102
Member Avatar for nse2008

Hi everyone , i am trying to fully uderstand the recursion method in vb but i still have problems in making the programs work, Can anyone help me to create a program that convert decimal numbers to binary numbers or point me to the right direction,I know that this can …

Software Development vb.net
Member Avatar for nse2008
0
108
Member Avatar for Venks

Hai I want to set my time to system in our application, how to set the time and to get the time?

Software Development java
Member Avatar for Ezzaral
0
97
Member Avatar for Jboy05

How do I write a C++ function void ShiftRight (int A[], int m, int n) to shift all elements in the array A to the right m places. Array A has n elements. For instance, if ARY array has {1,2,3,4,5}, calling ShiftRight(ARY, 2, 5) will change the contents of ARY …

Software Development c++
Member Avatar for Nick Evan
0
229
Member Avatar for komany

Hello. I need help with a thing. I have a file (sound file) I will send via controller area network and therefore can only send data about 8 byte or 8 vector as data [8]. This is sent away with the command sendfile () And I need help how I …

Software Development c file-system
Member Avatar for komany
0
333
Member Avatar for msantosh18

can anyone help me in the following problem. am having a table in MSAccess with 4 columns and these 4 columns should be added in a listbox. When user clicks a command button this list box with columns should open. the user views the lists box and select the required …

Software Development visual-basic
Member Avatar for debasisdas
0
87
Member Avatar for Thirusha

Hi I have a collection which is the resultset of a sql query. when i write out the collection (using system.out.println(col)) my collection is in the correct order. -- which is great. But when i iterate through the collection in order to populate my linkedhashmap, the items are inserted into …

Software Development java
Member Avatar for Thirusha
0
96
Member Avatar for Traicey

Assembly is one of the least langauges that I havent done, Have heard about it and its complications, but I neva get to know what do u use it for or in which areas does the language alone excel for example C++ is more suitable for games.... know what I …

Software Development assembly
Member Avatar for Traicey
0
78
Member Avatar for wollacott

the last for loop i declared it inside, which doesnt work as a c program its c++ i need to declare it out side how do i do that? [CODE] #include <stdio.h> #include <string.h> #include <ctype.h> // Our function declaration saying it takes one string pointer and returns one string …

Software Development c
Member Avatar for Narue
0
182
Member Avatar for ok555

hi, i need help.. i have been working for about 4 hours trying to figure this out and im still lost.. the answer is probably simple but im new to c++ so please forgive me. off a site called informit, the following code is posted: [code] #define NELEMS(A) (sizeof(A) / …

Software Development c c# c++
Member Avatar for ok555
0
183
Member Avatar for mussa187

The command line parameters will consist of a DNS command and then a number of IP-URI string pairs, the dns command is always a single letter followed by a search string. A string pairs is always ip address then uri which must be placed in the dns store. these are …

Software Development c++ dns
Member Avatar for mussa187
0
140
Member Avatar for mussa187

The command line parameters will consist of a DNS command and then a number of IP-URI string pairs. The DNS command is always a single letter followed by a search string. A string pairs is always IP address then URI which must be placed in the DNS store. The example …

Software Development c++ dns
Member Avatar for mussa187
0
129
Member Avatar for lordx78

[code=Java] package midp.firstAid; import javax.microedition.lcdui.*; public class AboutCopy extends Basic { public AboutCopy() { super("About Product"); append("Copyright 2008\n " + "\n Nanthikesvaran\n" + "\n" + "This product based on Java Technology " + "to give and provide sufficient information " + "of a knowledge on First Aid.\n"+ "It's still under …

Software Development java
Member Avatar for lordx78
0
81
Member Avatar for krishnasaradhi

hi, i need the code to connect mysql through python programming language

Software Development mysql python
Member Avatar for BearofNH
0
198
Member Avatar for swapna7999
Member Avatar for swapna7999
0
99
Member Avatar for swapna7999

i need to generate an id card for that i need to display the details such as name etc which must be accessed from a mysql database and now i know how to connect to mysql database and use select statement but dont know how to display the data accessed …

Software Development visual-basic
Member Avatar for swapna7999
0
467
Member Avatar for swapna7999

how do i make my vb application an exe file

Software Development visual-basic
Member Avatar for Jx_Man
0
72
Member Avatar for deepanjali

How to show data horizontally in data reports by using vb6

Software Development visual-basic
Member Avatar for deepanjali
0
69
Member Avatar for bojanski

Hello everyone. First, i'd like to introduce myself, would be very rude to just jump in here :) I'm Bojan, student, 1. year, Croatia, and in this semester i've got a class "Programming 1". Here we're doing C++ (in Visual C++). And the idea of the class is to make …

Software Development algorithm c++ visual-basic
Member Avatar for bojanski
0
128
Member Avatar for DaMunky89

Hey everybody. I'm working on a project in which I need to at many points (279, to be precise) throughout the program set a registry to a certain value. Here's how I've been doing it; and R0, R0, #0 ; Set R0 to decimal zero. add R0, R0, #10 ; …

Software Development assembly
Member Avatar for ags123
0
325
Member Avatar for jdphenix

Hello. I'm a C++ newbie and am trying to make a functional console RPG game as a hobby project. The code I'm having a problem with allows the players to move through rooms, similar to an old text adventure game. I realize it's probably inefficient, but I've only been learning …

Software Development c++
Member Avatar for Agni
0
309
Member Avatar for Yellowdog428

OK so most can guess I am a student just now learning programming and starting out with C++. I have tried many compilers and IDE's and have settled on Eclipse for now. I do not want to start a What compiler/IDE do you use, but I am trying to figure …

Software Development c++ ide
Member Avatar for Yellowdog428
0
110
Member Avatar for hsma

#include <cstdlib> #include <iostream> #include <fstream> using namespace std; int main(int argc, char *argv[]) { string f, o, i, file_c, file_d; ifstream fin; ofstream fout; f = "in.txt"; o = "out.txt"; cout << "Input filename" << endl; cin >> i; file_c = i + f; file_d = i + o; …

Software Development c++
Member Avatar for hsma
0
145
Member Avatar for ankit_the_hawk

I have been trying to concatenate two strings declared in the form of pointers i.e. [CODE] char* chars; [/CODE] But the program crashes... Here is the code: [CODE] char *chars1="ankit"; char *chars2="sameer"; char *temp; int i; for(i=0;i<len;i++) { temp[i] = chars1[i]; } for(int j=0;j<len2;j++) { temp[i] = chars2[j]; i++; } …

Software Development c++
Member Avatar for Ancient Dragon
0
103
Member Avatar for jimJohnson

I was sick the day on our review for this programming assignment so I am in kind of a dillema with a jerk for a professor...What I am going to do is after each section show you guys what I have and I don't think I should have too many …

Software Development java java-swing programming-construct
Member Avatar for jimJohnson
0
185
Member Avatar for Phan

Hey, everyone, I am another student seeking help for a programming class. What I am having trouble with specifically is reading from a file. The program itself involves entering in some store products with information such as: product name, product ID, etc. After everything is entered, the program is supposed …

Software Development app-store c++ data-structure file-system ios
Member Avatar for vmanes
0
109
Member Avatar for wsn

Hi, I'm trying to make this code works but with no luck so far, I have two problems 1. I'm reading from a file lines and then executing them but the last line goes into an infinite loop 2. Another problem is I don't think I'm using "wait" properly as …

Software Development c
Member Avatar for wsn
0
101
Member Avatar for Kusno

Dear all, I have query like this : SELECT ID, NAME, BEGINNINGBALANCE FROM TRXBUDGET ORDER BY ID BEGINNINGBALANCE is numeric field type in MySQL. Jasper Report / iReport recognizes this field as String, when I change the field type to Double, raises error like these : net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. Cannot cast from String to Double value = (java.lang.Double)(((java.lang.String)field_BEGINNINGBALANCE .getValue()));//$JR_EXPR_ID=14$ <----------------------------------------------------------------> …

Software Development java
Member Avatar for Kusno
0
305
Member Avatar for severman

hi all i have this code and now i need to print it char yes and char no i.e.- the sentce is my-second-exercis and now i need to print it m-eod-xri how do i do that? then i need to print the first sentence backwords how do i do that …

Software Development assembly
Member Avatar for sDJh
0
153
Member Avatar for StepIre

Hi Guys, Sorry if this is so stupid but i just cant get it to work!! Basically if the user enters in a number of words: ------------------------------------ input: my name is i want output to be: mynameis ------------------------------------ or ------------------------------------ input: word one word two i want output: wordonewordtwo ------------------------------------ …

Software Development python
Member Avatar for sneekula
0
279
Member Avatar for jaasaria

hi guys... i have an urgent problem please give an idea about it.. Question#1: I want to know the correct date syntax in query database using MySQL... Question#2: I currenly using the MySQL connector/OBDC 3.51 is their any problem about it?? thxx in advance.... and ned asap reply... thxxxxxxxxxxxx guyzzzzz..

Software Development mysql visual-basic
Member Avatar for awny56
0
94
Member Avatar for nilesh03

My problem is that i've got an input file which contains information about universities, contains string, integer, floating points types also... Here is the first three lines of the file, how could i for example sort it by institution name?? Each column is separated by the tab character... Please help …

Software Development c++
Member Avatar for Ancient Dragon
0
109
Member Avatar for baku

I need some ideas: The called program gets as parameters two or more integers and and returns 0 if all pairs of two are relatively primes, and 1otherwise. The callee shall read a sequence of numbers and tell whether they two by tworelatively primes.

Software Development shell-scripting unix
Member Avatar for baku
0
64
Member Avatar for M1A1

fatal error C1083: Cannot open include file: 'winsock2.h': No such file or directory I'm using Visual C++ 2005 with MSDN. Can anyone help me figure out the problem? [code] Build Log Build started: Project: Login Server, Configuration: Debug|Win32 Command Lines Creating temporary file "c:\Documents and Settings\Matt\Desktop\eROSE2\Login Server\Debug\RSP00000160004664.rsp" with contents [ …

Software Development c++
Member Avatar for Darkkal
0
256
Member Avatar for gazoo

I have this little program that assign seat for ailine passenger, it's work, but I want to add so that it display the name of (passenger = seat number) so far I only got it to display the passenger name in the spot of that seat number. I try set_num …

Software Development c++
Member Avatar for gazoo
0
222
Member Avatar for dakrous

I'm really knew to this programming thing, and need a little help. My objective is to read data from a file like 2 2 0 0 wwdd 0 1 wwxd 1 0 ddwd 1 1 ddww I have read the file line by line, but I do not know how …

Software Development java
Member Avatar for dakrous
0
125
Member Avatar for ultimate_fusion

as above. e.g int[] array = new int[can be any size] joptionpane.showmessagebox(null, "what to put here is the question" "messageboxtitle" joptionpane.informationmessage}; //dont correct the message box crap i was in a rush i know how to do it e.g array 1 = 1 array 2 = 5 array 3 = …

Software Development java
Member Avatar for franchav
0
3K
Member Avatar for Nimz

hi every1 i also need help with my assignment im supposed to find the errors and explain how to correct it heres the program: //question 3a [code=cplusplus] #include <iostream> using namespace std; int main ( ) { int nrLuggagepieces; float mass, total mass; int averageMass; // initialize totalMass = 0; …

Software Development c++
Member Avatar for joshmo
0
104
Member Avatar for jimJohnson

I am working on a program with function files and I am not sure how to ask this so this might be kind of interesting. We were given an input file that I saved to my desktop. This is all I did with it and I am not sure if …

Software Development c++ ios visual-studio
Member Avatar for jimJohnson
0
146
Member Avatar for swapna7999

im getting an error while using Text1.SetFocus the error is invalid procedure call or argument i used this in the form load and i suppose it is used to bring the cursor in the textbox during form load

Software Development visual-basic
Member Avatar for boomba23
0
813
Member Avatar for anbuhikaru

So i'm a java student in 9th grade and my code gives me an error i have never encountered before... time is off the essence, so quick help is loved!: it says: Play.java:5: Play is not abstract and does not override abstract method keyReleased(java.awt.event.KeyEvent) public class Play extends JApplet implements …

Software Development java java-swing
Member Avatar for jasimp
0
160
Member Avatar for emilio

can i generate an exe file from my c# project so it can run on a pc without .net framework ? i tryed to use the exe file in the bin folder, it's not working even on my pc

Software Development
Member Avatar for emilio
0
90
Member Avatar for flash121

Hello, Lets say i have an edit control in my program. When i run the program i can write some text in it. How can i save/convert the text that was written in the control to a CString variable ?(it should be "saved" by clicking on a button)

Software Development c++
Member Avatar for mitrmkar
0
2K
Member Avatar for Gondt

the title describes the problem. here's how the code looks like: [code]#include <cstdio> class example { public: class node { public: int value; node *left, *right; }; node *root; example (int a) { root=new node; root->value=a; } // HERE'S THE PROBLEM: void function (node *variable=root) { } }; int main() …

Software Development c++
Member Avatar for Gondt
0
277
Member Avatar for georgioue

Guys hello, i`m a new member here [IMG]http://images.devshed.com/fda/smilies/smile.gif[/IMG] Hello to everybody...I need urgently help... I have an assignment for C++. "We have a collection of emails. This collection has emails from Linguist.org, these mails are legal. these are in a file called ling_filenames.txt. We also have a collection of spam …

Software Development c c# c++ email legal
Member Avatar for Ancient Dragon
0
143
Member Avatar for reena22

Hi all i just want to know where i can get any java program of about 1000 lines of code BUT it should be open source. looking forward to your help thanks

Software Development java open-source
Member Avatar for reena22
0
109
Member Avatar for saswatdash83

Can anybody tell that when Inline won't work though we have declared function as inline. i.e code replacement won't take place .

Software Development c++
Member Avatar for Ancient Dragon
0
108
Member Avatar for avi1109

Hello, i'm stuck with a problem on binary search. I need to compare a string with an array of type string. It is changing the position from which the string should be read but z compare is not successful. here's my code. Any help would be appreciated. thanks in advance. …

Software Development c++
Member Avatar for Ancient Dragon
0
138

The End.