132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SergioQ

[B](Admin, sorry but I can't find what I would think the proper forum is. Please feel free to move this)[/B] Hello All, I am an old time developer. By old time I mean have been programming since the early 80's, my forte's are C, Win SDK, and more than dabbled …

Software Development apple apple-hardware iphone perl
Member Avatar for irfansblog
0
167
Member Avatar for restrictment

Is this even possible? Or do I have to make the user download the program before they can use it.

Software Development c++
Member Avatar for jonsca
0
122
Member Avatar for johndoe444

I have this code. I want to update the writes immediately to log file before closing the file (because my program might get hang and I have to exit it by ctrl+c so fclose would never be called). The code is: [CODE] 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 …

Software Development c file-system
Member Avatar for nezachem
0
254
Member Avatar for modesto916

Hi guys, I am Brazillian and i don't know how to speak english very well, but, let's to the question: I need a solution to automatically write a sequence of number to a file, for example, to write automatically to a file the number 1 at 254, this is what …

Software Development shell-scripting
Member Avatar for JeoSaurus
0
119
Member Avatar for BobBrown

I am needing to make a program add and multiple from two different entries and display the total on a different line. I am needing the syntax on how to add and multiply. A web reference page would be good as well. All I have is two classes at this …

Software Development java
Member Avatar for BobBrown
0
70
Member Avatar for johndoe444

Hi, The situation I am in is as follows: There are some computers in a network. They are sharing the same file server ie the same home directory. I am not sure how it works but logging from any machine using the same user name takes me to the same …

Software Development client-server shell-scripting
Member Avatar for JeoSaurus
0
101
Member Avatar for Fire_Michel

i dont know if any one had post any thing aboat this so i appologize for him\her if that happen and i didn't recognized [CODE] System.Drawing.Drawing2D.GraphicsPath ag = new System.Drawing.Drawing2D.GraphicsPath(); ag.AddArc(0, 0, button1.Width, button1.Height, 0, 360); button1.Region = new Region(ag); [/CODE] you can replace addarc with other option so you …

Software Development
Member Avatar for ddanbe
0
2K
Member Avatar for evilsweeps

Hi, this is my first post on here so forgive me if my question or code is unclear. I'm coding a binary search tree and I'm stuck on the overloaded ==operator. [CODE] //BSTCLASS.CPP template <class ItemType> void BstClass<ItemType>::rFindNode(node<ItemType>* trav,ItemType& item,node<ItemType>* rtTrav, ItemType& rtItem, bool& equal)const { rFindNode(trav->left, trav->left->data, rtTrav->left, rtTrav->left->data, …

Software Development c++ data-structure seo
Member Avatar for evilsweeps
0
272
Member Avatar for Egypt Pharaoh

I want to create application that create a textBox after 10 second from starting and create a label after 20 seconds from starting

Software Development
Member Avatar for sknake
0
112
Member Avatar for Hathake

Hi there everyone! I am doing calculator that analysses a math term in a postfix notation. My code seems nice, but I suspect it doesnt calculate at all ! It only writes back imput .. Maybe theres error in string/char conversion for all that I know. But please have a …

Software Development c++
Member Avatar for Lerner
0
83
Member Avatar for JasonDoyle

Is it possible to output a variable and/or a string to a text file?

Software Development java
Member Avatar for adams161
0
146
Member Avatar for johndoe444

Hi, In java, we can run a program remotely by doing something like this: [CODE]Runtime.exec("ssh machinename programname")[/CODE] I was wondering whether I can do the same in C using some standard library function call. Also is this possible to get a handle to the remote program's input/output to see its …

Software Development c
Member Avatar for gerard4143
0
95
Member Avatar for qwertymk

I know I'm supposed to use new and delete, but I really need to use realloc, and I'm curious to how it can be done. [code] myclass { ... public: myclass() { cout << "Hi, I'm the constuctor" << endl; }; int main() { myclass *m; m = (myclass*) malloc …

Software Development c++
Member Avatar for Narue
0
147
Member Avatar for GoGames1315

How do you find the CPU, of your computer, using dev-pascal ?

Software Development pascal
Member Avatar for FlamingClaw
0
109
Member Avatar for gods_angel

ok so here are the instructions for this project: Write a KochCurve program that uses DrawingTool and provides a drawKochCurve method for drawing Koch curves. Each drawKochCurve method can take the number of levels and an initial size as its parameters. Sample usage of the method to draw a 6 …

Software Development java
Member Avatar for persianprez
0
120
Member Avatar for NargalaX

Hey everyone, How would I go about creating a simple chat bot? I have finally just recently got an API running for a chat application called Steam, and I can send and receive messages with this program and moderate everything that goes through, too. So, I was hoping on getting …

Software Development api c c# c++
Member Avatar for Geschickte
0
263
Member Avatar for laNeek

Greetings! I've been messing around with a bit of code for a while now and I've got it compiling etc etc. The only problem is with perfecting the quicksort function (probably trivial, but then I'm not very skilled). From the output file, it seems to 'sort of' sort the string …

Software Development c++
Member Avatar for laNeek
0
104
Member Avatar for aleite

[code=java] Hello! I'm learning a little bit how to programme in java and I have a work to do. I have to read a file with a lot of lines where each line has 3 numbers: 2 doubles and 1 int (4.5 3.5 7). I'm trying to do like this …

Software Development java
Member Avatar for gunjannigam
0
110
Member Avatar for Dmennite

Hello all, Not sure if this is the proper forum for this but first: I am using Visual Studio 2008 and MySQL Server Version 5.1.42 and Client Version 5.1.11 programming language C# issue: save button from windows form for record editing using databindings and textboxes... is there a way to …

Software Development client-server mysql visual-studio
Member Avatar for Dmennite
0
180
Member Avatar for Stefano Mtangoo

I love to learn the hard way i.e with real world examples. I thought to make MP3 Player, but I changed mind and now I want to make small SQLIte driven app. How do you manipulate SQLite with Java? I'm googling to see if I will catch noobish things :-/

Software Development java sqlite
Member Avatar for Ezzaral
0
153
Member Avatar for student1t

Hi, I am trying to search for a word I have entered into a list. I could list all entries so far. But I am having a hard time figuring out a function that can search for a particular word on the list. Below are the codes. I commented out …

Software Development c
Member Avatar for student1t
0
80
Member Avatar for HITMANOF44th

hello out there i have a program i made to scan barcodes and reformat the data it gets from com2 now when the thing scanns theres a function called to a class but if there is no new data present it just sit's there waiting for new data ? and …

Software Development c++
Member Avatar for HITMANOF44th
0
102
Member Avatar for bijayswain

How to use reg add function in c or c++ program I am using system("reg add .........."); but this gives me a error " program too big to fit in memory" what could be the problem. please suggest

Software Development c++
Member Avatar for Ancient Dragon
0
1K
Member Avatar for Son of a gun

Is it possible to simply check a java String argument is present and return a boolean true or return false if the argument is of a Null value?

Software Development java
Member Avatar for Son of a gun
0
122
Member Avatar for Nithya.S

Hi, I want keypress event sample code.. I have a textbox and I want only numbers to be allowed inside the textbox.. help me out plz..thanks in advance. I tried: Private Sub Text1_KeyPress(KeyAscii As Integer) If (58 > KeyAscii > 47) Then Else MsgBox "Enter only Numbers" Text1.Text = "" …

Software Development visual-basic
Member Avatar for selvaganapathy
0
214
Member Avatar for Agni

[code=c++] class A: public B { C* p1; C* p2; } [/code] What would be a correct assignment operator for class A? We have to ensure that we do not leave any object in an inconsistent state due to any exceptions or create any dangling references or memory leaks.

Software Development c++
Member Avatar for Dave Sinkula
0
153
Member Avatar for Iam3R

Hi, i understand merge sort & quick sort even i can write the programs but iam unable to understand its complexity. its very easy to derive complexity equations for selection & bubble sort. as the code is little complex & recursive nature i am unable to understand its complexity and …

Software Development c
Member Avatar for Narue
0
127
Member Avatar for especta

Hi haw to count found maches in memo and show in tedit thanks.

Software Development pascal
Member Avatar for especta
0
105
Member Avatar for new programer

hello all I needed to cut a string at a certain point and swap the position of the pieces so I did the following functions [it does not work well] : [CODE]void findcutswitch(string unlock_w, char ring[][26]) { for(int i=0; i<3; i++) { for(int j=0; j<26; j++) { if(ring[i][j]==unlock_w[i]) { int …

Software Development c++
Member Avatar for Excizted
0
144
Member Avatar for rwagnes

I am supposed to create a chain of N processes, where N is the command line parameter. Each process creates a child process, prints out its own PID and its parent's PID, and then waits for its child to terminate by calling the wait() function. [B]Here is my code:[/B] [code=c] …

Software Development c
Member Avatar for shakunni
0
240
Member Avatar for Instinctlol

can anyone explain to me what return does? I know that return(0) stops the program at any given point, but what does returning others do?

Software Development c++
Member Avatar for Narue
0
116
Member Avatar for bluem1

Ok, sorry to be so needy this week! Here is the situation. I have discovered how to do a linq query to get my data from my xml but when I return it as a string to a list box it is coming in as one large line. No breaks. …

Software Development apple first-post listview vb.net xml
Member Avatar for bluem1
0
135
Member Avatar for nschessnerd

Hey, I use openfiledialog to load a file as so: [code=cplusplus] OpenFileDialog^ ofd=gcnew OpenFileDialog; ofd->Filter="Monitor files (*.hmc)|*.hmc"; ofd->FileName="";if(ofd->ShowDialog()==System::Windows::Forms::DialogResult::OK){ loadFile(ofd->FileName); } [/code] when i initially run the program memory in task manager is about 10,000K. when this code runs it jumps to 17,000K and doesnt go back down. I tried using …

Software Development c++
Member Avatar for Narue
0
138
Member Avatar for fadia

Question1: Modify your assignment-3, add separator mutator for each field and validate its value in mutators. The setTime validates time by using individual mutators of fields. Add no-argument constructor and three argument constructor. There argument constructor validates fields by using individual mutator of each field. Write new application to use …

Software Development c++
Member Avatar for fadia
0
105
Member Avatar for ankiwalia

i have to generate filenames text file names as c:\\blabla.. saved(counter).txt the counter is an integer value i cant do it i cant generate filename like dat i declared a string c:\\blabla second counter third .txt now i have to concatenate all three in a string variable and this has …

Software Development c++
Member Avatar for mrnutty
0
90
Member Avatar for JuvenileMango

How can I write a definition for a function that is passed a list of numbers and returns the sum of the numbers in that list using a while loop? I'm trying this, but it's not working def sumList(): num = [1,2,3] sum = 0 while num != str: for …

Software Development python
Member Avatar for JuvenileMango
0
92
Member Avatar for mashooka

I want to develop an HTML editor in vb.net for my B.C.A final project.Whether its worthy in this era and wil companies prefer these projects?

Software Development vb.net
Member Avatar for mashooka
0
87
Member Avatar for lovesjavamuch

hi! i now implementing laptop playing guitar where my touchpad is to do strumming and keyboard keys is to change chords. when i pressed a key and moving the mouse cursor i can do the strumming, now my problem is when i released the key i still can do the …

Software Development java java-swing
Member Avatar for JasonDoyle
0
130
Member Avatar for johndb

If I type [CODE]start microsoft word.exe[/CODE] or [CODE]start internet explorer.exe[/CODE] those programs won't start. If I type [CODE]start notepad.exe[/CODE] that program will start because I have the right name. Where would I find on my pc or on the web the correct terms / names to use when referring to …

Software Development shell-scripting
Member Avatar for sknake
0
243
Member Avatar for anevins

I'm starting a main class but when i refer the name back to my other java class, it cannot find the constructor when it is clearly there, in the right file directory. I'll give you the code from my constructor and the code i'm using in the main class. Constructor …

Software Development java
Member Avatar for anevins
0
137
Member Avatar for nccsbim071

Hi i want to compress the file on the file during FTP file download. Is it possible to do that. I have an application that downloads the files from remote FTP server as windows forms application using VB.net Please help Thanks

Software Development file-system vb.net
Member Avatar for sknake
0
895
Member Avatar for princesspretear

hi all, i am currently writing a program as my school homework. it used to work and when i changed the column name in my database, it won't save data to the database. i am currently using sql server 2005 and visual studio 2008 and c# language. here is my …

Software Development sql visual-studio
Member Avatar for sknake
0
212
Member Avatar for jianina07

sorry for this interruption.. May i ask you sir about our project.? It is a round medicine organizer that will alarm at a specified time that the user set. It's like a pizza pie that has 7 pies (compartment of the medicine). This what we want to happen. When the …

Software Development assembly
Member Avatar for jianina07
0
200
Member Avatar for JhonRR

Hello Everyone, i'm new to assembly language programing i would like to write a program that will print prompts to enter two values and a code #. If the code # is 1, output the greater of the values.... otherwise it should output the lesser here is what i have: …

Software Development assembly
Member Avatar for jianina07
0
201
Member Avatar for misstrouble

How do I assign a macro for a selected check box in one worksheet and copy the entire row onto another worksheet? What should I do if I have selected some rows and I want all of those selected in the check box appear on the new worksheet? Anybody out …

Software Development visual-basic
Member Avatar for misstrouble
0
175
Member Avatar for JasonDoyle

Is it possible to have AVI's play in Java Applets at specific times, eg: when a button is pushed?

Software Development java
Member Avatar for JasonDoyle
0
87
Member Avatar for saintrenz

I need Help! Consider this following modified version of the binary search algorithm. (Modifications are indicated by a comment highlighted asterisks.) With this new version of the binary search algorithmn work correctly for all data? If not, specify a situiation in which this version will fail. [code]template<class element, class Keytype> …

Software Development algorithm c++
Member Avatar for saintrenz
0
105
Member Avatar for pith

Hello, I need help with editing this program: [code]#!/usr/bin/env python """ Monte Carlo simulation for the Monty Hall Problem: http://en.wikipedia.org/wiki/Monty_Hall_problem. """ import sys from random import randrange, shuffle, choice DOORS = ['car', 'goat', 'goat'] def pick_door(): """Return a number representing the player's first choice.""" return randrange(3) def reveal_door(pick): """Return the …

Software Development python
Member Avatar for pith
0
133
Member Avatar for rss

I have set-up a deployment project to install C# application. Everything works fine, except I have to go add-remove programs to uninstall the program. How can I add an uninstall for the application.

Software Development c#
Member Avatar for Geekitygeek
0
148
Member Avatar for Camzie

Hi there I need help!!!! How do you read and write from an .ini file by using java sockets????

Software Development java
Member Avatar for Camzie
0
77

The End.