43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for sir avalanche

ok. so i decided to make a very irritating program that fills the computer its run on with junk. here is what i have done yet: [CODE]#include <iostream> #include <fstream> int main () { int i; ofstream filut1 ("allisdust1.txt"); ofstream filut2 ("allisdust2.txt"); ofstream filut3 ("allisdust3.txt"); ofstream filut4 ("allisdust4.txt"); ofstream filut5 …

Software Development c++
Member Avatar for hollystyles
0
162
Member Avatar for Begjinner

Hey, I was looking at some old Python topics and they contain nice info, but they also use the PHP tag for showing code - which doesn't work. Maybe these old topics can automatically be changed with the proper tag for python code? Thanks, Lars

Software Development python
Member Avatar for Begjinner
0
107
Member Avatar for jaasaria

it posible to change the skin of the form?? including the command button and other tools?? i would like to design a system that much attractive that the ordinary visual design.. could anyone help me. pleaseeeeee....... jaasaria

Software Development visual-basic
Member Avatar for Jx_Man
0
112
Member Avatar for shaikh_mshariq

Thanx to daniweb and all the posters. I have created a program for viewing process and hardware information on windows platform. Now i want to run this program on remote machine. How can i do this. I have administrator permission on that machine. Making dll of this program would help …

Software Development c++
Member Avatar for shaikh_mshariq
0
274
Member Avatar for moffett018@aol

I need help on how to write a program that determines the number of days between two dates input by the user...u have to use at leat one loop structure and i dont know where to start...can someone please help me...i have the input by the user down i jus …

Software Development c++
Member Avatar for moffett018@aol
0
88
Member Avatar for dbwalters

Hello, I am working on a program that is using the type DATE to develop a class Event to model events scheduled for dates. This might be a familiar question to some, but, I have run into an error during the compile and I need help in debugging it. Below …

Software Development algorithm c++
Member Avatar for dbwalters
0
107
Member Avatar for majestic0110

I am thinking about creating a C# program that applies an XSL-T to XML to convert it to HTML. any ideas as to how difficult that might be ?

Software Development xml
Member Avatar for Jugortha
0
297
Member Avatar for jaasaria

dude. know to search databse will automatically scrooldown the txtbox? hi.. can any one give me example for this code. that will automatically dropdown the txtbox for the other data in databse.. ^_^ sorry for the explanation... can't explain so well..^_^ jaasaria

Software Development visual-basic
Member Avatar for jonc
0
262
Member Avatar for CloudKill9

Every time I run this program, I get the number the user inputted printed back on the screen infinite amount of times. According to my CS teacher, he wants us to use basics, no arrays or strings. The user is suppose to type in several numbers followed by -999. Say …

Software Development c++ data-structure
Member Avatar for CloudKill9
0
108
Member Avatar for jaasaria

i have a problem about my database when i press sa save comand button it goes something like that... run time error -2147467259 operation must use an updateable quary.. i cant detect the true error... help help the code in my save are corect check this... Sub saverecord() rsemployee.AddNew rsemployee.Fields("EmployeeID") …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
114
Member Avatar for kaloc

{ This is an exploratory question to just find out if something is possible. } The facts are these : 1. The java program is closed source, but is running on an accessible workstation. 2. The gui is written in AWT. 3. OS is windows 4. Windows tools like Spy++ …

Software Development gui java
Member Avatar for kaloc
0
141
Member Avatar for arkaprava

I m going to build a data modelling software project by java like DDS LITE I am coding the algorithmic part of the project where I have to build some composite data at the preliminary phase of the implementation of the algorithms, such composite data items are entity , relationship …

Software Development java
Member Avatar for arkaprava
0
203
Member Avatar for george45

I am writing a program that is supposed to generate 10 random numbers all of them with in the range of [-0.5, 0.5] (the data type that is supposed to be produced by the program are 10 random floating point numbers with in the interval [-0.5, 0.5]). But the problem …

Software Development c++
Member Avatar for VernonDozier
0
167
Member Avatar for tamereth

