132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shinny

Hi there, I am trying to parse a CSV file, I have a program which will read in the contents of the file and display them to the console and i need to parse some of the fields, which I have no idea how to do [IMG]http://saloon.javaranch.com/ubb/frown.gif[/IMG] I am trying …

Software Development file-system gui java
Member Avatar for hooknc
0
190
Member Avatar for sujagr8

hi everybody, i need to link this html pages if i click submit button.It should fetch the textbox value to another html page <html> <head> </head> <body> <form method=post action="g1.html"> <input type=text id="q" > <input type="submit" name="submit"> </form> </body> </html> <html> <head> </head> <body> <form method=post> <input type=text id="q" value=""> …

Software Development first-post perl
Member Avatar for netburst
0
110
Member Avatar for dilip.mathews

Why cant we have a virtual constructor? All the materials give somewhat similar anwer to this question. "First the VPTR Pointer is initialised to it's proper VTABLE by the contructor which is automatically done by the compiler ,,,," or "You don’t ever want to be able to make a call …

Software Development c
Member Avatar for Laiq Ahmed
0
159
Member Avatar for nikhiljoshi92

import java.util.Scanner; /** Demonstrates the use of Scanner class @author Nikhil Joshi */ public class asciicode { public static void main(String[] args) { //create a scanner object Scanner console = new Scanner(System.in); /*get full name using nextLine nextLine gets the next line - up til user hits enter */ System.out.print("Enter …

Software Development java
Member Avatar for masijade
0
163
Member Avatar for degamer106

Hi. I can't a small part of this program to work correctly; the square root function either returns a bunch of funny symbols OR it returns 0.00 On a side note, I have 2 questions: 1) If you have a structure nesting two other data structure types (like in my …

Software Development c data-structure
Member Avatar for degamer106
0
166
Member Avatar for shabina

is there a way to open attachments displayed in a textbox, separated by a semi-colon..like an email attachment that's underlined where u just click on the link(underlined filename) and it opens that particular attachment. i would just like to see an example...thanks!

Software Development email visual-basic
Member Avatar for shabina
0
116
Member Avatar for MikeTiger

hello friends, could anyone help me by send a link where can i download visual C++ compiler for free on my email <email deleted by wolfpack> I will really appreciate that. Regards,

Software Development c++ email
Member Avatar for steveh
0
103
Member Avatar for SHWOO

I am learning overloaded operators, I successfully overloaded the <<and >> operators as friend functions creating cout << object and cin >> object. For the next problem I am required to overload the istream operator two ways. I must invoke it as somephonenumber.operator<<( cout ); or as somePhoneNumber << cout; …

Software Development c++ visual-studio
Member Avatar for SHWOO
0
225
Member Avatar for anupamjamatia

[CODE]#include<stdio.h> #include<conio.h> #include<math.h> main() { float a,b,c,d,k,x,y; clrscr(); printf("Enetr the values of a,b,c=>"); scanf("%f %f %f",&a,&b,&c); d=((b*b)-(4*a*c)); k=sqrt(d); x= (-b+k)/(2*a); y= (-b-k)/(2*a); printf("The quadratic equation is x=%f and y=%f",x,y); getch(); } [/CODE] but after compiling the result is look like this .....why .... wnter the values of a,b,c=>6 5 4 …

Software Development c
Member Avatar for dwks
0
216
Member Avatar for sgriffiths

Hello i have a a struct which contains the below 1 10 11 2 3 But i need this to be in numeric order, ie 1 2 3 10 11 below is my code [code] do { fprintf(fReport, "List Name = %d\n", LIST[t].name ); t++; } while( t != k …

Software Development c
Member Avatar for dwks
0
142
Member Avatar for comp_sci11

[code] #include <stdio.h> int arrange(int[],int); main() { int array[10],num,i,flag; clrscr(); puts("Enter length of array"); scanf("%d",&num); puts("Enter the enties:"); for( i=0; i<=num-1; i++) { printf("\n(%d).......",i+1); scanf("%d",&array[i]); } do { flag=arrange(array,num); }while( flag==-1); printf("\nThe array in desending order is: "); for(i=0; i<=num-1; i++) printf("\n\t\t***** %3d *****",array[i]); getch(); } int arrange(int *block,int num) …

Software Development c
Member Avatar for dwks
0
280
Member Avatar for dev.cplusplus

:mrgreen: Hi to all, I have a challange in my work, we have a project that uses a variable of type "CMapStringToPtr", this object is use to store some data, now we want to change the type to more efective type, the problem is that we need to know if …

Software Development c linked-list
Member Avatar for Laiq Ahmed
0
459
Member Avatar for nsan

where can i find good articles about Delphi? what is wrong with this loop? procedure TForm1.Button1Click(Sender: TObject); var a: integer; begin for a:=1 to 5 do begin ShowMessage('Window: '+InToStr(a)); end; end; end. i receive this error [Error] Unit1.pas(31): Undeclared identifier: 'InToStr' any help is appreciated

Software Development delphi pascal
Member Avatar for dotnet_guru
0
215
Member Avatar for chepps

Hi, I would like to know how can we place the textbox dynamically over a datagrid. My requirement is ; I have a datagrid , with filles datas.And when i click on a particular cell, then a tectbox, with multline ability, should be displayed exactly in the same position as …

Software Development vb.net
Member Avatar for chepps
0
141
Member Avatar for jrcagle

Hi, I'm still trying to straighten out Tk in my mind. :eek: What I want to do is, under certain circumstances, completely clear the screen and display something new. Instead, it displays the new stuff together with the old. Here's excerpts from the code, with the offending line marked with …

Software Development python tkinter
Member Avatar for jrcagle
0
154
Member Avatar for msvinaykumar

Hi, Please explain me how XML is useful . Please give me any Case study example. Vinay

Software Development perl xml
Member Avatar for KevinADC
0
147
Member Avatar for Gunner54

Ok Im New To C++ But Im Making A Code That Should Hopefuly Make Me Able To Write Into A Program's Memory I Get These Error's [CODE] error C2059: syntax error : '.' error C2447: '{' : missing function header (old-style formal list?) [/CODE] My Code Is [CODE] .void WriteMem(DWORD …

Software Development c++
Member Avatar for Dave Sinkula
0
582
Member Avatar for joshilay

what are the features of c which are not available in c++ ???

Software Development c c# c++
Member Avatar for Dave Sinkula
0
605
Member Avatar for Mikecool509

Hi, I am trying to run a start process command. I want the command prompt process tasklist, to write the output to a file. Normally, in command prrompt, you would type tasklist >> "[I]path[/I]" I got one of my other commands, taskkill to work by typing the following: [code]System.Diagnostics.Process.Start("taskkill.exe", "-im …

Software Development vb.net
0
70
Member Avatar for selvam.cit

hi, i am having two files n.sh here i wrote code like clear f() { echo "this is my program to test function" } again i am having one more file n1.sh here i wrote like this ./home/selvam (this is my program directory (ie.. actual n.sh file is in this …

Software Development file-system shell-scripting
Member Avatar for John A
0
214
Member Avatar for MikeTiger

Hi, I need to get data from a C++ application to a spread sheet or notepad file, has anyone any idea how to do this. I have access to programme source code but not sure where to start.

Software Development c++ gui
Member Avatar for Ancient Dragon
0
184
Member Avatar for V KUMAR

At local machine, How to zip a file at remote location using scripting in batch file

Software Development perl
Member Avatar for KevinADC
0
250
Member Avatar for SamY

How can i make my operating sys have more pixels like windows.

Software Development assembly operating-system
Member Avatar for mostafadotnet
0
141
Member Avatar for INI

Good Morning All, I am planning on undertaking a project for school and was wondering if anyone could tell me if I am better off using Assembly Language, Java, Basic or C to program my OOpic Microcontroller? Thanks. Ini

Software Development assembly
Member Avatar for mostafadotnet
0
216
Member Avatar for perpetual_dream

Hey, I am willing to use the following code in one phase of my project. The problem is that i dont understand this assembly language, In school I took it in different form... Mov ax, bx out 11, AL bla bla... here the registers is different and everything is different.... …

Software Development assembly pdf
Member Avatar for Lord Soth
0
411
Member Avatar for originof

Hi all.. [code] mov al, 0xB6 out 0x43, al [/code] Why the istruction out give me a segmentation fault ?? :rolleyes: This is the enteire code [code] section .data hello: db 'Hello world!',10 ; 'Hello world!' plus a linefeed character helloLen: equ $-hello ; Length of the 'Hello world!' string …

Software Development assembly linux-kernel
Member Avatar for Lord Soth
0
159
Member Avatar for SamY

how do i get the computer speed in Ghz in assembly

Software Development assembly
Member Avatar for Lord Soth
0
123
Member Avatar for Ginner

Hi all, I am working on a problem that should have been very trivial but has turned into a multiple marathon without an end in sight. I have written two very small scripts, one auxiliary script as below with two classes 'Node' and 'Queue' intended for use in a linked …

Software Development linked-list python queue
Member Avatar for N317V
0
258
Member Avatar for newbie2k6

I was wondering if someone can show me how to do a fade in and fade out text effect using c.i tried couple of techniques using delay function and changing up the text color but doest come up right:sad:

Software Development c
Member Avatar for b2daj
0
79
Member Avatar for BeyerCorpuz

Dear Forum: What is a better program for web development- C# or VB 2005? Thanks

Software Development c c# c++
Member Avatar for hollystyles
0
83
Member Avatar for crestaldin

Hello, I'm new to HTML parsing and I need some help.I want to parse a HTML file , and I have the Java classes in place but I need an advise on how to code a piece of logic in my callback function. I need to parse through the file …

Software Development html-css java
Member Avatar for b2daj
0
176
Member Avatar for Sashar400

Hi I am new to c++ and I have a simple program that I am trying to understand .Here is the program If anyone can put some comments to what the codes mean I would be grateful.//Explain Please what these lines mean. [code]#include <iostream> using namespace std; int sum(int[],int);// int …

Software Development c c# c++
Member Avatar for b2daj
0
147
Member Avatar for LearninKaz

Hey, I need help with finding out if BSTs are height and size balanced, Ive got plenty of books and people telling me different things but i need it to click in my own head! Any ideas or simple ways of doing it? Thankyas!

Software Development c
Member Avatar for b2daj
0
118
Member Avatar for jaininaveen

hai friends hai friends I am begginer to java, i want know how to read a html header.... plz any one give me a possible solution....:rolleyes: thanks for helping....

Software Development java
Member Avatar for jaininaveen
0
180
Member Avatar for Laiq Ahmed

I want to read a Source Code file and separate the lexemes (words) and want to track the line number with the separated words? I just come up with the raw code like that... i) A struct holding a string , int pair; ii) making the link list of above …

Software Development c++
Member Avatar for Micko
0
93
Member Avatar for duckforceone

Hiya all. I am currently working on a database of information about a card game. But i have a question. What i would like to do, is make a stand alone program, that can show the card information, and let users modify a bit of it. It would need to …

Software Development gui visual-basic
Member Avatar for Comatose
0
125
Member Avatar for tigrai

I like to start my project in cd with auto run but if the auto run fails in any case I like the cd to be ejected (remove cd) in vb6 thank you

Software Development visual-basic
Member Avatar for Comatose
0
205
Member Avatar for INI

Hi all, What code can I use whereby if the user times in anything other than a number an error message will prompt them. [code] [U]If NOT val(Textbox1.value) then[/U] Msgbox("Sorry you must only put numbers") else end if [/code] The line underlined, does not work. Please can someone tell me …

Software Development visual-basic
Member Avatar for Comatose
0
148
Member Avatar for Toddrick33

Since A, L and C are used as masks in a masked text box, I was just wondering if there was a way to filter them out. For example, say I want to number Licenses, like this: LIC-06-###-#### Since L and C are masked characters, it will not allow me …

Software Development
Member Avatar for Toddrick33
0
330
Member Avatar for ishwar

Hi, I wondered if its possible to create a java application that works in the background and does not create a window, Thanks, Ishwar

Software Development java
Member Avatar for jwenting
0
137
Member Avatar for ayk-retail

Does anyone actually use Pascal anymore?

Software Development pascal
Member Avatar for Lord Soth
0
273
Member Avatar for SmrtAss

[COLOR=#000000]In the program of Figs. 11.3–11.5, Fig. 11.4 [/COLOR][COLOR=#cc0000]contains[/COLOR][COLOR=#000000] the [/COLOR][COLOR=#cc0000]comment[/COLOR][COLOR=#000000] "[/COLOR][COLOR=#000066]overloaded stream insertion operator; [/COLOR][COLOR=#cc0000]cannot[/COLOR][COLOR=#000066] be a member function if we would like to invoke it with [/COLOR][COLOR=#cc0000]cout[/COLOR][COLOR=#000066] << somePhoneNumber[/COLOR][COLOR=#000000];." Actually, the stream insertion operator [/COLOR][COLOR=#cc0000]could[/COLOR][COLOR=#000000] be a [/COLOR][COLOR=#000066]PhoneNumber[/COLOR][COLOR=#000000] [/COLOR][COLOR=#cc0000]class[/COLOR][COLOR=#000000] member function if we were willing to invoke it …

Software Development c++ file-stream
Member Avatar for iamthwee
0
120
Member Avatar for Silentiopk4

I am going to write a log-in script to a MS SQL database where once the user is logged in, he or she will have certain capabilities given the roll assigned (student, admin, or volunteer), but not others. My question is how to make the login secure, to have timeouts, …

Software Development perl
Member Avatar for masijade
0
363
Member Avatar for dilip.mathews

Why pointer to a refernce is not allowed in C++?????

Software Development c++
Member Avatar for dilip.mathews
0
221
Member Avatar for shabina

does any1 have any idea how to link listboxes with adodc to a database?

Software Development visual-basic
Member Avatar for shabina
0
187
Member Avatar for INI

Hi Guys, Could anyone tell me what is the best book I can use to learn Qbasic pretty fast? I am knowledgable in Visual Basic, I am hoping it will help me with my qbasic learning. Ini

Software Development qbasic visual-basic
Member Avatar for INI
0
67
Member Avatar for BillWebber

Hi to whoever has been good enough to read this. I am very new to Visual Basic 6 and are trying to build a small data base program as part of a tutorial i managed to get my hands on. I have been struggling with this problem in my code …

Software Development visual-basic
Member Avatar for BillWebber
0
187
Member Avatar for swapnamishra

How to execute the code written in a .py file. I wanted to know the exact command to be used. Is it executeFile("File.py")?

Software Development python
Member Avatar for Ene Uran
0
88
Member Avatar for biganimal

I created a program for my daughter and its a little rough around the edges. I need to make some improvements to it but stuck. I want it to be able to save input data and be able to load it back in so every time you start the program …

Software Development python
Member Avatar for Ene Uran
0
91
Member Avatar for jaininaveen

hi everyone,:cool: I like to work on accessing internet(that means get a web site content) with my c code. so plz tell me a possible way to send reqest to a perticular web site and get the information....:rolleyes:

Software Development c
Member Avatar for jaininaveen
0
257

The End.