132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kalou

I have not attend any programing before...this is my first time...an i`m doing C++.... I studying in Kampala-Uganda.....i`ve been trying to finds books for beginners but i`ve yet get one....internet access here is very cheap...can somebody help me with the best website where i can get informations about the C++ …

Software Development c++
Member Avatar for zhouxuzhu1985
0
106
Member Avatar for asmit1987

Hi, I am doing a project in VB.net i wanted to ask you how can i retieve data from multiple tables in a single form. Plz help me with a code to solve my problem. Thank you

Software Development vb.net
Member Avatar for asmit1987
0
106
Member Avatar for murderotica

Hello there! Been doing some Windows Service lately and I have created a simple Windows Service application that monitors a folder and logs the activities on a text file. I have also created a controller to my Windows Service application. My question now is: Is it possible for Windows Services …

Software Development
Member Avatar for Jugortha
0
217
Member Avatar for Seamus McCarthy

I'm trying to append the end of the file treatments.txt but am unsure how to use the while loop correctly!! Any suggestions?? I tried boolean with the whiles aswell but can't seem to get it to work either. Like asking do you want to continue adding treatments and if yes …

Software Development c++ session
Member Avatar for Seamus McCarthy
0
130
Member Avatar for vmars

Greetings: I am having trouble with reading the code in thread "Tutorial: GUI programming with wxPython" ([url]http://www.daniweb.com/forums/post623598-3.html[/url]) Where tut shows code: [code] import wx """Example with sizers for dynamic resizing.""" app = wx.App(redirect=False) window = wx.Frame(None, title = 'Sample GUI App', pos = (100,100), size = (400,500)) background = wx.Panel(window) …

Software Development gui python
Member Avatar for vegaseat
0
194
Member Avatar for locsin

I want to use find command for searching file in the database, but if I add "and" command i received error. It is possible to use and in Find command I try to this syntax but it is error .Open "Select *From salary'", strconek, adOpenStatic, adLockOptimistic .Find "empno = '" …

Software Development visual-basic
Member Avatar for aktharshaik
0
116
Member Avatar for iamoldest

python 2.4 how do I say... [ICODE] if x is divisible by (random number) then: [/ICODE] in python coding?!? Thanks!!!

Software Development python
Member Avatar for jlm699
0
102
Member Avatar for codered152

hi guys i need help with list collection in java can somebody give me some good example of how to iterate over list, also explain little bit. Thank you

Software Development java
Member Avatar for ~s.o.s~
0
100
Member Avatar for jeffrides

I am a begining programmer taking a college course in VB. I am trying to place a label into a form. The project is complete and the problem is with some 'pretty' additions I am trying to do. The label properties appear fine; the same as all the other labels …

Software Development visual-basic
Member Avatar for jireh
0
106
Member Avatar for intel1111

I Need Some Help With A Program I Am Making I Have Created 2 Program One To Create The File And The Main Program. But There Is One Problem When Ever More Data Is Added To The End Of The File It Copy's The First Lot Of Data And Starts …

Software Development pascal
Member Avatar for intel1111
0
365
Member Avatar for cproud21

The assignment calls for me to find the area with the fewest accidents (north, south, east, west, central) in a city. I am to write two functions: -getNumAccidents() is passed the name of the region. It asks user for the number of auto accidents in the region, validates info, and …

Software Development c++
Member Avatar for sidatra79
0
82
Member Avatar for kalou

Write a program that prints point number through the keyboard and perform the square roots and display the result with 4 digits of decision ti the right of the decimal point i need a help so badly.

Software Development c++
Member Avatar for William Hemsworth
0
87
Member Avatar for dinilkarun

Hi All, I have created a two frames(Frame-1 and Frame-2) using BOA Constructor. Frame-1 has a button on it. On click of this button frame-2 is popped up to the user. I want the focus to be set only on Frame-2. What I mean is that: The application should not …

Software Development python
Member Avatar for dinilkarun
0
165
Member Avatar for dinilkarun

Hi all, I have used a status bar on my frame developed in BOA Constructor. I want to split my status bar into two parts in proportion of .75 and .25 i.e., First part should be 75% and 2nd part should be 25% of the total. And then at various …

Software Development python
Member Avatar for dinilkarun
0
172
Member Avatar for sarifah

please help me. urgent i have one date in a txtBox1.what i want is, after i click the button, the other date will appear on txtBox2. [B]The other date[/B] is the date after several days such as 7 days. so, how or what the coding to enable the other date …

Software Development visual-basic
Member Avatar for smile4evr
0
114
Member Avatar for kyeong

Use the given void function. This function will find the flight whose departure time is closest to desired_time(expressed in minutes since midnight). It will store the departure and arrival times of this flight (minutes also) in the variables pointed to by departure_time and arrival_time, respectively. Here's what I've gotten so …

Software Development c
Member Avatar for devnar
0
150
Member Avatar for maurya_alld

Hello, I have created a project in C#.net and I want now that created exe run only once on any particular machine after installation. Can any body told us how to do it. Regards Avadhesh

Software Development
Member Avatar for LizR
0
2K
Member Avatar for bimpok

I am going to develop a roadway traffic light simulator using java as my academic project. I have captured ideas about so from searching internets .I have to build a system which simulates a traffic network and the traffic flow is regulated using a fixed time controller first and then …

Software Development java
Member Avatar for stultuske
0
141
Member Avatar for samir_ibrahim

[CODE=VB.NET] Dim dr As DataRow Dim dt As DataTable Dim ds As DataSet ds = DataSet2 dt = ds.Tables("firm") dr = dt.NewRow() dr.Item("f_num") = 9999 dr.Item("f_name") = "samir" 'txt_FarmName.Text dr.Item("f_floor") = 10 'Val(txt_FloorCnt.Text) dr.Item("f_type") = "C" ' Left (com_CusType.Text, 1) ds.Tables("firm").Rows.Add(dr) [/CODE] as I am reading from an example? there …

Software Development dataset vb.net
Member Avatar for chan_lemo
0
145
Member Avatar for Kakashi

Hello there, im doing a small program just like a packet sniffer but i have a one problem.Below are the codes which are used to list all the network interfaces and the output will be something like this: 1.Interface Name's: lo / MS TCP Loopback interface Address: 127.0.0.1 2.Interface Name's: …

Software Development java pci-card user-interface
Member Avatar for masijade
0
246
Member Avatar for Frankinator

Suppose I were to use a code in my program very similar to this one: [url]http://www.codeproject.com/KB/IP/ftpclientclass.aspx[/url] What headers would I need to use? The tutorial doesn't state that, I downloaded their sample source codes for the compiler I use (Bloodshed) and none of the multiple example source codes' headers worked …

Software Development c++
Member Avatar for Frankinator
0
129
Member Avatar for ROTC89

ok now im working on another code. i have to add two arrays together to form one array. all that i am getting for the output is 2. here is the code...i know i am missing a few things but i just do not know what exactly. i # some …

Software Development shell-scripting
Member Avatar for eggi
0
124
Member Avatar for kotkata

This is my code so far [code] #include<fstream> #include<iostream> #include<cstdlib> #include<stdlib.h> using namespace std; const int MAX_GENERATED = 100; void fillArray(int a[], int size, int& numberUsed); //prototype int main () { int array[MAX_GENERATED], numberUsed; fillArray (array, MAX_GENERATED, numberUsed); getchar (); getchar (); return 0; } void fillArray( int array[], int …

Software Development c++ display file-system
Member Avatar for skatamatic
0
144
Member Avatar for Se7Olutionyg

[code]An ISBN (International Standard Book Number) identifies a unique publication. An ISBN is ten digits. The first nine digits must be decimal digits (0...9). The tenth may a decimal digit or the letter X, according to the checksum, discussed below. Three single dashes may be between any of the characters, …

Software Development c++
Member Avatar for skatamatic
0
189
Member Avatar for lordx78

I doing a project about Genetic Algorithm (GA). I'm looking for some book that shows GA in Java. Please advise. [COLOR="Green"]Books[/COLOR] [COLOR="Red"]Websites[/COLOR] [COLOR="Green"]Journals[/COLOR] [COLOR="Red"]White Papers/ Publications[/COLOR]

Software Development algorithm java
Member Avatar for dickersonka
0
132
Member Avatar for jakethesnake86

Ok, I have here a program where I'm trying to read a specific line from a file, store it as a string of characters, and then, if the right string of characters is stored, perform specific tasks. When I run this program I only get 11 of the characters stored …

Software Development c++ file-system
Member Avatar for jakethesnake86
0
484
Member Avatar for pyth0n

Hi, I am creating a game the asks the user if they want to play again at the end. If the user answers yes, I want python to execute the program again starting from the beginning. I have tried searching, but could not find anything. Is there anything in Python …

Software Development python
Member Avatar for pyth0n
0
106
Member Avatar for amerninja2

[COLOR="Red"]Hey, Im making a program in C++ that detects what the user types before pressing enter. So it uses GetAsyncKeyState in the following way: [CODE] #include <iostream> #include <fstream> #include <windows.h> using namespace std; int main() { SetCurrentDirectory("C:\\"); ofstream log; char loop; string input; loop = 'a'; while(loop = 'a') …

Software Development c++
Member Avatar for amerninja2
0
319
Member Avatar for clutchkiller

Is there a way to center align [COLOR="Red"]"text"[/COLOR]using cout<< in regards to the console screen position? thanks

Software Development c++
Member Avatar for sidatra79
0
78
Member Avatar for Xarver

I'm refreshing my mind of my C++ skills, and my older brother had the idea of creating a medieval text-based game! He's making all the ideas and all that, and I'm the code monkey programming it. Here's the code: main.cpp: [CODE=c++]#include <iostream> #include <string> #include "CLASHinfo.h" using namespace std; int …

Software Development c++ oop
Member Avatar for Xarver
0
148
Member Avatar for imcrackinup3

I have a project for which I need to use turtle. I'm very new to python, and our teacher didn't really explain how to use turtle. What's the basic format I need to use to draw a polygon? I have to define a function, polygon(), and run it with two …

Software Development python
Member Avatar for vegaseat
0
79
Member Avatar for NinjaDude007

I am gonna start off saying that I am new to C++, and I have little programming knowledge (just Q Basic, and it has been a while since I have used that), and I need help on an assignment in my C++ class. We have to use a case function …

Software Development c++
Member Avatar for NinjaDude007
0
176
Member Avatar for smile4evr

please can u help me with all basic VB coding like... if command button is clicked from one form how can i link it to another form in the same project and a few examples of simple codings at the basic level... thankx a lot!

Software Development visual-basic
Member Avatar for rstkw
0
286
Member Avatar for Dave Sinkula

What am I missing here? [CODE]#include <iostream> using std::cout; #include <vector> using std::vector; #include <string> using std::string; #include <algorithm> using std::copy; using std::remove; #include <iterator> using std::ostream_iterator; #include <utility> using std::pair; vector<string>& descend(const char *path, const char *pattern, vector<string> &filelist); void search(const char *path, const char *pattern, vector<string> &filelist); [COLOR="Red"]std::ostream& …

Software Development algorithm c++
Member Avatar for Dave Sinkula
0
1K
Member Avatar for gangsta1903

Hi, assuming that Element is a class,I prefer to create an array of objects size of which is unknown in this way: [icode]Element *elementArray = new Element[length];[/icode] Is there another way to create an array of objects size of which is unknown without using new key(without malloc too)? I am …

Software Development c++
Member Avatar for ddanbe
0
224
Member Avatar for yawjava

Hi am new at java and I was wondering what would be a code to remove it if i provide the coeff I know is -Given the index you want to remove -set the node at the previous index to point to the node at the next index -set the …

Software Development java
Member Avatar for BestJewSinceJC
0
199
Member Avatar for MaxManus

When I am trying to install Python on my computer I get the error "administrative rights are required". It is only one account on my computer so I do not understand the message.

Software Development python
Member Avatar for Stefano Mtangoo
0
124
Member Avatar for massivefermion

Hi Excuse me but i came again Can someone learn me how to work with py2exe? thanks

Software Development python
Member Avatar for lllllIllIlllI
0
101
Member Avatar for bahr_alhalak

HELLO every one:) >> could any one help me to solve this program :icon_neutral: >> and explain it to me >> download the file bellow ....:$

Software Development java
Member Avatar for dickersonka
0
269
Member Avatar for tatainti55

How do i make for example an x move using your arrows in a console application?

Software Development c++
Member Avatar for tatainti55
0
52
Member Avatar for dem10

I have been given a project in my Python class that reads in a file, and in the file, 32 attributes are given to determine if a lump is either a benign or a malignant tumor. In my trainClassifier function, I have to find each attributes total for both malin. …

Software Development machine-learning python
Member Avatar for tyincali
0
209
Member Avatar for NinjaLink

This is my default screen(output): a - Add a friend m - Modify a friend's p - Print list of friend's s - Search by Last name (a, m , p , s is what the users type to access that part of the database) a - For my addFriend's …

Software Development c++
Member Avatar for ddanbe
0
97
Member Avatar for Astudent

So I am getting into the swing of python in my class, and am currently trying to take a program from an example, and making it much more condensed. The issue I am having, is there are many classes for a tkinter guessing game. [ICODE]def question5(): if entry5.get() in ["Samus", …

Software Development java-swing python tkinter
Member Avatar for tyincali
0
128
Member Avatar for tones1986

Hey all - i am working on an assignment in which i previously created a class to create a Binary Tree. The follow up assignment was to create a Binary Search Tree... but using all the BT methods except an additional couple and obviously a different insert method to stop …

Software Development c++
Member Avatar for tones1986
0
225
Member Avatar for cproud21

If i have 5 int variables with values stored in them, is there a command to find the lowest valued variable?

Software Development c c# c++
Member Avatar for financeSEObegin
0
72
Member Avatar for nnobakht

Hi guys, Im brand new to doing tansformations and cannot seem to wrap my head around it. I have a Xml File which looks something like [code] <parentNode> <childnode1 att1="1" att2="2"/> <childnode2></childnode2> <childnode1 att1="1" att2="2"/> <childnode21></childnode21> <childnode1 att1="1" att2="2"/> <childnode22></childnode22> <childnode1 att1="1" att2="2"/> <childnode23></childnode23> <childnode1 att1="1" att2="2"/> <childnode24></childnode24> <optionalNode></optionalNode> </parentNode> …

Software Development xml
Member Avatar for nnobakht
0
144
Member Avatar for mrjoli021

What is wrong with my code. it poulates the arraylist with only the filename "c:\testfile.txt" i need it to populate it with the contents of the file. [code] private ArrayList<String> Files2Delete = new ArrayList<String>(); private String fName = "c:\\TestFile.txt"; private void fileCollection () { Scanner in = new Scanner(fName); int …

Software Development java
Member Avatar for dickersonka
0
95
Member Avatar for uim_1977

Can any one translate to c++ one line of the code pleas [CODE] int column = this->dataGrid1->get_CurrentCell().get_ColumnNumber(); [/CODE]

Software Development c++ delphi
Member Avatar for uim_1977
0
140
Member Avatar for Azurea

Hey Daniweb Python forumers, I'm guessing that this is a Vista thing, but when I run my wxPython programs in Vista by double-clicking the file, I get errors from the computer saying that "python.exe has stopped working". I also use the IDLE IDE, so when I run the program from …

Software Development ide python
Member Avatar for shadwickman
0
138
Member Avatar for gouki2005

I am new in this language.....but..i want to know this... is VB- you have SUB AND FUNCTION Ths sub is just a procees...Doesnt return nothing... and the function is that a function but returns a value in Csharp...did you use sub and functions????

Software Development
Member Avatar for dickersonka
0
81

The End.