132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TeCNoYoTTa

hello all i want to know the proplem with this program and first ........ can i write a string object to a file normally like other objects ?? this is the code ......the program writes the file but it can't read it again [CODE=cpp] #include <iostream> #include <fstream> #include <string> …

Software Development c++ ios
Member Avatar for TeCNoYoTTa
0
84
Member Avatar for Spartan552

Hi everyone ! Im using Eclipse with CDT (C/C++ Developpement Tools). I often get this error message when starting Eclipse : "An error has occured. See the log file /home/usr/workspace/.metadata/.log" then it close. Here is the full log : [QUOTE]!SESSION 2008-07-04 10:17:06.950 ----------------------------------------------- eclipse.buildId=M20080221-1800 java.version=1.5.0_14 java.vendor=Sun Microsystems Inc. BootLoader constants: …

Software Development c++ ide session
Member Avatar for Salem
0
165
Member Avatar for shriagni

how can i convert string os size[10] to float. also i cannot use atof or sscanf. im asked to use bitwise or anyother methos which will take less processiong time. is there anyway. thank you

Software Development c
Member Avatar for Prabakar
0
279
Member Avatar for esy928

Greetings! I was given a task yesterday to constuct a table like this: 5 4 3 2 1 4 5 4 3 2 3 4 5 4 3 2 3 4 5 4 1 2 3 4 5 using loops and only loops. I've been trying to solve this for …

Software Development java
Member Avatar for javaAddict
0
121
Member Avatar for solaf_111

hello i programing the code && design the interfaces then , connect the programing with db "store the results in db" then connect the db with interface and appeare the results on edit boxes in the interface now , we want excute the programing code when click specific button .so, …

Software Development c++ user-interface
Member Avatar for mitrmkar
0
170
Member Avatar for kselvakumar_82

JSP Scenario: Login page containing user id and pwd text boxes, each having a key boad button (onclicking the key board button will take to key.jsp where the user can input values in text box) The keyed value in key.jsp text box should be returened to login.jsp in corresponding to …

Software Development java
Member Avatar for kselvakumar_82
0
137
Member Avatar for diasmvds

If anyone has an idea how to draw a dashed line using Java?? Graphics class seems to be not support a function for this. Thanks

Software Development java
Member Avatar for sanaulla123
0
2K
Member Avatar for rob_xx17

hello, I think I have a rather straightforward problem, but I'm relatively new to C. I have an input file that looks like this: [code] 0.682448 0.53791 0.61727 0.48714 0.297144 0.29688 0.40549 0.68233 0.426100 0.62057 0.25095 0.54782 0.673007 0.51040 0.25476 0.35149 0.641339 0.49815 0.54557 0.42673 0.268030 0.38949 0.48841 0.56580 ... …

Software Development c
Member Avatar for Prabakar
0
126
Member Avatar for arupa

write a programme to enter a number bteween 1-9 and shows like, if entered number is 5 then it shows like 1 2 1 3 2 1 4 3 2 1 5 4 3 2 1 and also like this 1 1 2 1 2 3 1 2 3 4 …

Software Development
Member Avatar for jeenujoy
0
82
Member Avatar for stephen3200

I am currently experimenting with function pointers as part of a larger project. Drawing from both online sources and textbooks. The problem however is that after storing the values as an array, when i call them the functions either fail to be called, or if i attempt to print the …

Software Development c
Member Avatar for stephen3200
0
110
Member Avatar for Aamit

Hi...i m new to java.... problem defination:--- Book store is basically a collection of variety of books. Store has various sections like art, world history, literature technical, and so on. All books are categorized in to one of these sections. User should be able add/modify/remove sections and books. On selection …

Software Development java
Member Avatar for javaAddict
0
73
Member Avatar for elfranger

All, I am trying to write me an application using visual studio 2005. My back-end database for the application is mysql. I've found some code examples online and been able to get it working with both reading from the database and writing to it. However, the examples I find does …

Software Development mysql vb.net visual-studio
Member Avatar for elfranger
0
74
Member Avatar for alexutza_r_m

