132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chethanasrao

[B]i need to write a program which accepts a folder as input and browses through that folder and says whether there is a file or a subfolder present in it and generate an xml file that gives the hierarchy(subfolder names & file names present) in that folder.[/B] [I][U][B]BUT IT SHOULD …

Software Development api c unix windows-api xml
Member Avatar for Salem
0
89
Member Avatar for dilip.mathews

[CODE]void main(void) { char *p = "name"; p[0] = 's'; printf("%s", p); }[/CODE] The above piece [COLOR=black]of code is giving me eror at run time. The reason for this error might be that I am not allocating any memory for the pointer(correct me if I am wrong).[/COLOR] [COLOR=black]My doubt is, …

Software Development c
Member Avatar for dilip.mathews
0
268
Member Avatar for indienick

This post is asking ALOT, but I'm not expecting one person to leave me a hefty response, so any bits of widsom and knowledge are MUCHLY appreciated. Could someone(s) please explain to me (in detail) how to use: - Data Models (for JTree's and JTable's) - Pattern matching (java.regex.Pattern) and …

Software Development first-post java regex
Member Avatar for indienick
0
79
Member Avatar for bobradi

write a MIPS program that calculates d=a*b-a*c without using mult instruction --- just for practicing your MIPS assembly. [LIST=1] [*]• Hint: use loop of additions to replace mult. [LEFT][/LEFT] [*]• Practice SPIM system calls to input values for a, b and c, as well as printout the value of d. …

Software Development assembly
Member Avatar for mostafadotnet
0
403
Member Avatar for SamY

Where can i find an application for coding an assembly program:!:

Software Development assembly
Member Avatar for mostafadotnet
0
154
Member Avatar for Embeza

Hi every body Can you please fix me errors. Here are my codes and errors incountered #Stage1 I want the user to type in the file path to txtpath.Text and a text input to be appended to that file be written in txtwrite.Text The error: Run Time error ->path not …

Software Development file-system visual-basic
Member Avatar for Embeza
0
272
Member Avatar for a1eio

hi, i'd like to create something that basically grabbes information from websites, however i havn't any experience in urllib (apart from very basic page reading) and the issue is that the page i want to grab data from checks to see if another page is connected to it or perhaps …

Software Development html-css python
Member Avatar for metabo_man
0
345
Member Avatar for nehareddy33

hi pls help me with the pythogorean triplets code for numbers between 1 and 1000

Software Development c++
Member Avatar for portege
0
126
Member Avatar for vbmade2000

Hello All I have problem in database management in vb6 using access database. I have created small code library to store code snippets. When i add new code to database then size of database is increased.This is normal. But whenever i remove some code from my database then size of …

Software Development email visual-basic
Member Avatar for maheshsayani
0
71
Member Avatar for balachandu

hai , i am chandu. i have some doubts in datastructures.can anyone help me to solve them 1) what datastructure (stack,queue.list......) is used for NOTEPAD ,(i want the best datastructure) and why? 2)what is the best datastructure used for MICROSOFTWORD and why? 3)how can we delete duplicate elements in an …

Software Development algorithm c queue
Member Avatar for dilip.mathews
0
148
Member Avatar for Maria_19

Hi Every one I need some help with excel macros. I am a beginner so I dont know much about writing my own macros but what i need is a macro that can read a particular cell's contents from an excel sheet then search in the directory tree and retrieve …

Software Development visual-basic
Member Avatar for Maria_19
0
226
Member Avatar for Embeza

Hi there , I need a calculator that is flexible enough to perform +,-,/,%,^and *. can you help plz:?:

Software Development java
Member Avatar for MattEvans
0
244
Member Avatar for wingwarp

if some one knows of a great tutorial for c++ i would be very happy..

Software Development c++
Member Avatar for wingwarp
0
169
Member Avatar for j1979c

[B]Just want to confirm if it is possible to set in this case (Example 1) class Two's pumpId variable by sending it as a parameter to class One's setPumpId method without using the usual return method assignment like : [code]pumpId = o.getPumpNum()[/code] I think in C++ we can do that, …

