199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for andrewama

I have to write a program that would test the member function in a loop to show that the tick member function works correctly. it needs to test 1. incrementing into the next minute. 2. incrementing into the next hour 3. incrementing into the next day. heres what i have …

Member Avatar for andrewama
0
285
Member Avatar for Motvel

Hi, i want to copy a string from a register (SI), into another register (DI). But, before copying i need to scan the string for blanc space. If there is more than 1 blanc spaces (SI), i need to replace all blanc spaces with one space and put in DI. …

Member Avatar for NotNull
0
80
Member Avatar for AussieCannon

Hi, I am trying to make a script that automatically votes in this poll that is a competition. It is located [URL="here"]http://kube93.com/pages/promo_page.html?feed=227429&article=4470761[/URL] to start off there was no email field required so through some experimentation and dissection of there code I found everytime I loaded [url]http://kube93.com/cc-common/polling_tool/a.php?poll_id=99878&redirect=/pages/promo_page.html?feed=227429&article=4470761&optionID=486193[/url] my school would get …

0
175
Member Avatar for jbrock31

Hi everyone. I decided to try and learn C++ on my own and i have ran into a problem and i just need slight kick in the butt. :) I am just learning structures and i am practicing using some of the examples at the end of the chapter in …

Member Avatar for jbrock31
0
143
Member Avatar for Djanvk

I understand how to get text out of a textbox in visual C++ but what I'm after is how to break the text up at each space and put those parts into an array. For example I have a group of numbers: 2 5 9 10 44 ect and I …

Member Avatar for Djanvk
0
116
Member Avatar for imabut

