132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Neversleepin

Hi everyone, i would like to extract data from text like the following one: [CODE]........... 2011/01/12 The thread 001 title should clearly describe 2011/01/12 This describe or discussion topic. General 2011/01/12 This desc 002 nor discussion topic. General 2011/01/12 titles is 003 as 'Help Me' or 'Urgent' 2011/01/12 This describe …

Software Development java
Member Avatar for Neversleepin
0
137
Member Avatar for nerdygirl118

I am making a wheel of fortune game and have successfully figured out how to change the word that you're trying to guess into astricks *. However, I cannot figure out how to change it back once the user inputs a correct letter. The puzzle comes from the user inputting …

Software Development c++ puzzle
Member Avatar for dmalach
0
217
Member Avatar for Hojjat.Mojallal

Hi this program calculate the differentiation of a polynomial by using a tree structure. It's assumed that the variable is x and valid operations are +, -, * and /. The valid operands are x and digits.The program doesn't check the validity! e.g. x*x*x-2*x+7 (valid) x*x*x-12*x+15 (invalid) But I need …

Software Development c++
Member Avatar for Hojjat.Mojallal
0
629
Member Avatar for MDiak47

I have been informally studying programming with C++ for roughly 8 months now. I understand the majority of the language, but I am becoming extremely bored with building trivial programs and running them in console. I am quickly losing interest and would like to know where to move next...I have …

Software Development c++
Member Avatar for mike_2000_17
0
163
Member Avatar for KazenoZ

Hello, I'm currently writing a program in which I need to check wether a list is empty or not, though that produces me crush in the program when I operate the empty() function on it. Project.h [CODE]class Project{ public: friend class Map; bool isProjectOpen; list<Map> maps; list<Map>::iterator it; string Name; …

Software Development c++
Member Avatar for KazenoZ
0
673
Member Avatar for Asheem

[CODE]#include<stdio.h> #include<stdlib.h> #include<time.h> #include<stdbool.h> int roll(void) { int num = (rand()%6)+1; return num; } /* void player(void) { int i=0; int sum=0; int dice; char turn; while(i!=6) { printf("Player 1- roll or hold?\n"); turn = getchar(); while(getchar()!='\n'); if(turn=='r') { dice = roll(); if(dice!=1) { sum+=dice; printf("Rolled = %i Your turn …

Software Development c
Member Avatar for gerard4143
0
2K
Member Avatar for ytrewq1

Hi, I have generated an array of random numbers and I'm trying to then write this array to a .txt file but the code I have written doesn't seem to do this correctly. Any help on this would be great. Here is what I have so far: import numpy as …

Software Development file-system python
Member Avatar for snippsat
0
22K
Member Avatar for kxpatel29

Hello, everyone. I need help on my JAVA project. I was able to write my code, but I do not get the output that I desire. I also need to validate user input. For example, all dollar amounts are >=0. Down Payment has to be atleast 10% of total cost …

Software Development java
Member Avatar for Akill10
0
235
Member Avatar for 0157h7

I keep getting a null pointer on this assignment and I figure that I can't fix it because my logic is deeply flawed somewhere. Here is the code that I have: [CODE] import java.util.*; import java.io.*; public class Project1 { public static class MapPoint { private String elevation; private String …

Software Development java
Member Avatar for ztini
0
165
Member Avatar for maichy

hi guys, does anyone have an idea how i could generate a monthly,daily or annual report using sql statement since i have tried with the one for daily and i keep getting the error 'now' is not a recognized function name. i want to get the total of Amount column …

Software Development visual-basic
Member Avatar for muthukumarbe
0
205
Member Avatar for imobby

Hi, i am working on visual C++ Express Ed and winforms to make a simple Word processor. What can be the basic functionality like spell check etc i have to put in it and algos to follow? is there any help on the Internet that u know can help me.

Software Development c++ visual-basic
Member Avatar for jonsca
0
742
Member Avatar for Mr.BunyRabit

Hey there. I feel strange getting tangled up in the most basic form of programming.. Designing the form. I need something but it doesnt look like it can be done... [COLOR="Red"]"See the attached Paint Image i drew to see how i want it to look"[/COLOR] That is How i want …