Software Development java
Member Avatar for jwenting
0
240
Member Avatar for wingwarp

ok after 4x of ppl telling me to learn the basics im starting at the bottom... my tutorial didnt explain this function well... what is a pointers use...

Software Development c
Member Avatar for wingwarp
0
167
Member Avatar for indienick

Ok, I know this is a stupid-easy question, but how do I "gather" (best word I could think of) an image? [code] JFrame frame = new JFrame(); Image programIcon = (...?...); frame.setIconImage(programIcon); [/code] My main issue is that since Image is abstract, I can't exactly go " = new Image("yadda.png");" …

Software Development java java-swing
Member Avatar for indienick
0
167
Member Avatar for shan06

can any one give me the name of the books for Borland Turbo Assembler ?????????????????????????????????????????? Or any link for book or online tutorial............ :-| :-| :-| plz plz

Software Development assembly
Member Avatar for GenevaStar
0
134
Member Avatar for s0312001

[CODE] Function CheckWord(ByVal Wrd As String) As String Dim i As Integer Dim Pos As Integer Dim Found As Integer Found = 0 For i = 1 To 26 Pos = InStr((Word(i).ToLower), Wrd.ToLower) If Pos <> 0 Then CheckWord = Word(i) Found = 1 End If Next If Found = …

Software Development visual-basic
Member Avatar for Comatose
0
283
Member Avatar for Badhrinath

Hi I want to repaint a page in applet. When that page is repainted, i want part of that page not to be repainted. That should be static. Is there any way to separate the applet window as so many parts and to repaint the necessary parts only? Pls provide …

Software Development java
Member Avatar for Rotak
0
129
Member Avatar for tefflox

i've been at this for an hour, feeling stupid by now, getting sick of these segmentation faults.. [code] // board.cpp #include <iostream> using namespace::std; const int NUM_ROWS = 10, // Board dimensions NUM_COLS = 20; // Function prototypes void fillRectangle ( char board[NUM_ROWS] [NUM_COLS] , int row, int col, int …

Software Development c++
Member Avatar for ~s.o.s~
0
331
Member Avatar for chrchcol

I have an index.html file that I need to be able to modify depending on if its secure or unsecure, can I use cat and or grep in a script to modify text in it? Chris

Software Development shell-scripting
Member Avatar for chrchcol
0
303
Member Avatar for daidaiboyboy

Hi all... I wish to draw a table showing 3 columns of values and many many rows. However, i cant seem to find any other functions other than datagrid in the design toolbox interface of C#. And since my data source is not from any serverbased source (My data are …

Software Development database-design
Member Avatar for gedarufi
0
519
Member Avatar for Cudmore

So. I'm having an issue. I'm building an application that loads class files as extensions during runtime. I'm doing this, becuase I want my application to be able to grow in the future without having to recode and recompile the main source.. So, I plan to make seperate class files …

Software Development google java
Member Avatar for Rotak
0
251
Member Avatar for shwetashelke

Sir, I want to make connectivity in c with database oracle so plz tell me the code for that.thanx in advance.

Software Development c++ oracle
Member Avatar for Dave Sinkula
0
140
Member Avatar for s0312001

Hello...:rolleyes: I know that you have done some work in the speech recognition field,do you know anything about testing for the presence of a sound. This would enable me to do extra processing when it was not recognised. are there facilities to manipulate the sensitivity of the word recognition? i …

Software Development visual-basic
Member Avatar for s0312001
0
107
Member Avatar for Phruis

I am extremely new to C++ and I've been trying to do a few things. I want to read a file and get all the numeric values. This information is going to be used in writing a binary file. I also want to count how many numeric values where found. …

Software Development c++ file-system
Member Avatar for Dave Sinkula
0
113
Member Avatar for YASIR IRFAN

Dear All, I have an application witch get real time data and update itself like STOCK MARKET trading terminal. I want to capture real time data and store it in a text file. Please help me in this regard Thanks:sad:

Software Development socket-programming visual-basic
Member Avatar for Comatose
0
271
Member Avatar for j1979c