My program works properly under windows, however, it seg faults when I try to compile/run it under linux. [code=c++] #include <fstream> #include <iostream> using namespace std; int main() { char command; char infilename[80]; char outfilename[80]; char fileline[80]; char nextline[80]; char temp[80]; char temp2[80]; char * location; char sentence[250]; int loc …

Software Development c c# c++ ios
Member Avatar for tamereth
0
178
Member Avatar for HLA91

Hi all My bro rang me up, and for some reason he asked me to make him a "simple" program that creates a folder and the user enters the name for that folder then it acopies pre set files in to that new folder. The folder will be created in …

Software Development c
Member Avatar for Aia
0
283
Member Avatar for bushman_222

Hey all. Can some please confirm some winsock items, I am starting to doubt my self about it now. The question is this: If you created a client server program, what port does the client winsock.localport actually connect? Is it the same port that you request it connect to, or …

Software Development client-server visual-basic
Member Avatar for jonc
0
127
Member Avatar for AsymptoticCoder

I am hoping somebody can help with a very frustrating problem I am facing. I am working with a MDIChildFrame that has one panel called mainPanel. I set the background style of both the panel and the child frame to wx.BG_STYLE_SYSTEM. Yet, when I run the program the background is …

Software Development python
Member Avatar for vegaseat
0
155
Member Avatar for majestic0110

hi there, creating a structured databse (maybe in SQL) that I want accessable from a UI in c#. Is SQL the best way to go about this ? cheers

Software Development asp c c# c++ sql
Member Avatar for majestic0110
0
74
Member Avatar for jonathanasdf

It is late here, I am tired. I know this is probably out there somewhere, and that I am not showing effort by not looking for it, but I really am too tired, so tomorrow morning if this is answered (takes you like 2 seconds to answer it) I'll mark …

Software Development c++
Member Avatar for jonathanasdf
0
105
Member Avatar for shaikh_mshariq

I want to develop process viewer for windows in c or c++. Is there any api or any information so i can start from that. Anyone know about this please help. Thanx in advance.

Software Development api c windows-api
Member Avatar for shaikh_mshariq
0
104
Member Avatar for electron33

Hi. I have been trying to access Microsoft Outlook from Java. This be in case of jsp page or traditional Java. Is there anyone how knows how? In the same case i would also ask if someone have tried to use mail session in Apache Geronimo. There is a plugin …

Member Avatar for peter_budo
0
234
Member Avatar for sarabhjeet

Hello all, actually i need to open a CHM file when i click on Help's submenu "Documentation",how to do this,how to open a file.Please help me.

Software Development python
Member Avatar for sarabhjeet
0
114
Member Avatar for silverwulffe

Hi there! I'm having a homework problem, but it's with the header code I was provided in the text. When I try to use it, I get "name lookup of 'x' changed for new ANSI 'for' scoping using obsolete binding at 'x'" Did I do something wrong? Or is there …

Software Development c++
Member Avatar for silverwulffe
0
377
Member Avatar for superjacent

Hope someone can help. I'm self-studying from C++ Primer Plus, 5th Edition. I'm having trouble working out why the following two files will not compile. I'm using Dev-C++, under Windows Vista. [code="cpp"] /* Name: bankaccount.h Copyright: Author: Steven Taylor Date: 28/01/08 14:04 Description: C++ Primer Plus, Chapter 10, Programming Exercise. …

Software Development c++ windows-vista
Member Avatar for superjacent
0
191
Member Avatar for nurulshidanoni

i hava a data student id examcode 1 002 006 001 2 123 589 How to store data when it have two data in 1 foleslike above? in .txt ot .cpp? and how can c++ called the data?

Software Development c++
Member Avatar for nurulshidanoni
0
793
Member Avatar for dragonheart

i am using another software in my VB form using an OLE container. i need to retrieve the value generated by that software into my form. is it possible ? plz help me out and i have another doubt. i am using ADO connection to connect to backend in the …

Software Development visual-basic
Member Avatar for venkatramasamy
0
341
Member Avatar for CodyOebel

Ok here is what I am trying to do at work as it's slower than a turtle in a race right now. I have a log of text guessing about 40 lines total. the last three sentences are what I am after .. being 38,39,40. I need to be able …