Hi, everybody! I am new to this forum. I have a problem with an oriented weighted graph, more precisely, I have to find the shortest path between 2 nodes, but this path should pass through a given intermediary node. For example, I have a graph with 5 nodes, namely A, …

Software Development algorithm
Member Avatar for alexutza_r_m
0
119
Member Avatar for Shilpa Jain

Hi all, I am generating a report in flexgrid. I need to copy this data in excel and attach the excel sheet in the outlook so that the mail can be send. Outlook will be opened on a button click. I am able to open the outlook but unable to …

Software Development visual-basic
Member Avatar for Shilpa Jain
0
101
Member Avatar for raul15791

Hi, I'm having problem with the usage of File::Find Module. What i'm trying to do is to browse through two directories and put all the files into two arrays respectively (each array for each dir). I just cant use the "find" twice... An error message will be shown: [icode] Use …

Software Development file-system perl
Member Avatar for raul15791
0
154
Member Avatar for megazear7

Is it posible to delay the program for a certain time period. I know in blitz basic you could type "delay 5" and at that spot in to the program theere would be a 5 second delay when you run it. Can you do that in Python???

Software Development python
Member Avatar for mengqing
0
487
Member Avatar for k.wiseman

I'm still grappling with the concept of passing parameters and returning responses. See code below: [CODE]#Measurement Converter # Converts Common Chinese Units of Measurements (Practicing function return) # Convert "cun" to "inches" def cun_to_inches(cuntoinchesQ): cuntoinchesUR = None while cuntoinchesUR == None: cuntoinchesUR = float(raw_input(cuntoinchesQ)) cuntoinchesUR *= 1.31 return cuntoinchesUR # …

Software Development python
Member Avatar for k.wiseman
0
123
Member Avatar for agent7

Private Sub btnedit_Click() Dim a As Variant Set conn = New ADODB.Connection strConn = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=SPUM;Data Source=(LOCAL)" conn.ConnectionString = strConn conn.CursorLocation = adUseClient conn.Open 'lblindexid.Caption = rs!Indexid strsql = " Select * from ES_otherSchools where Indexid = '" & lblindexid.Caption & "' " Set rs = conn.Execute(strsql) …

Software Development open-source visual-basic
Member Avatar for agent7
0
94
Member Avatar for programmer321

[code] Hello, I need to create a shell script to telnet to a remote server. Perform some action and then exit from that server. I am trying with a dummy script: #!/bin/bash telnet 172.11.11.21 8101<dummy.txt exit The dummy.txt contains the password. The script is not working with the port number. …

Software Development shell-scripting
Member Avatar for eggi
0
207
Member Avatar for skatamatic

Ok. Originally I was trying to write a program that would calculate pi to infinite decimal places. The calculus baesd algorithm I made for this is flawless, except that C++ can only handle 16 digits! So I did some looking around, for libraries and what not, to find something that …

Software Development algorithm c++ ios
Member Avatar for VernonDozier
0
153
Member Avatar for vickypat

hi everyone, I am not a software kid that much but after getting fail from all books, im here for help. I am trying to read data from a device like monitor with a screen like calculator. It is connected with its main unit with 15 pin serial port like …

Software Development open-source visual-basic
Member Avatar for vickypat
0
164
Member Avatar for eranga262154

Hi all, I want to create a Java product developer. That means a tool to update an existing version of an application automatically. You guys/gals have any idea. If you know any example regarding that, please put a link here to see. I really appreciate that. Thanks a lot. :)

Software Development java
Member Avatar for eranga262154
0
125
Member Avatar for solaf_111

when i read from file1 then write to athor file2, file 1 writen on file 2 but if file 2 contain lines more than file 1 ,this lines stay in the file 2 don't empty the file2 then write on is there any solove to this problem?

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
63
Member Avatar for all blacks

I wan to read from multiple files and write into 1 file....the fuse_cortex_header_r function will read a file and then break the file into several file which only consist of classes...for fuse_cortex_header_w file, i would like to read all the files which have been writen by previous function and write …

Software Development c++ file-system ios
0
93
Member Avatar for newbiecoderguy