Hello all.... Just learnt VB .NET yesterday and would like to continue to the ASP .NET book using the VB .NET IDE to program. The thing is... when I start a new project in VB .NET there are no templates for ASP .NET Web Application. Do I need to download …

Software Development asp asp.net ide vb.net
Member Avatar for j1979c
0
167
Member Avatar for ae4jm

I'm having trouble getting this source code to compile. Could you guys please tell me where I'm going wrong? The source code is compiled in LC3EDIT and then ran in LC3simulator. Here is the source code and routines. I've changed everything that's suppose to be changed and the labels, etc. …

Software Development algorithm assembly
Member Avatar for ae4jm
0
1K
Member Avatar for DarkAlex

Hello. This is a very very basic question about variables in range names. I have quite a few ranges of varying lengths in multiple Excel documents. I want all the ranges standardized and set to the same length, but I don't know what that length will be yet, and it …

Software Development visual-basic
Member Avatar for DarkAlex
0
126
Member Avatar for blackeyed

My script is giving above mentioned error .... is there any workaround [CODE] #!/bin/sh #################################################################### # Createion Date: 21-Jul-2006 # Modification Date: # Version: 1.0 #################################################################### ############################################################## # Check the parameter ############################################################## if [ "${#}" -lt 5 -o "${#}" -gt 5 ] then echo "Usage for this script is : …

Software Development email shell-scripting
Member Avatar for blackeyed
0
244
Member Avatar for joshilay

char s[]="the cocaine man"; int i=0; char ch; ch=s[++i]; printf("%c ",ch); ch=s[i++]; printf("%c ",ch); ch=i++[s]; printf("%c ",ch); ch=++i[s]; printf("%c ",ch); output = h h e ! i got the outputs like this ...can anyone please what are the reasons for these outputs !! is it compiler dependent ?? if yes …

Software Development c
Member Avatar for ~s.o.s~
0
143
Member Avatar for vicky_dev

Hi... I am trying to write a string class...this part is supposed to concatenate two strings, but I am having trouble with constructors/destructors.:rolleyes: Please explain the exact sequence of calls and the correct way to code.:?: [code] #include <iostream> #include <cstring> #include <conio.h> using namespace std; class STRING { char …

Software Development c++
Member Avatar for WolfPack
0
405
Member Avatar for tefflox

I don't know if I should post all the code to start, but if you need to see all the code just ask. Trying to post the relevant stuff: [code] void findHoliday (const DayData holidayList[],int listLength, int month,int day, char holidayCopy[]) .... holidayCopy = holidayList[i].holiday; [/code] now it's puzzling since …

Software Development c++ first-post
Member Avatar for tefflox
0
319
Member Avatar for rapt0r

In a c++ tutorial this was one way to define a string [CODE] #include <string> using namespace std; string name; name="mark"; [/CODE] But it dosent work i get errors.Why is this?

Software Development c++
Member Avatar for ~s.o.s~
0
196
Member Avatar for SamY