Software Development
Member Avatar for ddanbe
0
179
Member Avatar for shabbo_03

im doing a college project in c++. it is a token system of bank(line,queue..).it waits for a enter key and then it creates a token with entry time and expected leaving time,cashier to attend to and token no. whenever i compile the program it gives no error but after runing …

Software Development c++ queue
Member Avatar for mbulow
0
357
Member Avatar for gunneronaspooky

Ok folks...more help with a programming class... I'm seriously starting to think programming is not for me, but I just want to finish out this class with a decent grade. I'm not looking for answers...just some guidance in the right direction. Here is the problem... As an exercise, write a …

Software Development python
Member Avatar for woooee
0
114
Member Avatar for murnibta

Hi all. I have error with script below : Dim sql as string sql = "select * from [table] where [field] like '%" & text1.text & "%'" how must I write "%" after "like"?

Software Development visual-basic
Member Avatar for alamnaryab
0
3K
Member Avatar for kardo

Hi, I'm about to develope a little application in C# where I need to save some data in an XML file. I'm viewing data from XML file in a DataGridView, but I would like to make changes and save it in the same XML file. I can't get it to …

Software Development c# xml
Member Avatar for kardo
0
2K
Member Avatar for hauda67

Basically what I would to know is you have a button on one JPanel, and when the user clicks it, they are re-directed to the other JPanel. I would appreciate it if i could have some sort of hint or know about the overall structure of implementing this. Thanks,

Software Development java seo
Member Avatar for mangopearapples
0
128
Member Avatar for bajanpoet

I've been scouring the Net trying to get my head around using VB.NET to save information entered through text boxes on my form into an Access database. Most of what I see so far shows me how to display records already entered into the database and update the table, but …

Software Development vb.net
Member Avatar for UJNimz
0
304
Member Avatar for anirudhruia

[code] #include<stdio.h> int main() { int n,i,j; char p[10][10]; printf("please enter 10 words"); for(i=0;i<10;i++) { for(j=0;j<10;j++) { gets(p[i][j]) ; } printf("\n"); } for(i=0;i<10;i++) { for(j=0;j<10;j++) { printf("%c",p[i][j]); } printf("\n"); } return 0;} [/code] I actualy want to read 10 string from keyboard and print them but not gettin the output …

Software Development c
Member Avatar for vinayakgarg
0
103
Member Avatar for DARK_BYTE

Hi I need to animate user defined algorithms and I have a myGraph class. The dfs() and bfs() will go into the user-defined algorithm the user types and saves in a text-editor included with my program. I am checking the adjacency matrix to know if two vertex are connected by …

Software Development data-structure java java-swing queue
0
235
Member Avatar for jajajamon