Software Development c++
Member Avatar for CodyOebel
0
102
Member Avatar for darklich13

I am tring to set an array with its values to zero within a constructor, but I can't get it to work. I have created an array with the size of 5 in the private of my class. I want the values of my array to be set at zero. …

Software Development c++
Member Avatar for darklich13
0
205
Member Avatar for penguin47

Hello all, I am very new to programming and my teacher has started us on Python. While I think Python would be a great choice for most people, I have come to the conclusion that I am not cut out for programming. I am finding it very difficult, though fun. …

Software Development python
Member Avatar for vegaseat
0
123
Member Avatar for gallantmon1

I'm making this program and keeps telling me these errors: 35 expected `;' before ':' token 35 expected primary-expression before ':' token 35 expected `;' before ':' token 17 label `ins' used but not defined I can't seem to find what the error is, it may only be a simple …

Software Development c
Member Avatar for gallantmon1
0
542
Member Avatar for dexter1984

Hi, I need some help with an assignment. Got some problems with my while loop. Can't seem to figure out what's wrong with it. [code=cpp] #include <iostream> #include <string> #include <bitset> using namespace std; int last (int num) { int l; l = (num % 10); return (l); } int …

Software Development c++
Member Avatar for JRM
0
203
Member Avatar for JoBe

Good evening ladies and gents, Had a question concerning this piece of code that I'm trying out from a book, it supposed to open a file, write text to it, close it, reopen it, append text to it and then write the text from the file to the console screen, …

Software Development c++ ios
Member Avatar for JoBe
0
143
Member Avatar for loushou

