132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Intrade

Without using some new language like Perl, how would one be able to access a web-page, given specific session information? And also, which C/C++ libraries are good for doing this kind of job? If this is at all a weird question, I'll explain. I'd like to be able to write …

Software Development c++ perl session
Member Avatar for kvprajapati
0
145
Member Avatar for lexusdominus

Im developing software that will handle alot of files & i was wondering what the best way of doing this is. There's a couple of things that are important. 1) i want to be able to access the files easily and have them grouped. 2) i want the files to …

Software Development c++
Member Avatar for csurfer
0
278
Member Avatar for adamf07

Hello all, I recently was assigned to a project that requires me to take an unorthodox approach to handling a web page. I have been using win32 API calls such FindWindowEx() and SendMessage() to access dialog boxes and the buttons within. Everything has been running smoothly except for the final …

Software Development api
Member Avatar for Tekmaven
0
238
Member Avatar for red999

I am trying to insert a node before another node in a doubly linked list and I have been trying to do for awhile, but I still can't get it =/. I keep getting error whenever I try to display the list after I insert in a new node. Please …

Software Development c linked-list
Member Avatar for kvprajapati
0
2K
Member Avatar for brashli

I am taking a text file and trying to do calculations with it where the line in the file looks like this: 'Corn For Grain', 'Irrigated', '1970', 'Colorado', 'Chaffee', '8', '10', '15', '11199199', '1', '', '100 acres', '75 bushel', '7500 bushel', '', '' It has commas because it came from …

Software Development file-system python
Member Avatar for The_Kernel
0
142
Member Avatar for rithera

So, this is my hello world program for python and I have been able to solve all the problems except 1. When I grab the page data from WoWArmory in python, non-ascii characters like "ø" are printing as "ø" and "é" as "é" and so on. So, I went over …

Software Development python xml
Member Avatar for rithera
0
122
Member Avatar for JackDurden