How can one manipulate the vdu. Like to creae a class which can be used to create objects like windows depending on wdth like [COLOR=red]_o/s_window(120,20,0xddff,0);[/COLOR] [COLOR=#ff0000][/COLOR] 120-height 20-width hexadecimal-base color 0-border stylethe window will look like this with a color gradient and can run other programs.

Software Development c++
Member Avatar for ~s.o.s~
0
134
Member Avatar for Simon268

Hi all. I can't get this to compile; [code] #include <iostream> #include <string> using namespace std; int main () { int number; string response; for (number=5; response!='Y';) { cout <<number <<endl; cout <<"Had Enough (Y/N)?"; cin>>response; } cin.get (); cin.get (); return 0; } [/code] when i try to compile …

Software Development c c# c++
Member Avatar for Simon268
0
185
Member Avatar for jimmypk

[code] # I have a problem in building class Tree (Binary Search) # function DelNode(self, Key) is not exactly # I Need Help, Please building class Tree (Binary Search) # Is there any different definition of class Tree from string import split class Node: def __init__(self): self.Key = None self.pLeft …

Software Development python
Member Avatar for G-Do
0
140
Member Avatar for Simon268

Hi all Any help would be much appreciated. Im following the about.com tutorial, and one of the exercises says i should make this program; [code] #include <iostream> #include <string> using namespace std; int main () { string name; int ID; cout<<"enter your name\n"; cin>> name; cout<<"enter your id\n"; cin>> ID; …

Software Development c++
Member Avatar for Simon268
0
156
Member Avatar for maheshsayani

Hi All I Want To Create Semi Transparent Forms I Had done work on Transparent forms but i need semi transparent form which we can see background text/image through this form in vb please send me the solution for this

Software Development image visual-basic
Member Avatar for maheshsayani
0
123
Member Avatar for wingwarp

I am a basic c++ programer :sad: that wants to understand graphics but all the online guides confuse me i understand BASIC c++ code like... :-| [code] #include <iostream> using namespace std; int main() { int forever; int HIGH = 15; int LOW = 1; int HIGH1 = 50; int …

Software Development c++
Member Avatar for wingwarp
0
247
Member Avatar for Iamnew2java

I am trying to calculate the miles per gallon per trip & also average miles per gallon overall. The per trip works fine but I can't get the average to work. It is just reading the per trip instead of averaging. Any suggestions? THANKS! import java.awt.*; import java.applet.*; import java.awt.event.*; …

Software Development java user-interface
Member Avatar for Iamnew2java
0
112
Member Avatar for INI

Good Morning All, I am having a major issue here; for some reason the line of code below works and sometimes does not work. When it desides not to work, it leaves a mess in my excel sheet. [code] Range("A1").Select ' This just goes to the upper left corner of …

Software Development visual-basic
Member Avatar for Comatose
0
190
Member Avatar for MattEvans

Hi there. I'm new to this forum, and new to Delphi, my programming experience goes from BASIC > Visual Basic, C++ (DirectX not MFC or GDI), and Java/Java3D. I did a little Pascal programming in college a few years ago, but what I remember isn't sufficient to help me much …

Member Avatar for MattEvans
0
116
Member Avatar for slacke

Hi I used an variable int i; in a faunction block as it is in a code below. [code] #includes.... int i; int function() { while(charbuff[i]!=' ') { ofstream stream("file.lng", ios::app) stream << charbuff[i]; i++; stream.close(); } return 0; } main() { ........... some code function(); /*call function */ cout …

Software Development c++ file-stream ios
Member Avatar for slacke
0
168
Member Avatar for jamshid

I start Python Programming Language in these days, when i was trying to understand them i come across to these problems so i will be so happy if you help me in : 1) [code] >>> # Integer division returns the floor: ... 7/3 2 >>> 7/-3 -3 [/code] I …

Software Development python
Member Avatar for jamshid
0
105
Member Avatar for ranaz

hi! i hav a code that was compiled using Microsoft VC++1.52. now i need to compile it on VC 6. but the compiler is generating the errors in statements containing use of FAR pointer. can any one guide me how to remove these errors or where can i find this …

Software Development c++
Member Avatar for Ancient Dragon
0
164
Member Avatar for jazzz

Can anyone tell wat does this do?? - [CODE]_FOpen(Time_File,"r",fp_time); _Fread(&st_Time,sizeof(TimeHead),1,fp_time,TimeFile);[/CODE] Thankx jazz

Software Development c
Member Avatar for WolfPack
0
235
Member Avatar for schmidty169

This is what I have to do [COLOR=black][COLOR=black][COLOR=black]We will initialize the tree by hard coding the values illustrated below. You will need to write, test and execute a driver program that will use the complete binary tree implementation. [/COLOR][/COLOR][/COLOR] [COLOR=black][COLOR=black][COLOR=black]// this will initialize the tree node values treenodes[0]=5; treenodes[1]=10; treenodes[2]=2; …

Software Development c++
Member Avatar for schmidty169
0
553
Member Avatar for waiting

i'm new in C#. I wish to learn this programming language. May i know what software for writting C# language? Do C# same with VB.net? Thx.

Software Development c# vb.net
Member Avatar for alc6379
0
100

The End.