132,726 Archived Topics
Remove Filter ![]() | |
[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 | |
[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 | |
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 | |
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 | |
Where can i find an application for coding an assembly program:!: Software Development assembly | |
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 | |
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 … | |
hi pls help me with the pythogorean triplets code for numbers between 1 and 1000 Software Development c++ | |
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 | |
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 … | |
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 | |
Hi there , I need a calculator that is flexible enough to perform +,-,/,%,^and *. can you help plz:?: Software Development java | |
if some one knows of a great tutorial for c++ i would be very happy.. Software Development c++ | |
[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 | |
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 | |
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 | |
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 | |
[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 | |
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 | |
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++ | |
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 | |
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 | |
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 … | |
Sir, I want to make connectivity in c with database oracle so plz tell me the code for that.thanx in advance. | |
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 | |
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 | |
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 | |
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 … | |
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. … | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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++ | |
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 … | |
[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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 … Software Development api client-server delphi pascal visual-basic windows-api windows-server xml | |
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 | |
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 | |
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++ | |
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. |
The End.