I want this program to calculate an actors age at the time a movie they made was released, the user inputs all the data... I dont know C just learning but this is the layout I thought of any help would be appreciated, this does not compile [CODE]#include <stdio.h> int …

Software Development c
Member Avatar for newbiecoderguy
0
956
Member Avatar for veledrom

Hi, How do i select a particular value of a combobox? Example [code] combo1.selectvalue(rset.field("id"))[/code] I believe you understand what i mean. I bring data from database and want select it in combo. Thanks

Software Development visual-basic
Member Avatar for selvaganapathy
0
121
Member Avatar for LaurenceB

Hi, I have written a program in python, and am looking to translate it into c++ code, here is the program: import random # You've got to guess 4 numbers between 0 and 30, if you get it right the program will output "WINNER" and tell you the computer's numbers …

Software Development c++ python
Member Avatar for hacker9801
0
181
Member Avatar for palpha

I hope this is the correct forum I am converting some qbasic to vba and have come undone. The qbasic lines - FOR I = 1 TO A IF B(I) > 0 THEN PRINT "("; C(I); "="; D(I); ")"; END IF NEXT I screen prints the values for SLENGTH and …

Software Development qbasic vb.net
Member Avatar for palpha
0
116
Member Avatar for nokeekon

Why doesn't this work? [code] #include <stdafx.h> #include <iostream> #include <string> using namespace std; int main(){ static int x; int y; cout <<"1. view\n2. edit\n"; cin >> y; if (y==1){ cout <<endl << x <<endl<<endl; } if (y==2){ cout <<"Please enter the value of x\n"; cin >> x; cout << …

Software Development c++
Member Avatar for nokeekon
0
254
Member Avatar for patel_anks

Hi can anyone help me, I am learning the language C but need some help writting some code. what i need to do is from the input of the keyboard i need to find the max and min of some values and out put them. what i got so far …

Software Development c
Member Avatar for patel_anks
0
110
Member Avatar for Jennifer84

I have 2 loops like below. In the second loop I am searching a string if I can find the "*" character. This loop will loop 100 times but what I am wondering is that if you wont find the character "*" in the string str, is is possible to …

Software Development c++
Member Avatar for Jennifer84
0
129
Member Avatar for rob spade

I have a router mamangement requirement that requires a log file to be uploaded to a tFTP server. I wanted to do this using a python script. I have not been able to find a tFTP open source library anywhere. Does anyone know the where-abouts of one?

Software Development open-source python
Member Avatar for rob spade
0
121
Member Avatar for prashanthn

hello friend, i want to set my java class path. am using netbeans 1.6 version..... pls make me happy by giving the class path..

Software Development java java-netbeans
Member Avatar for sanaulla123
0
75
Member Avatar for lily_86

hi; i dont know how to convert mp3 file to wave file. i want to convert it because reading data information from a wave file is more easy than mp3 file 'i think'. Can anyone help for this problem?

Software Development c++ file-system
Member Avatar for nokeekon
0
111
Member Avatar for integer*09

Hi all, Lets say Program A had opened a AAA.txt and had finished writing to it but didnt closed it as it is waiting for another patch of data to be written in around 1 mins or so. So in between the 1mins times can Program B copy its content …

Software Development c++
Member Avatar for ninjaneer
0
146
Member Avatar for prab

Hi all, I am new to OOP. I am using classes to create a phone book in C++. I don't know how to program, when the user enters the information and click save to generate a file. Also, how do I make GUI using C++. Can any one help me …

Software Development c++ gui oop
Member Avatar for ninjaneer
0
611
Member Avatar for curiousa

Hi all, i am a new intern quant.. and i had almost never used C++!! i have to simulate the heston model [url]http://www.javaquant.net/papers/Heston-original.pdf[/url] the equations from the page 328 to 331.. so, i am using the Euler decompostion but i have some problems with using C++ if any one can …

Software Development c++ pdf
Member Avatar for ninjaneer
0
158
Member Avatar for skelly16

Hi All Anyway of compressing a gzip file down evern further. I have a file which is already compressed by gzip but is till to big to email. Any ideas how to make it even smaller???