So in a binary tree the insertion looks something like this: [CODE] void btree::insert(int num) { if(root!=NULL) { insert(num, root); } else { root=new Node; root->data=num; root->left=NULL; root->right=NULL; } } void btree::insert(int num, Node *leaf) { if(num< leaf->data) { if(leaf->left!=NULL) { insert(num, leaf->left); } else { leaf->left=new Node; leaf->left->data=num; leaf->left->left=NULL; …

Software Development c++
Member Avatar for csurfer
0
123
Member Avatar for sexycancer1973

I have to write a GUI based quiz game in Java, but I have no idea how to use the following code to finish the program. The questions and answers are in a text file. Please help!!! [code] public class QnA { //index of correct answer when calling the getAnswer() …

Software Development gui java
Member Avatar for sexycancer1973
0
133
Member Avatar for 0xCMD

I was trying out a very simple calculator program: Here's the code: [code=c] #include <stdio.h> #include <stdlib.h> // Calculator Program // By 0xCMD int main() { double number1 = 0.0; /* First operand value a decimal number */ double number2 = 0.0; /* Second operand value a decimal number */ …

Software Development c
Member Avatar for Dave Sinkula
0
174
Member Avatar for boiishuvo

[COLOR="Red"]Check out the red highlighter below, how can you sum the studentMark[MaxSize] for an average. For example (78.5 + 66 + 73 + 56.5 + 88.3 + 64.5 + 45 + 57) divides actualNum = average. I've been figuring that one for hours! [/COLOR] [code] #include <iostream> #include <string> using …

Software Development c++
Member Avatar for VernonDozier
0
533
Member Avatar for fadia

heey guys.. i have this h.w.. i solved the first part which is based on the second part.. but not sure whether i did it right or not.. can someone check plz.. this is the Q.. i only did the first part! First create a one dimensional array called numbers …

Software Development c++
Member Avatar for ArkM
0
140
Member Avatar for gujjar19

Hi; I'm learning Python, need a little help here. I have a text file which has the below data, [QUOTE] <SYNC Start=5047><P Class=ENCC> Back, back, back, back! <SYNC Start=7235><P Class=ENCC>&nbsp; <SYNC Start=10725><P Class=ENCC> Yeah, Dan! [/QUOTE] I want to strip the text only i.e. [QUOTE] Back, back, back, back! Yeah, …

Software Development python
Member Avatar for gujjar19
0
143
Member Avatar for gujjar19

I have a subtitle file and I want to extract timestamps from the file. e.g. from below lines: [QUOTE] <SYNC Start=106377><P Class=ENCC> Hey... <SYNC Start=107350><P Class=ENCC> close the door. [/QUOTE] I want to extract timestamps '106377' and '107350' and append them with the name of the file including .bmp at …

Software Development file-system python
Member Avatar for gujjar19
0
83
Member Avatar for Steve00000

i read a thread in this forum about hardware programming with c++. thats something i'd like to do. i wanted to start on the parallel port and so i looked up some parallel port tutorials. later on i thought to myself... wait.. i dont have a parallel port comming out …

Software Development c++
Member Avatar for Dave Sinkula
0
142
Member Avatar for thacravedawg

Okay so I have a multiline textbox that accepts user input and stores it in a database. I then have another form that queries for this field and displays it. Everything is working fine, except for the fact that it won't recognize new lines when the user presses enter. I …

Software Development
Member Avatar for serkan sendur
0
134
Member Avatar for linux
Member Avatar for nagu89

This is a program to find the least common multiple of numbers 1 to 20. I dont know why it doesnt work. Somebody please help me out [code=c] #include<iostream> #include<conio.h> #define A 100 using namespace std; int i; bool IsItDiv(int); int main() { int num=21;bool tf; tf=IsItDiv(num);cout<<"The number thats divisible …

Software Development c++
Member Avatar for ArkM
0
121
Member Avatar for Lensva

need some guidance on how to make JTable look something like this: [img]http://imgkk.com/i/pQTxSCQf.jpg[/img] so far on searching i'v found nothing concrete and what i have found is scrambled between multiple .java and hundreds of lines. not readable to me. what/where should i look into that would provide me a skeleton-like …

Software Development java
Member Avatar for Ezzaral
0
86
Member Avatar for TheBrenda

Looking for log4net.dll - download will not unzip I have been to [url]http://logging.apache.org/log4net/download.html[/url] and downloaded both files: incubating-log4net-1.2.10.zip incubating-log4net-1.2.9-beta.zip. Neither one will unzip. I have tried downloading twice and have used WinZip 12 and whatever comes with XP. Can anyone send me a copy of log4net.dll? bgrossnickle at@ bellsouth dot. …

Software Development apache vb.net
Member Avatar for TheBrenda
0
221
Member Avatar for shakeelahmed22

I need to write a program to print the below pattern of * representing the alphabet X. I am unable to print an X using asterisks in the post. I hope you can understand the below explanation. The X should have 7 rows - with three rows at the top …

Software Development java
Member Avatar for freelancelote
0
146
Member Avatar for poeticinsanity

When I use the external module that runs the same code (line commented out) the program terminates. However, when I run the code inside the current module, the program seems to work just fine. Anyone tell me where I'm going wrong? I'd like to be able to use the utilities …

Software Development github python
Member Avatar for poeticinsanity
0
85
Member Avatar for redZERO

Hi guys, I am using boolean variables as flags in a program and i want to be able to invert the value. for example if the current value is true, then it must be changed to false; doesn't matter if i don't know what the current value is.

Software Development java
Member Avatar for redZERO
0
437
Member Avatar for cruisx

Hi guys need a bit of help, i am making a prgram but i am stuck. I am displaying 9 8 7 6 5 4 3 2 1 and i ask the user to put in order,. So like 1 2 3 4 5 ...etc. Now i need it so …

Software Development c++
Member Avatar for VernonDozier
0
366
Member Avatar for catchmrbharath

I wanted to know an efficient algorithm to calculate the product of divisors.. My brute force method is giving me a Time limit exceeded.

Software Development algorithm c++
Member Avatar for ArkM
0
138
Member Avatar for FallenPaladin

Hi I am slightly confused about interfaces for an inheritance structure. Firstly can anyone explain there purpose, secondly can anyone demonstrate there use. I have created an application that uses reflection to dynamically instantiate classes and invoke methods within those classes. During research for this app I cam accross interfaces …

Software Development
Member Avatar for sivak
0
151
Member Avatar for Tank50

Hi I use C# to read excel file.So user has to enter path of the excel file into application.However problem is, if there is null value in excel sheet for particular column then it generate the exception.so i want to create another application that check null ,how do I find …

Software Development
Member Avatar for Tank50
0
202
Member Avatar for 0xCMD

This is a newbie question regarding Bitwise Operators in C: The variable original is initialized to 0xABC. [code=c]unsigned int original = 0xABC;[/code] I know that 0xA = 10 in HEX but what does 0xABC mean? Testing it in the compiler I get the following value "2748". But how does this …

Software Development c
Member Avatar for csurfer
0
171
Member Avatar for larryperl

Hi, I have a my script here-- [code] print "The Perl Script does the User health check and system health check...\n"; print "---------------------------------------------------------------------\n"; # use strict; my($OS); $OS = $^O; # need to test @ARGV before GetOptions shifts it if (@ARGV == 0) { print "\nNo options provided, using defaults …

Software Development perl
Member Avatar for mitchems
0
164
Member Avatar for Thediabloman

Hi! This is my first post, so be gentle.. :D I am learning CPP with a book called "Beginning C++ Game Programming", and I have run into a problem. The book asks me to make a program were the user can enter his/hers favorite games, delete a game, and print …

Software Development c++
Member Avatar for Narue
0
86
Member Avatar for oystercatcher

Let me begin by saying that I am a lousy programmer and I am hacking away at something that interests me. I havent used these forums before so I hope the code I post doesnt get corrupted. I am working on a logarithm solver using a method explained by napier …

Software Development python
Member Avatar for oystercatcher
0
189
Member Avatar for san gabriel

[code=cpp]#include "stdafx.h" #include <iostream> #include <iomanip> #include <cstring> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { char s1 = ""; char s2 = ""; cout << "Input String1: " ; cin >> *s1; cout << "Input String2: " ; cin >> *s2; if ( strcmp( s1, s2 ) > …

Software Development c++
Member Avatar for mirfan00
0
448
Member Avatar for JakShelar

hi friends, last two days i am facing problem with vista. Actually i developed one product in C#(Windows Application) and in this product I mostly used krypton controls like Command button. In XP all krypton command button captions are displayed but in vista OS does not display krypton command button …

Software Development windows-vista
Member Avatar for ddanbe
0
63
Member Avatar for swisschris104

Umm... Im New To c++, But Not New To Programming Lemme Tell you All About Me Before Yu All Pile On Me! Im Only 14! I Can Program basic Online Codez :CSS and HTML. I Can Also Program Visual Basic ( 3/4 of it) My Question About C++ is Can …

Software Development c c# c++ html-css visual-basic
Member Avatar for Narue
0
134
Member Avatar for lss123

I just wanted to post the code I wrote for an OO C++ solution to solving sudoku puzzles. I'd like to invite anyone to ask questions, give comments, or make critiques on the methods or algorithms in the code. For a recent job interview, I was tasked with writing a …

Member Avatar for lss123
0
475
Member Avatar for defender_

i am writing a program with threads. it's a simple program in which user will enter how many number of thread he want to be created. what technique we use to create multiple threads ?? using for loop ??? suppose to run 3 threads... [code=c++] for(c=0; c<3; c++ ){ pthread_create(&thread[c], …

Software Development c++
Member Avatar for kvprajapati
0
90
Member Avatar for localp

I am an absolute beginner in JAVA, i want to know how to upload and save an image in a prescribed folder. sorry, i tried my best to search for this in the net, but i couldn't find any related to this, and also i do not have any sample …

Software Development image java
Member Avatar for peter_budo
0
141
Member Avatar for phillipdaw

I am writing a utility to allow engineers to insert and remove code I have written for one time use. This code will be used to automate one specific (and lengthy) debugging phase, then it will be removed using my utility. Currently, my utility simply finds the exact function declaration …

Software Development algorithm assembly open-source
Member Avatar for phillipdaw
0
154
Member Avatar for hiscasio

Design an Employee Information System for employees of Super Shoppy The employee master should keep employee specific information. For each employee, details of all dependent family members are also maintained. There may be one or more family members for an employee. The menu base program should provide following options…  …

Software Development c c# c++
Member Avatar for hawash
0
149
Member Avatar for david.1982

Hi Everyone, I have a datatable with a bunch of options in it, some marked "assignable", so not. I'm trying to dynamically create a radiobuttonlist with all the options listed, but the ones marked as not assignable without an actual radio button. IE, I don't want to gray out the …

Software Development
Member Avatar for kvprajapati
0
88
Member Avatar for ankiesiau

i hv 8 movies to select in my list but i show only 2 for example. [CODE]Public Class frmSelect Dim currenttotal As Integer Private Sub listPlaying_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lstPlaying.SelectedIndexChanged If lstPlaying.SelectedIndex = 0 Then 'If the first movie is selected grpOverview.Visible = True 'Make …

Software Development vb.net
Member Avatar for kvprajapati
0
104
Member Avatar for Peyton

Hi there, I have been trying to figure out the common recursion problem given in e.g. 6.42 in the following link: [URL="http://net.pku.edu.cn/~course/cs101/resource/CppHowToProgram/5e/html/ch06lev1sec28.html"]Towers of Hanoi[/URL]. After a few hours I still can't figure it out, even though I've got the code: [CODE=cplusplus]#include <iostream> using namespace std; // num disks void Towers(int …

Software Development c++
Member Avatar for csurfer
0
128
Member Avatar for catchmrbharath

I was trying to find the number of zeroes in a factorial of a number. The time limit was 2 sec. Max number of test cases being 100000 my code is as follows [code=cpp] #include<iostream> #include<cstdio> int five(int number); int two(int number); using namespace std; main() { int num; int …

Software Development c++
Member Avatar for Sky Diploma
0
145
Member Avatar for kerek2

Hi Alls, I need help regarding to rename my event file by current date. It's mean my file will be rename by date automaticly.....i can write to the text but the name not replace with the current date....can u help me...plz

Software Development vb.net
Member Avatar for Teme64
0
166
Member Avatar for Bisaye

Hi I am woring on a for loop to extract selected datas from matlab workspace.The program has some problem to give you an idea what it all about. I want to read 12 datas which follow some pattern in my case every 10 datas that follow a criteria 20 first …

Software Development
Member Avatar for Bisaye
0
113
Member Avatar for shakeelahmed22

Please help me in the below program Write a class named 'Stack" that has two methods named 'push' and 'pop'. The class has the following members: Member variables : int array [] int n ------------------------> size of the array int top Constructor : to initialize n, array and top. Member …

Software Development java
Member Avatar for javaAddict
0
167
Member Avatar for rajboy

Hi there, Ive just started out learning C++ and ive been thrown 3 qns and ive got no clue how to start working on them.Im not here for the codes but rather someone could spur me up so that i can kickstart. First of all, i need someone to recommend …

Software Development c c# c++
Member Avatar for ithelp
0
100
Member Avatar for ad65222

i am a newbie in this...can u plzz send me the code for....creating a file in the folder with userID & password. i:e if any one wants to access that file he should first enter the ID& password....please help me ASAP. keenly waiting for ur reply with "FULL CODE"

Software Development vb.net
Member Avatar for samir_ibrahim
0
174
Member Avatar for Traicey

Does anyone know a source code for calculating Zodiac Sign using a given DoB Thanks

Software Development c++
Member Avatar for MosaicFuneral
0
153
Member Avatar for keripix

guyz, im having problem programming with UNO. when i include the header, such as [code]#include <com/sun/star/bridge/XUnoUrlResolver.hpp>[/code] i get "no such file or directory" im new to this. Is there any things i must set first? ive already run the setsdkenv_unix.sh. Oh ya, im using openSuse. So any advice on what …

Software Development c++
Member Avatar for keripix
0
45
Member Avatar for s_sridhar

I'm not quite familiar with Visual C++. I was trying to create a basic win32 program. I compiled it but i don't know how to run the output file. If i select start without debugging, it asks me to choose the executable file. But i don't know what to do …

Software Development c++ visual-basic
Member Avatar for s_sridhar
0
116

The End.