132,726 Archived Topics
Remove Filter ![]() | |
Hi, I'm currently writing a routine to extract one, two and three word phrases from a string but with two or three word phrases I'm not getting all the phrases. For example the string "blah blah blah" will show one ocurance of "blah blah" when really there is two. My … Software Development perl | |
Can anyone help here. I want to have some color in the intro page the a database program I am creating. DOS based. ie it will be used in a 98 OS in dos. Software Development c++ | |
Is it possible to limit the size of list in python. I want to make list of 5 elements. How can I achieve this thing in python. And one more thing can we declare list to store elements of same type as in c, C++ we can declare an array … Software Development python | |
Does the comparison operator also compares data types... the following program gives the output Equals..Please advise... class Check{ public static void main(String[] args){ int numA=100; double numA=100; if(numA==numB) System.out.println("Equals"); else System.out.println("Not Equal"); } } Software Development java | |
Does anyone know a tutorial that teaches me how to code them in C++? I want to learn how to make my program send packets and recieve them. Software Development c++ | |
>how do u insert nth square into a complicated formulea? like p={d[I(1+I)*n-th power]}/{(1+I)*n-th power-1} izzit [static int power(doubleb,doublen){ if (n==0) return 1; else{ int p=power (b, n/2); if (n%2==0) return p*p; else returnp*p*b; }] And this statement [cal.addActionListener(this);] the same as [System.out.println("cal");]? Software Development java | |
hey guys, im a new guy here in the forum and im also an IT student who gets into C++ troubles most of the time, but enough about that... i just wanna ask if anyone can help me in my linked list problem, i think its about pointers and address. … Software Development c++ linked-list | |
:!: The Question is like this... About: Subject registration system. The lecture want 1. Name, Matric Number, Cumulative Grade Percentage Average (CGPA) CGPA........A=4.0,A-=3.7,B+=3.3,B=3.0,B-=3.7,C+=3.33,C=2.0, F=0. Name, Matric No,CGPA key in by user. So no need to worried. 2.Condition for CGPA if CGPA<2.0, can apply up to 18credit hours if CGPA>2.0, can … | |
Reading Material Purchasing System ------------------------------------------ the program have a book sales User will select the type of book they want to buy such as Fiction, non-Fiction Fiction Non-Fiction ------- ------------- ////////....$ /////////////.......$ ///////......$ ///////////////....$ ///////.....$ //////////....$ at the end (print out) list down the book they buy Total of all … Software Development c++ operating-system | |
Im just learning C++ this year, and its going alright, until i came to arrays that have indexes with semantic content. I am asked to write program that will convert a user inputted string into the civil aviation alphabet, for example if teh user inputted "and" the output would be … Software Development c++ | |
How would I go about making this entire class Serializable? What code would I add to a second constructor that would restore state/values from the XML file (de-serialize)? [code] using System; using System.Collections.Generic; using System.Text; namespace tgreer { public class indexer { private Dictionary<string, Int32> _documents; private Dictionary<string, Int32> _pages; … Software Development xml | |
I keep getting a System.StackOverflowException error. Anyone have any idea why?? Imports System.IO Imports System.Collections Imports System.Collections.Specialized Imports System.Drawing Public Class Form1 Inherits System.Windows.Forms.Form [B][U][COLOR=Red]Dim mst As MasterForm = New MasterForm[/COLOR][/U][/B] Dim objColl As StringCollection Dim objColl2 As StringCollection Dim objRand As Random = New Random Dim word As String … | |
OK, I am very, VERY new to VB.NET :o I am trying to develop a Windows application that is hopefully pretty straight forward. I'll try to explain best I can. I have 4 text boxes (Phones, Field, Moves, and Out) and 64 drop down combo boxes. Each combo box has … Software Development peer-to-peer vb.net | |
OK, I know Oracle, SQL, VBScript, Javascript, html, ASP, MS Access and it's VBA very well, I have a website that can handle mysql. NOW, I just bought myself this .NET thing. Anyone have any idea where I start from here? I don't even know what to ask yet, but … | |
Q1- This program deals with strings and requires the use of pointers (in a fairly simple fashion). You might consider yourself writing a programmer for a book editor to place a set of index entries into alphabetical order. Some complications arise here in that punctuation in the entries is ignored … Software Development c++ ![]() | |
I have to write new "control" and I just start to hate myself and C# because I do not understand why this piece of trivial code cannot work. public partial class TrendViewerControl : Control private System.Timers.Timer myTimer; public TrendViewerControl() { Timer myTimer = new Timer(); myTimer.Interval = TimerDelay; myTimer.Tick += … Software Development | |
<< moderator edit: split thread ([url=http://www.daniweb.com/techtalkforums/showthread.php?t=36591]original[/url]) >> I must have a bad version of Microsofts C++ compiler. When I try the rounding it doesn't work. For example. [code] float salesTotal =6.010002; salesTotal = (((int)((salesTotal*100)+.5))/100.0); // I realize I have plenty of parentheses. [/code] results in a value of 6.010002 stored … Software Development c++ visual-studio | |
hello, i made a routine in expect that connects via ssh to a juniper firewall, makes a backup of the configuration and saves it into a text file, so far it's working fine, and since it was working so fine i decided to add it to cron in order to … Software Development shell-scripting | |
Hi everyone, I recently had to wipe my computer and re-install everything from scratch, including Dev-C++. When I create a Win32 application project and try to compile it, I get a "[Build Error] Error1" message in the compiler log. I know that the code doesnt have any errors in whatsoever, … Software Development c++ | |
Hi, all... I wish to call upon the DrawLinesPointF class to draw an array of points for me after I click on a button with design name button1. Upon compilation of my code, there is no error. However, when executed, and I clicked on the button, the following exception error … Software Development | |
Hi All, I would like to know what is the Dev C++ by Bloodshed? In what way is this different from ordinary C++? I read somewhere that this is used to program Windows applications along with the C++ apps. So, is there any tutorial available on web to learn windows … Software Development c++ | |
can anyone help me out. Java Swing GUI's opens really slower than C# forms...is there anything to be done in the code. and in Applets tooo is is really slower even if you just minimise n maximise the browser...in Applications the components are not seen unless u resize the form...anyone … Software Development gui java java-swing | |
Hello Dani I wanna make a text based editor that's why i make a java program. there is little bit a problem i already made menu bar bt i coudn't give the actions like in file menu :- New, Open, Save, Exit in edit menu :- Undo, Cut, Copy, Paste … Software Development java | |
I'm looking for some help of converting a long to a type enum in something that would be similar to this: public object ToActionType(Long myval) { return (object)((ActionTypes)myval) } :sad: but the trick is that I don't know the enum just the type of the enum...(I also know for a … Software Development | |
Hi, I want to know how to call a perl script in C# app and how to communicate between the app and this script. for example, how does the C# app know if the perl script has finished running? could the app get the return code from the perl script? … | |
hi how to pass a variable (click a link) from page1.html to page2.html, and than according with the variabel execute a certain function? (this will be my script in java :o ) Thanks Software Development java | |
Alright, this is the situation i think is happening in my program. I believe that there is an `object FileStream //write`, conflicting with an `object FileStream //read`. Either that or the conflict must be the two objects I use (for output/input) for `FileStream` object. In either case, I should be … Software Development | |
Hi all, I have a problem in handling files through C. here is the problem im having: i will query the database (for instance consider employees table ) for empno,ename,job,salary fields.The query returns me some 100 of rows. now i need to place them in a file in row wise … Software Development c file-system | |
hi friends ... this is my 1st post ...m sure it gonna be beneficial to me.. wel m facing problem in dis assignment..as m nt dt gud in c++ programmin...pls help me out .....we have to use doubly linked list...n ya if its possible in Borland's C++ Builder6(pro)2005 compiler....as in … Software Development c++ display email first-post linked-list | |
I need to write a program that inputs an integer and a character, and outputs a symetrical triangle composed of the character that has the interger of new lines. I can only use 'while' loops at this stage of the course, and I know it has to be nested 'while' … | |
I learned Arrays, Functions, Pointers, Classes and Structures. Now I am ready to move on. My question is, What is the difference between a DLL and an API, and how does one access a DLL in a C++ program? Can someone give an example on how to do it please? … | |
'Here is my declarations: Declare Function atxml_ReadCmds Lib "AtXmlApi_Dbg.dll" (ByVal resourceName As String, _ ByVal ReadBuffer As String, _ ByVal numberBytesToRead As String, _ ByRef numBytesRead As Integer) As Integer Global resourceName As String Global ReadBuffer As String * 255 Dim NBR As Integer 'Number of Bytes Read Dim numberBytesToRead … Software Development visual-basic | |
Can someone who me an example on how to allocate memory in C++? I know I should be using [B]new[/B] instead of [B]malloc[/B] because i'm coding in C++ but I haven't found any simple examples anywhere.. Why i'm asking is because I need to create a function that searches through … Software Development c++ ![]() | |
i need to do a java program that finds the hypotenuse of a right triangle itried like 5 times but i cant do it can someone plz help me. Software Development java | |
Hi everybody, I want to get the start and end of all the patterns mattched in regex. I know I can get it with start() and end() fn of matched objects. But re.search() return the match object of first matching regex in the string. I want all match objects in … | |
im learning c and need help learning this concept and what it does [code]#include <stdio.h> #include <c.h> #include <math.h> #include <time.h> #include <stdlib.h> int rollone(void); void printrolls(int rolls[]); void printx(int howMany); int main (int argc, const char * argv[]) { int rolls[ 13 ], twoDice, i; srand (clock() ); for … Software Development c | |
Hello, Is there a function that would allow me to check the characters when they key is pressed....before the enter key? I am coding a program that requieres the user to enter only letters (from A to Z && a to z), but I want to check each character when … | |
hi, i want to build an application that involves all or the core j2ee technologies like jsp, ejb, mvc, struts, jmi etc... or even any good j2ee project suggestions are also welcome...i need good ideas badly as i need to start off soon..well i expect the great java nerds here … | |
Perhaps someone can show me how to fix the following example code so either the function outputx() or outputy() is passed to the function print_it(). void do_it(); // prototype void outputx(); // prototype void outputy(); // prototype void print_it( print_character() ); // prototype void outputx() { printf("x\n") } void outputy() … | |
Hey, I'm trying to create a on-screen keyboard for a group of disabled students at a school. So far i've managed to create the program to type out each letter/number that the user clicks on. This is fine, but I have to state the name of the active window that … Software Development microsoft microsoft-windows pascal | |
This is my double: double determinant = 2.8*5*-9.5; It should print out -133, right? It prints out some weird junk like: 1.8e + 04 How can I correct this? Software Development c++ | |
Hi guys and girls, im currently struggling trying to work out all this array and file input stuff! I have been going round in circles for the past few hours, reading books and googling everything i could, so now im hoping some of your intelligence will help me :) Basically … | |
hi in jsp how do i add two numbers that has been inputed by user which is in a text box... thank you Software Development java | |
I'm starting to pull my hair out. I'm pretty new to C++, and am trying to fix a loop I have in my code. I have not been able to give the user a way to exit the program unless he/she correctly anwers the multiplication question this program asks. I'm … | |
Hi I would like to know which is better. inialise a value like [code] int i=0; [/code] or like this. [code] int i(0); [/code] and why. Software Development c++ | |
I have a litle problem please help me whit: I want to write a methode whit one paramter. public int studentInformation(int hour){//How long time(hour) he was at school. - - - - - - --- - - - - - - - - - - - - - - - … Software Development java | |
Dear all, I have written a program in c++ to pass arrays of objects(belonging to the same class) to a member function. It works fine in VC++ but gives an error as "Undefined structure class name". My program is a larger one. So i am giving a similar code below. … Software Development c++ | |
Is it possible to allow people to input information and then when the click submit, have the information sent to my email account? If so, how would I go about doing this? I'm using VB6. Software Development email visual-basic | |
How would I convert a String* variable to a char*variable? Software Development c |
The End.