Software Development shell-scripting
Member Avatar for masijade
0
130
Member Avatar for guerreronoli

hello, I created an application that use another jar files!..... my application is connected to database and have a report!.... as we all know to connect a JAVA App. in mysql database it needs an connector!.... I configure it out!... my problem is I have another JAR files for for …

Software Development java
Member Avatar for Ezzaral
0
126
Member Avatar for mikelle

// Lab 4 read and calculation file/input // This program will read the data in the input file // used by grosspayMinustaxFileCode #include <iostream> #include <iomanip> #include <fstream> using namespace std; int main() // this is the error message it displays if not working right to EXIT { ifstream inFile; …

Software Development c++ file-system ios
Member Avatar for mitrmkar
0
260
Member Avatar for hell_tej

hello Frends, i m creating a new project of vb to access conncetivity in 5 PC small LAN. I don't Know What is the code,connection string use in project. And I am biginar for that type of programming. I want to store data in server, access database tables. Please give …

Software Development visual-basic
Member Avatar for Jishnu
0
253
Member Avatar for Jennifer84

I have declared a map like below. What I have some problem with is how it is possible to set the double Number1 to have the value of "Numb". I am not really sure I have understand how the mapping works here. [code] std::map<std::string, double> numb; void Test() { double …

Software Development c++
Member Avatar for Jennifer84
0
91
Member Avatar for Evan M

I have a function which takes an array of SDL_Rect (which is a data structure containing four integers, x, y, h and w), and assigns values to the data members. However, when I try to compile, each line generates the error "error C2059: syntax error : '='". [CODE] int main() …

Software Development c++ data-structure
Member Avatar for Evan M
0
608
Member Avatar for Venks

My problem is I have my rmi server behind the firewall+nat enivironment: in the server i have 1: public ip: 11.12.13.14 2.local ip: 190.9.30.242 3.gateway ip: 90.9.30.240 i have assigned the public ip to java.rmi.hostname to public ip and registry. rebind (localip, objectreference). Server: try { System.setProperty("java.rmi.server.hostname","11.12.13.14"); System.setProperty("java.rmi.server.useLocalHostnameproperty", "local ip"); …

Software Development client-server java
Member Avatar for stephen84s
0
463
Member Avatar for johnray31

Hello friends, Could someone tell me if i want to read a particular text from a file that exist in each line of file. How could i do this? My text is like this: poll mail.telesys.com protocol POP3 user [email]vipin@gmail.com[/email] password abcd mda "cat > /export/home/m7istp/imcp/bin/ml201.txt now i want to …

Software Development c
Member Avatar for Duoas
0
130
Member Avatar for amrith92

I am experimenting with a piece of code I found on the internet (I'm still relatively new to c++), but my visual c++ express edition and visual c++ 2005 ide's are not compiling it giving some errors I can't understand fully. this is the code [code=cplusplus]/**************************************************** * File: BasicCalculator.h * …

Software Development c++ ide
Member Avatar for mitrmkar
0
261
Member Avatar for friedguy

I am working on a project that uses VB to control the application, DWGeditor. Basically, I am starting with a template .dwg file and then inserting others as blocks; essentially layering the files to create a final product. VB has allowed me to create an interface so that I can …

Software Development pdf visual-basic
Member Avatar for friedguy
0
146
Member Avatar for cVz

Hey dudes...i am currently working for a company that codes in delphi 7... i am familliar with C# language but not that much of Pascal language...i need to make a form where i can print an added HTML page... I managed to get it to print a form but i …

Software Development delphi pascal printer
0
91
Member Avatar for Sa_FF

i'm trying to do a biggest card game in c but i'm reciving some errors that i can't figure out please help me... the functions are separeted of the main(project) i'm receving the error 'incompatible types in assignment' in the function compare card [CODE=c] /*This function compares card1 with card2 …

Software Development c
Member Avatar for Ancient Dragon
0
279
Member Avatar for swapna7999

hi i have 3 form and an exit button in 3rd form i want to close the whole project when i click exit i think unload me can only stops that particular form i want to close the whole project thank u very much

Software Development visual-basic
Member Avatar for hemen
0
569

The End.