i'm trying to implement my own edit menu using Tkinter, my cut and copy methods,... seems to work fine but I'm having allot of trouble getting my paste method to work. will someone please help? (((its kinda ugly i know, but i'm still new to programming and i'm more focused …

Member Avatar for imabut
0
3K
Member Avatar for Grub

Hi I have a program that finds duplicate files and lists them in a Jtable. I have modified the default Table Renderer to change the colour of the cells but I want them to have more than two colours. Say Blue for the first set of say 5 files all …

Member Avatar for Grub
0
2K
Member Avatar for inumbris

Hello, In real life, my name is Bill G.; "inumbris" is a descriptive handle that describes my status relative to most programming and IT matters (The latin scholars among you will maybe have a chuckle). I live in Idaho, USA and am a retired programmer mostly unaquainted with the modern …

Member Avatar for jbennet
0
95
Member Avatar for biggulps

My input text file contains this: -4.1 -2.2 -0.5 1.2 4.6 5.1 2.1 0.2 -3.6 -4.1 0.2 0.5 2.2 4.1 -0.2 -1.2 -3.3 -4.6 -5.0 -2.2 -1.1 0.8 3.2 -0.1 -4.8 And I need to average and do some other functions with these numbers. However I can't get started, or …

Member Avatar for biggulps
0
122
Member Avatar for serkan sendur

i wondered if this is possible : you will create a windows service application and it will collect information from a certain type of application. let's say if the user is using ms word, i want to keep trace of the user on that like the typed words, clicked buttons …

Member Avatar for Jugortha
0
155
Member Avatar for kotkata

Basically this code serves to take in an input file and convert all the "<" and ">" into "&lt" and "&gt" respectively. This works however, I cannot get it to convert the rest of the .txt file into the output file. Right now, it just works with the very first …

Member Avatar for ddanbe
0
116
Member Avatar for Kevinle

I am searching for the topic, and I don't know whrere to start. Pease advise. Your assistance is greatly apprecieated. Thanks. Kevin

Member Avatar for Lerner
0
92
Member Avatar for Gaurav arora

Hi all i m facing a problem in my project. I want to add all the rows of a particular column(based on name of the column) in the combo box without using data bindings wizard. i need it through coding Any help plz

Member Avatar for Jugortha
0
116
Member Avatar for aksshe10

I use Turbo C++ explorer i need to get file name from a TFileListBox which is an AnsiString, and use it in CreateProcess but CreateProcess Requires an "LPCTSTR" or "LPTSTR" I would like to convert the ansistring to LPTSTR Please help thankx in advance

Member Avatar for Alex Edwards
0
210
Member Avatar for Stefano Mtangoo

I'm just asking for anyone who knows anywhere to get list of inbuilt wx.ID like wx.ID_CLOSE etc (HTML/PDF), because I dont want to use Id while there is built one. Also can I use menu simiral to something like GetId() Method?? Thanks

Member Avatar for Stefano Mtangoo
0
861
Member Avatar for mrjoli021

Why wont this delete the files in the arraylist. i checked the arraylist and the files are there. i even added a "\\" to the files and still nothing. i dont get any errors. [code] private void fileDelte () { for (int i =0; i<Files2Delete.size(); i++) { File f = …

Member Avatar for Ezzaral
0
235
Member Avatar for m18

i'm beginner in c++ and i get a problem the problem is error C2065: 'radius' : undeclared identifier and the program [code=cplusplus] # include <iostream> using namespace std; class circle { public: void setRadius (double r) { [COLOR="Red"][B]-[/B][/COLOR] radius = r; [COLOR="Green"] //here the problem and i don't know why …

Member Avatar for m18
0
147
Member Avatar for kasbaba

Hi, It has been days that I have been working a simple wizard where users can add nodes as typed in BOLD in a treeview control : When the user has finished entering data my treview looks like this : [B]Is this the first time you are visiting DANIWEB ? …

Member Avatar for kasbaba
0
133
Member Avatar for kyserthehun

Hi, i'm having a little trouble with my Zeller's Algorithm problem. Everything seems to work fine unless the year is 1600, 1700, 1800, ect. I've been trying to figure out where i went wrong but to no avail. I'd appreciate any advice. Thanks. [code] #include <iostream> #include <iomanip> using namespace …

Member Avatar for ddanbe
0
789
Member Avatar for daviddoria

I have a base class called "ModelFile" which I derive several types of 3D model file classes from. Many of these types of files are just a set of points, so in the base class I have a vector<Point> member. Some of the derived file classes also have vector<Triangle> members. …

Member Avatar for grumpier
0
143
Member Avatar for Endlezz

Hello, I am new to C++ and am not currently in a class teaching it. I am wondering well, basically, WHAT OpenGL is, how to operate it, a direct link of how to get it, and maybe some example code of where to get it? If someone could tell me …

Member Avatar for Endlezz
0
128
Member Avatar for Gaspacho

Hi there I currently have project in school. In the beginning it was supposed to just get data from database and have some settings available. But recently I got 2 more co-workers and they should participate by adding some more functionality. That is when I started to make the page …

Member Avatar for ~s.o.s~
0
120
Member Avatar for yinfu89

Sorry , Newbie here i have no clue on how to do "Write a complete C program to read twenty (20) integer numbers. Then count and display the number of even and odd numbers among the twenty (20) integers read. Use a while loop to perform the repetition task." is …

Member Avatar for ddanbe
0
133
Member Avatar for Dave Sinkula

Say you have a list of .wav files in a particular directory tree, and say you have another pile of .phr files that may or may not be in the same directory tree. The .phr files contain in text the names one or more .wav files. And you need to …

Member Avatar for vijayan121
0
215
Member Avatar for localp

i want to convert a string to an integer value... for example :: if there is a string called "Guy" G=7; // in the alpherbert G is = 7 u=21; y=24; i want the out put to be as >> 7 21 24 can some one plzz help me to …

Member Avatar for skatamatic
0
131
Member Avatar for blackrobe

I've been reading an article but the code is written in C language which I don't get at all... The code is: [CODE]void traverse(Tptr p) { if (!p) return; traverse(p->lokid); if (p->splitchar) traverse(p->eqkid); else printf("%s/n", (char *) p->eqkid); traverse(p->hikid); [/CODE] Someone please translate it to python...

Member Avatar for tyincali
0
159
Member Avatar for mgn2683

I have a sort of complex query to write and I don't know where to start. Basically, there are list and detail pages of candidate answers on a site. There are readers assigned to certain candidates. Is there a way to display a list page showing [U]only[/U] the candidates assigned …

Member Avatar for mgn2683
0
89
Member Avatar for rmlopes

Hello all, I am trying to templatize a class with a Typelist. Until here everything good. But I cannoyt create a Typelist to define the templated class. The following model reproduces the problem: [code] template< class TL > class A { A(){} }; int main(void){ typedef Loki::DefaultSPStorage< std::vector<int> > AStorage; …

Member Avatar for rmlopes
0
235
Member Avatar for mina1984

hey i was wondering if someone could help me with this problem. It deals with the hanoi puzzle and i did the code but the output isnt correct and ii cant figure out why can someone help? heres my code [code] #include<iostream> using namespace std; void towers_of_hanoi(int height, int from, …

Member Avatar for ddanbe
0
197
Member Avatar for Smed

I'm trying to use the createprocess function to start an xsession, but so far I've been unsuccessful. Here is the code I'm trying to use: [CODE] _tcscpy(tszCommandLine, _T("C:\\Program Files\\Hummingbird\\Connectivity\\12.00\\Exceed\\Xstart.exe C:\\Documents and Settings\\username\\Application Data\\Hummingbird\\Connectivity\\12.00\\Profile\\XSW3.xs")); CreateProcess(NULL, tszCommandLine, NULL, NULL, FALSE, NULL, NULL, NULL, &si, &pi); [/CODE] If I try to make the …

Member Avatar for Smed
0
109
Member Avatar for isotope

Hi everybody, there's a question I would ask about php functions. I would like to know if it is possible to have optional variable in functions. Let's say, for instance, that I have: [CODE]function my_fun($a,$b,$c){ various stuff }[/CODE] In some cases I would recall the function, inputting values for "a","b" …

Member Avatar for isotope
0
105
Member Avatar for mrboolf

Hi all. I am playing around with [URL="http://www.gnu.org/software/libc/manual/html_node/Reading_002fClosing-Directory.html#Reading_002fClosing-Directory"]this[/URL] and [URL="http://www.daniweb.com/code/snippet579.html"]this[/URL] code snippet by Ancient Dragon. I didn't want to copy-paste so I came out with various simple attempts, the last of which looks like this: [CODE=C++]#include <iostream> #include <unistd.h> #include <dirent.h> #include <vector> #include <algorithm> using namespace std; int main(int …

Member Avatar for mrboolf
0
126
Member Avatar for zanzo

usually we create a url with parameters and values and send it via ajax to not loading page. Is there a way to not send variables in the url [B]BUT [/B]using hidden variables?? I have a problem in my website that doesn't permit me to send variable in url, so …

Member Avatar for zanzo
0
110
Member Avatar for JavaNewbieEK

I am kind of new to JAVA and I am trying to hide a user's input (such as when the user types a password). I am not using any type of GUI just running my small programs directly in the UNIX Terminal. Is this possible to do simply, unfortunately I …

Member Avatar for stultuske
0
479
Member Avatar for bapak

i'm using vb.net 2005 express + mysql connector to connect to mysql database. i want to save image into mysql database. so i've created a table with img field as longblob. to save the image, first i convert it into byte() and then insert into the table. the problem is …

Member Avatar for moquitto
0
396
Member Avatar for blackhawk9876

[code=cplusplus] // SPECIFICATION FILE (sList.h) // This file gives the specification of a sorted ADT // The list components are maintained in ascending order of value //****************************************************************** #ifndef SLIST_H #define SLIST_H const int MAX_LENGTH = 50;// Maximum possible number of components needed typedef int ItemType; // Type of each component …

Member Avatar for William Hemsworth
0
138
Member Avatar for shanee

Hello to all i have two directories at my webserver 1st = old-pictures 2nd = new-pictures i want to move every file individually to the 2nd directory with the help of php, can anyone help me in this problem thanks shanee

Member Avatar for Richard1122
0
182
Member Avatar for mcgd

Hi, I have a Windows form bound to a DataTable through a BindingSource. When I call EndEdit on this BindingSource, it does not always change DataTable to show the modifications, and calling GetChanges on the DataSet returns null. Here's the situation in more detail - I have a DataSet, and …

Member Avatar for LizR
0
2K
Member Avatar for chris5126

Hi guys, I need a command on solaris 10 to show how much cpu is bein used in % terms but more specific than sar i need it down to 0.0% if that makes sense. Basically im tryin to find out how much cpu is being used say 25.5% and …

Member Avatar for chris5126
0
95
Member Avatar for Tank50

HI Guys Below coding give me an exception [COLOR="Red"]cannot bind to data table with no name[/COLOR] Belwo I mention coding part I wrote [CODE] private void textBox1_TextChanged(object sender, EventArgs e) { DataView Dv = new DataView(); DataTable D1 = new DataTable("Test"); D1 = (DataTable)dataGridView1.DataSource; Dv.Table = D1; Dv.RowFilter = "SHOP_CODE …

Member Avatar for Jugortha
0
86
Member Avatar for laggerz

hello there im new in this forum any way im a junior programmer at our company i have a little prolem in accessing indexes of the fox tables any other way in accessing it in OBDC or in code. I use linking in access 2003

Member Avatar for laggerz
0
52
Member Avatar for NinjaLink

Hey, I need help getting this program to run. This is what I'm trying to do. a) set and store the first name only b) set and store the last name only c) store and set the middle name d) check to see if a given first name is the …

Member Avatar for NinjaLink
0
1K
Member Avatar for fireballnelson

I am new to C++ although I have done intermediate java programming. A couple of months ago I bought a book called [I]The C++ Programming Language; Third Edition[/I] by Bjarne Stroustrup. I am beginning to think that was a mistake because it is a little over my head. I was …

Member Avatar for chococrack
0
86
Member Avatar for afg_91320

ive been slaving over this code and i would appreciate if you could help me see the errors that are in this program. this is a program that i have made with functions and switch statements the goal is to make a program that will be a 'geometry calculator' and …

Member Avatar for azy422
0
213
Member Avatar for laspal

Hi, I am trying to create xl file using pyExcelerator in django. response = HttpResponse( mimetype='application/vnd.ms-excel') response['Content-Disposition'] = 'attachment; filename=output.xls' workbook = Workbook() worksheet = workbook.add_sheet('My Test Sheet') worksheet.write(0,0, 'Company', font_style('left', 1, 'red')) worksheet.write(1,1, 'Hello World!', font_style('left', 1, 'black')) workbook.save() return response The problem here is I am not able …

Member Avatar for laspal
0
109
Member Avatar for Panarchy

Hello I [B]have[/B] to learn C++ and how to code GUIs (for a new programming language). I need to be able to learn all this within a month. I have a little bit of experience (tiny bit of PERL, and tiny bit of Python... also a tiny bit of CSS …

Member Avatar for Panarchy
0
101
Member Avatar for Yellowspam

Hi @ all: I've been looking for an ODBC-Driver for Filemaker. I've searched the web for hours, but i always found Trials of ODBC-Drivers, and that Trials were only for MAC OS. In an other forum, people where talking about a DLL, called "fmfmp50.dll", which should be an ODBC-Driver, but …

Member Avatar for dwikstrom
0
211
Member Avatar for Clipper34

Hey guys, well my question is i've seen examples of classes being to create like a function. But for example i saw someone made for a socket it was something along the lines of this: pySocket <host> <port> but i'm confused on how to create something like that. To get …

Member Avatar for Gribouillis
0
134
Member Avatar for sidatra79

Hi to all game programmers :icon_cool: I want to implement the following: Short description: [B]A* Star for partitioned space combined with an adaptive partitioning in 3D.[/B] Detailed description: A. Assume that in the 3D space I have an Object (myMovingObject) that I want to it to move from one initial …

Member Avatar for MattEvans
0
212
Member Avatar for Lardmeister

I was looking at some statistical evaluations of a dice roll and stumbled onto this strange result: [code=python]import random # faces of a dice dice = [1, 2, 3, 4, 5, 6] rolls = [] for k in range(3): random.shuffle(dice) #test print dice rolls.append(dice) # test print rolls """ my …

Member Avatar for Gribouillis
0
142

The End.