Here is my code: [CODE]int LoadVerts(char *s_fName, OURCUSTOMVERTEX *p_Verts, short *p_Indices) { long i_CountVerts; long i_CountInds; unsigned char buffer[sizeof(OURCUSTOMVERTEX)]; basic_ifstream<unsigned char> f_DataFile; f_DataFile.open(s_fName, std::ios_base::in | std::ios_base::binary); f_DataFile.read(buffer, sizeof(long)); memcpy(&i_CountVerts, buffer, sizeof(long)); f_DataFile.read(buffer, sizeof(long)); memcpy(&i_CountInds, buffer, sizeof(long)); if ((p_Verts = (OURCUSTOMVERTEX *)realloc(p_Verts, sizeof(OURCUSTOMVERTEX) * i_CountVerts)) == NULL) exit( 1 ); if …

Software Development c++
Member Avatar for Salem
0
273
Member Avatar for dallaseve

[CODE]#pragma once class Account { public: //default constructors Account(); //constructor Account(double newSavingsBalance); //Methods //double MonthlyInterestRate(); //double newBalance(); void getMonthlyInterestRate(); static double AnnualInterestRate(); static void ModifyInterestRate(double newAnnualInterestRate); void setSavingsBalance(double newSavingsBalance); double getSavingsBalance(); double getAnnualInterestRate(); public: ~Account(void); private: double SavingsBalance; //static double AnnualInterestRate; };[/CODE] [CODE] #include "StdAfx.h" #include "Account.h" Account::Account(void) { } …

Software Development c++
Member Avatar for dallaseve
0
103
Member Avatar for ssakhamuri
Member Avatar for vegaseat
0
267
Member Avatar for dbwalters

Hello, I am trying to create a program that will read the point-slope information for two lines and determine if they intersect or are parallel. Below is the code I have: [CODE=c++]/*Point_Slope.ccp Reads the point and slope information for two lines and * determines whether they intersect or are parallel. …

Software Development c++
Member Avatar for dbwalters
0
150
Member Avatar for k2k

hi, I am trying delete an old txt file and rename the new modified txt file... i followed everything from the example. However, i can't successfully rename the file. deletion is ok though. thank you. [code=cpp] void save(Name inName[], int j) { ofstream writer; writer.open("save.txt"); for(int x=0; x<j; x++) { …

Software Development c++
Member Avatar for Salem
0
139
Member Avatar for rcadble

I'm trying to make a somewhat simple PHP ide for personal use, I'm not too skilled in VB.NET and would like to learn some things about controls I am unfamiliar with, including the treeview control. Docked to the left of the form is a treeview control, where I hope to …

Software Development hard-drive ide vb.net
Member Avatar for Narue
0
169
Member Avatar for Thew

Hi, I need to resolve this problem: Is there any way, how to replace currently runned application with a new version? Like through uninstallation, when uninstall.exe is removed by itself. I have dialog with AutoUpdate in my application. It's small application so I don't want to make another autoupdate.exe file. …

Software Development file-system pascal
Member Avatar for Thew
0
124
Member Avatar for jonathanasdf

Never mind. That question was solved by myself. anyhow, when I compile my code, I get an error. [CODE] #include <iostream> #include <windows.h> using namespace std; int main(){ for (int number=1; number<=6; number++;){ if (number == 1){ numbersuffix = "st";} else if (number == 2){ numbersuffix = "nd";} else if …

Software Development c++
Member Avatar for jonathanasdf
0
218
Member Avatar for mrynit

I need to get a string from the console that is given in hex form like this: 3e900000. Then I need to convert it into bit so I can do bit wise thigns too it to generate the following out put: [QUOTE]3e900000 ==> 2^-2(1 + 2^-3)[/QUOTE] The above is a …

Software Development java storage
Member Avatar for mrynit
0
142
Member Avatar for cms271828

Hi, I have an application, that has a JFrame. Added to the JFrame's contentPane is a JDesktopPane. I use JMenuItems in the JMenu (in JMenuBar) to add, and then remove a JInternalFrame inside the JDesktopPane. But now.. when I use any acclerator keys, to invoke JMenuItems, they don't work, its …

Software Development java
Member Avatar for cms271828
0
91
Member Avatar for majestic0110

Hi all, just wondering if you anybody could give me some pointers as to where I could find a Microsoft tipsheet/how-to tutorial in terms of UI [I]design [/I](I know how to code it). Many thanks

Software Development
Member Avatar for majestic0110
0
124
Member Avatar for xoron123

hello i am an absolute noob to java...took me about a day to work out how to compile a .java file to a .class file now i cant run the .class file in DOS can anyone help me plz :( the error i get is "Exception in thread "main" java.lang.NoClassDefFoundError: …

Software Development java
Member Avatar for xoron123
0
137
Member Avatar for sarabhjeet

Can u please tell me how to detect ascii and non-ascii strings in python? Editor's note: In the future, please give your thread a meaningful title.

Software Development python
Member Avatar for woooee
0
113
Member Avatar for jonathanasdf

Hello everyone, I have been visiting this site often as a guest, and I've noticed that it is a very nice community. Now, I have a question myself, and I hope I will be able to get some answers =D Anyways, I started learning C++ about... 2-3 weeks ago. Not …

Software Development c++
Member Avatar for jonathanasdf
0
144
Member Avatar for loushou

Okay... my goal is to start with an array of for instance 5 entries. [CODE]int myArray[5];[/CODE] Then at some point once the array is passed to a function, change the number of entries (example: load a new list of something into the array that has a different number of entries) …

Software Development c++
Member Avatar for Narue
0
83
Member Avatar for Aashath

I have implement a desktop lookup mechanism . Indexing and retrival works fine. But when a file is updated , created or deleted i would like to get the notifaction so that i can update my index . Is there any C++ code availabe for FileSystemWatcher ( which is in …

Software Development c++
Member Avatar for vijayan121
0
166
Member Avatar for nikolabt

I have make connection with the Access DB in Visual C# 2005 everything is ok and working great. The wizard has make and toolbar for adding deleting data and saving.So my question is how i can make now when the user click on let say want to delete data show …

Software Development c#
Member Avatar for nikolabt
0
254
Member Avatar for KimJack

Hello All, I am trying to parse a text file with the following type lines: Mr. Jones has a "dog" and a "cat" I need to extract the dog and cat and put them into an array of Items. Here is the set up: character = read.read(); char first = …

Software Development java
Member Avatar for KimJack
0
200

The End.