1. Create program TestParentheses that will notify user if set of parentheses is incomplete. Sample Input/Output: Enter expression: y=(x+1); Expression is correct; ________________________ Enter expression: x((y-8)*; 1 set(s) of parentheses is/are missing _______________________ Enter expression: y=(a*(b+(3-b)+(a); 2 set(s) of parentheses is/are missing

Software Development java
Member Avatar for stultuske
0
92
Member Avatar for afaque01

hello! every 1 I have made a project on offline railway reservation ticket and cancellation and management.. wel i have included following things: form wise 1}welcome page (containing news , updates about the software ) 2}registration n login page 3}main menu (Containing links to all tools and services i included …

Software Development vb.net
Member Avatar for chetanbasuray
0
109
Member Avatar for anirudhruia

How to access structure variables in nested structures [CODE]#include<stdio.h> typedef struct contact { char name[1][20]; struct number { double num; }no; }; [/CODE] Now how to access num ,can anyboddy explain me?

Software Development c
Member Avatar for anirudhruia
0
101
Member Avatar for koundinya

hello guys i knw this is an old thread but the exact solution isnt given yet.i have the small problem of pipeline error after i installed tcwin45.even though this is an old version it shoudnt give any problems rite?i ve installed it 3 times and then deleted it 3 times …

Software Development c++
Member Avatar for koundinya
0
124
Member Avatar for vbx_wx

I am trying to send a structure via tcp/ip,i dont know if i am doing it good,it prints a strange chaarcter in my screen.Here is my code that i am using to send and recv: [code] void Send(const void* buffer, int size) { int n; if((n = ::send(desc, (char*)&buffer, size, …

Software Development c++
Member Avatar for gerard4143
0
146
Member Avatar for ThatGuy2244

I'm trying to make some code that directly interfaces with the VGA card(in real mode), I know the ports(0x3c6, 0x3c7, 0x3c8, 0x3c9) I need to use to output data on the screen. My code is this: [CODE] mov ax, 0 out 0x3c8, ax ;plot pixel at location 0 mov ax, …

Software Development assembly image
Member Avatar for ThatGuy2244
0
809
Member Avatar for sarminatorius

Hi, i would like to create a listview in my application like it is in utorrent (and many other applications). With name, status... and they can be resizable. Any ideas how to google for tutorial? How to create it? I am using visual studio 2010 ultimate.

Software Development listview visual-studio
Member Avatar for ddanbe
0
108
Member Avatar for Boubakr

Hi... I've this: [CODE]random_name = ['Mohamed', 'Ahmed','Aboubakr'] print "1: %s 2: %s 3: %s" % (random_name[1], random_name[0], random_name[2])[/CODE] I want to print all the three names but in random way, as: some time: Mohamed, Ahmed, Aboubaker and some time: Mohamed, Aboubaker, Ahmed and some time: Aboubaker, Ahmed, Mohamed and some …

Software Development python
Member Avatar for TrustyTony
0
154
Member Avatar for azka

Hello, i have a noob question. Could you please answer me, what do this means? [CODE]call dword ptr [ecx+5Ch][/CODE] i can not get, what does this +5Ch (its s backslash "\"), but what it means in this calling? Thanks!

Software Development assembly
Member Avatar for azka
0
96
Member Avatar for virusisfound

I want to add new field when user enter text in text box and click on create then in the database table new field is create with the name present in text box I use this code to do this but it takes a8 as new field can i use …

Software Development open-source
Member Avatar for virusisfound
0
137
Member Avatar for rebo544

Hi so i created a function that asks users to input their grades for a course and theoretically it should post all of the results and then the grade for the course. I have so far been able to create a function that asks the user for their information and …

Software Development python
Member Avatar for richieking
0
130
Member Avatar for stevetaylor15

Hi guys, I want to run the following in a c# loop but I just don't know how to pass a multi value for a parameter with a comma. The actual cmdlet would be below and does work in exchange powershell: Set-CalendarProcessing –ResourceDelegates [email]jonDoe@test.com,johnnydoe@test.com[/email] -identity [email]testroom@test.com[/email] –AutomateProcessing AutoUpdate I know …

Software Development windows-api
Member Avatar for paperless
0
300
Member Avatar for airesh

have this situation.. i have 5 checkboxes..and then i want to save the checked checkboxes on the database..how is possible? say for example checkboxes 1 2 3 are checked..how can i put them in the databse? i am using my sql..

Software Development vb.net
Member Avatar for airesh
0
110
Member Avatar for sohel807

I want to make a simple editor using wxPython. Complete code is already available in wxPython tutorial page ([url]http://wiki.wxpython.org/WxHowtoSmallEditor[/url]). However, in addition I want to add "print" menu which will print the contents of editor (i.e., whatever written in editor). I will appreciate if someone please show me. Thanks, Akand

Software Development python
Member Avatar for richieking
0
424
Member Avatar for eny321

I am trying to write an elevator test program in java. It is suppose to execute the following steps using the methods in the class: 1: Starting from the first-floor. 2: Go to 2nd (update bool GoingUp) 3: Go to 3rd 4: Back to second floor This is what I …

Software Development java
Member Avatar for stultuske
0
170
Member Avatar for Crzyrio

Hi As part of an assigment i am needed to write a C++ Program to solve a system of equations using Gaussian elimination with scaled partial pivoting method. Now our prof has told us to simple use the pseudocode found in the book. I did my best to finish it …

Software Development c++
Member Avatar for daviddoria
0
3K
Member Avatar for LeMajestique

I am making a little silly game in c++ and I am currently working on a way to generate random monsters for me to fight, however, either my random number generator isn't working or my if else function isn't working and it keeps giving me the same monster(Polythemus) If someone …

Software Development c++
Member Avatar for thelamb
0
602
Member Avatar for AngelicOne

I have three forms, the login form, main menu, and user profile. When a user logged in and clicks the user profile button from the main menu, the information of the logged in account must display. I do it by passing the username from the log in form to the …

Software Development
Member Avatar for Mitja Bonca
0
109
Member Avatar for sindhu94

Hi friends i have some problem in understanding a particular line of my code in VB.NET and I am new to VB.NET . Can any one please do explain this to me? Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click What does ByVal mean here?

Software Development vb.net
Member Avatar for lolafuertes
0
122
Member Avatar for GizmoPower

Hello. I am making a win app wich I can use to replace values in a .ini file. In this example.ini file I want to change the values after the = [QUOTE] location { x=0.35 y=0.56 z=-0.5 }[/QUOTE] I have label1, 2, 3 with text: "x, y, z" and want …

Software Development
Member Avatar for GizmoPower
0
1K
Member Avatar for farshad_emp

Hello I had wrriten a program in C# for windows ce that it read data from serial port(I used serial port control in c# toolbox) from data recieve event but while it is reading data time too long waste for complete data read.now how to reduce this too delay time …

Software Development
Member Avatar for farshad_emp
0
148
Member Avatar for vn412

Hi, I m newbie in vb.net. Please can someone help me with crystal reports in vb.net with backend as ms-access 2007. I want my report should be printed by dataset populated via query. Please help me with some sample code. Thanks

Software Development dataset vb.net
Member Avatar for vn412
0
83
Member Avatar for Ghost

Is it documented? Or have you heard anything? just curious... thanks :)

Software Development java
Member Avatar for hamzat1995
0
150
Member Avatar for Luffy

Gud day.., I need help. I'm doing a program and I want it to have a search button to search within a range of date. From and To. I dont know how to code this.. thank you,..

Software Development vb.net
Member Avatar for chetanbasuray
0
96
Member Avatar for raisedtozero

make and run a program that will display the output below ##### #### ### ## # it should use forloops,, i cant make one, but the code is long. i cant make it work also, you need to use the concept of rows and columns heres mine,, its epic fail …

Software Development c++
Member Avatar for erikandr
0
79
Member Avatar for JohnBo

I am using VB 2008 and have a datetime picker. I wam trying to use this value in an INSERT command to load in to a table but I just can't get it to work. I debug it out which shows something along the lines of "24/03/2010" but it just …

Software Development sql vb.net
Member Avatar for chetanbasuray
0
142
Member Avatar for chetanbasuray

I'm completely new to java, would like some help. I have a class named class1 and within the class are 2 functions f1() and f2() I take a number as input in f1(). I would like to have that number in f2() as well. I did this by returning the …

Software Development java
Member Avatar for chetanbasuray
0
88
Member Avatar for NathanOliver

Hey All, I just finished my code and it seams to work fine. I'm looking for advice on improving it or making it easier to understand. Its not Fully complete because I only have to set up to take in a number less than 2147483648 because i am using an …

Software Development algorithm c++
Member Avatar for vijayan121
0
167
Member Avatar for Sheni

Please help me with my homework!:) Here's the instruction, Write a java program that accepts ten letters(small letters), then it will sort them alphabetically, using one dimension array. Please help, I'm dead if I won't get this correct. Tnx

Software Development java
Member Avatar for peter_budo
0
103
Member Avatar for bhagawatshinde

Currently, I am doing a project. I don't know how to pass a value from one windows form to another windows form using c#.net. Suppose, I have two form: parent form and child form. Parent form consists of a datagridview now datagridview cell click child form is open Now in …

Software Development
Member Avatar for Mitja Bonca
0
349

The End.