132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
hi, can any one help me ,i want to access pc serial port through c++ or vc++ built in classes Software Development c++ | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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) / … | |
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 … | |
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 … | |
[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 | |
hi, i need the code to connect mysql through python programming language | |
how can i retrieve photo saved in a folder Software Development visual-basic | |
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 | |
| |
How to show data horizontally in data reports by using vb6 Software Development visual-basic | |
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 | |
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 | |
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++ | |
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 … | |
#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++ | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 … | |
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 | |
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++ |
The End.