199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mnmustafa

hiz, well i have a question regarding to for and while loop i want to create such a triangle with "*" * * * * * * * * * * (its not right angle triangle, its equilateral triangle) and 2nd thing, what if i want the USER to put …

Member Avatar for kbshibukumar
0
121
Member Avatar for mrnutty

What is the first term in the Fibonacci sequence to contain 1000 digits? so i made a program that finds the fibonocci's sequence (fs). I tried to do it recursively but it takes too long for big numbers. so i made a manual one. BUt as i count how many …

Member Avatar for aryansmit3754
0
141
Member Avatar for Ajantis

Hello there, I have some troubles making transparency of my menues in C#. Basically, I can't make them work. :/ I've searched Google, MSDN, codeproject, c-shaprcorner... but I still can't make it work. I try to set a groupBox BackColor to transparent, and let the groupBox use my own background …

Member Avatar for Ajantis
0
7K
Member Avatar for krammer

My problem is that I do not see cookies being captured with this forum submission that I have setup. Does anyone know what I am doing wrong? Any help is appreciated, thanks. [CODE]def main(): # Request post page dev_null = StringIO.StringIO() pycurlConnect = pycurl.Curl() pycurlConnect.setopt(pycurl.USERAGENT, USER_AGENT) pycurlConnect.setopt(pycurl.URL, LOGIN_URL) pycurlConnect.setopt(pycurl.REFERER, REFERER) …

Member Avatar for krammer
0
1K
Member Avatar for shazzy99

How can I call another form from within one forms control events. like initiating a form on button click?

Member Avatar for shazzy99
0
110
Member Avatar for piotr_kast

I had this three classes: [code] Start.cs: --------- using System; using System.Windows.Forms; namespace Test { public partial class Form1 : Form { public Form1() { InitializeComponent(); } static void Main(string[] args) { Uruchom(); } public static void Uruchom() { Book written = new Book(); Book bought = new Book(); written.Author …

Member Avatar for LizR
0
329
Member Avatar for songkok

hi all.. how can i read a list of files in various folders in windows server 2003 and then display the list in c# program. i heard there is some code to link between windows server 2003 and c#, but it is nowhere to be found.( or i couldn't find …

Member Avatar for LizR
0
112
Member Avatar for cVz

Hi there, I would like to know if there is any default settings one can use to test FTP settings etc, i am doing an application that does database backups , then zips the backup and FTP it to the server, i believe it is working because at the moment …

Member Avatar for LizR
0
252
Member Avatar for manisha

Hi friends. I am trying to install Ruby on rails on Linux platform.The OS i am using is Ubuntu. I am new to both Linux and RoR .So really need help.Here is the code i tried to run and the result : [QUOTE]manisha@manisha-desktop:~$ sudo gem install rails --include-dependencies /usr/bin/gem:11:Warning: Gem::manage_gems …

Member Avatar for MrAntonio
0
152
Member Avatar for Olsi009

Hi to all, I have just started programing with C++ but I am having some problems with linked lists I have this easy homework that I cant compile correctly. [B]We have this structure:[/B] [CODE]struct rekord { char key[10]; int nr; rekord next; };[/CODE] [B]Write a program that reads the elements …

Member Avatar for kbshibukumar
0
117
Member Avatar for efus

I am trying to learn some oop in java. What I am trying to do is building a binary tree to convert an ekspresion in reverse police notation to infix notation. The problem is that I have three classes, one abstract called [b]ArithmeticNode[/b] which represents a general node, a class …

Member Avatar for javaAddict
0
101
Member Avatar for lllllIllIlllI

Hi From using java and BlueJ i have found it quite easy to make your own api using inbuilt things in BlueJ. So i was wondering if there was anything in python that would take a python program and find all of the definitions and make an API from that, …

Member Avatar for lllllIllIlllI
0
127
Member Avatar for tillaart36

Hello all, I've written a piece of code that lets me generate or read a grid where all cells have a value. The grid stands for a simple 2d visualisation of an area where types of housing are to be build. The values of a cell stand for some different …

0
376
Member Avatar for brimble2010

Hi (first post :) ), I have a coursework where we have to read in 50 lines from a file (bubble.txt), sort them into length order and then print them out (its not the whole coursework, just a part). I thought that the only way of holding lines of text …

Member Avatar for brimble2010
0
140
Member Avatar for wwwmadeasy

hi there i want help doing the following.. user come to the web site there will be a form for registration when he submit the information it will store in the database but only admin can verify his account ... can any one plz help me in that... thanks in …

Member Avatar for wwwmadeasy
0
166
Member Avatar for javaman2

hey again i've fixed my code a little and need a little help. I've got the flush and one pair determinations to work but the three of a kind, straight, straight flush and royal straight flush are giving me a little trouble. If anyone has any suggestions, i would really …

Member Avatar for hypocrisy
0
110
Member Avatar for gouki2005

I am kinda new in C# so i just create a simple aplication using a database.......you know insert Update..delete.......but what other thing can I try ??? any idea........please remenber I am a rookie >_<

Member Avatar for LizR
0
97
Member Avatar for karthi_selva

hi, i am doing a project using C#. in my project, i stroed the database information into the dataset. i do't know how to collect the data from dataset using query. i know collect data from dataset using datarow method, but task is collect data from dataset by using query. …

Member Avatar for karthi_selva
0
169
Member Avatar for linggs

Hi there, I know I should not be doing this. But I really some readymade java codes on currency converter working on eclipse program. It is a part of my assignment. But my java really cannot make it, so is there any kind soul to help me? Please. Anyway, I …

Member Avatar for stultuske
0
220
Member Avatar for bigbadbrad

I am developing an application for an inbound call center to enter orders. They need to be able to record each call automatically from within the web application. (I want this to be invisible to the user if possible). I want to launch sound recorder when a user clicks a …

Member Avatar for sanishan
0
186
Member Avatar for rahmathmail

hi, i want to display one table in a access database using datagrid. i tried to do like this. [COLOR="Red"]con.open constring set rs=con.execute("command to select the table") set datagrid.DataSource=rs[/COLOR] but it shows an runtime error like this: [B]RunTime Error '7004' The rowset in not bookmarkable[/B] wats' the reason... pls post …

Member Avatar for rahmathmail
0
450
Member Avatar for elvenstruggle

Hello, I have a text-based program (non-GUI) that would run solely inside the workspace terminal. Within this program there are hundreds of "print statements" showing really long texts. e.g. print "This is a really really really really really really really really really really really really really really really really really …

Member Avatar for Gribouillis
0
141
Member Avatar for michinobu_zoned

[QUOTE=hieuuk;755193]Don't really understand though. How you wrote your game anyways? I'm writing a tutorial about this game using C# but with XNA instead of OpenGL. If you want I could send you the tutorial, I think they should be the same idea.[/QUOTE] I'm having a hard-time getting OpenGL installed on …

Member Avatar for MattEvans
0
196
Member Avatar for yuleball

Is there any way to shift the position of underline downward? e-g in [U]This is game[/U] underline passes through g. I want to move it a bit below so that it does not cut through words

Member Avatar for yuleball
0
88
Member Avatar for IMJS

My C++ is basic but improving and I am trying to use a C++-based development kit (SDK) for some image processing software. The documentation and support for the SDK is limited. The SDK provides a linked list class and I am keen to utilise this. The class allows me to …

Member Avatar for Murtan
0
153
Member Avatar for gproggramer175

i want to program a videogame. I bought c++ for dummies and have read it but from there im lost on what to do. Any help is appreciated.

Member Avatar for MattEvans
0
94
Member Avatar for jaiprakash15

Dear fiends, Am Posting a Lot Nowadays.. Sorry if i had Disturbed you all...Hera my XML file..i Have to append a node below this..can some give me any idea how to do it..When i try..it is over writing the file i need to append <TaskName> <name>abc</name> <Value>3454</Value> </TaskName> following to …

Member Avatar for jaiprakash15
0
2K
Member Avatar for CoolAtt

hi . i have read a line from a text file & stored it in a string using fgets(). the file contains the following line: C:\Windows\ [CODE]char myline[20]; fgets(myline,20,fp);[/CODE] now i want to append '' in the string so that when i print [B]myline [/B]output is C:\\Windows\\ Any idea or …

Member Avatar for CoolAtt
0
160
Member Avatar for BMPaul

Could some please explain why this code is outputting 1 when it should be 1.5; [code=C++] #include <iostream> using namespace std; int main() { double a = 3/2; cout << a; } [/code] thanks

Member Avatar for BMPaul
0
77
Member Avatar for David2x

Greetings: My name is David and I am a beginner in c++ and I am looking to join a Project Team of c++ programmers of various skill levels to increase my knowledge in c++. I would like to know if anyone knows where I can go to join such a …

Member Avatar for David2x
0
169
Member Avatar for omeralper

We can convert any kind of numbers to binary string. For example 20501487 can be converted into binary String format as 1001110001101001111101111. However I cannot reconvert this binary String into any number format, even long or float numbers due to NumberFormatException, where the numbers are very big to convert. I …

Member Avatar for omeralper
0
202
Member Avatar for nitrooreo

Hello. This is my first problem post on Daniweb so feel free to overload me with info even outside the scope of this overloading problem. I have a class Point where I have overloaded the + operator and I'm trying to overload "operator=" so that I can right something like: …

Member Avatar for nitrooreo
0
312
Member Avatar for michaelmorris

Hi, What I'm attempting to do is send data from one class, to another and then store it in that second class as an array. E.g. file class1.cpp [CODE=c++]class1{ Class2 c; c.methodAdd(Variable1, id); cout << c.methodGet(2); }[/CODE] file class2.h [CODE=c++]class2{ typedef string StringArrayPtr; StringArrayPtr *array = new StringArrayPtr[3]; //create the …

Member Avatar for michaelmorris
0
164
Member Avatar for michaelmorris

Hi, its me again, How would I go about reading in the same file twice?? What I need to do is read it in the first time, and count how many lines there are between two words (in the middle of the file somewhere - see example below), create and …

Member Avatar for michaelmorris
0
327
Member Avatar for u8sand

Hello again. Once again another problem... Well i made a very good string class, only problem is, i don't know how to use an operator= for assignment. I have operator='s programed in but i don't know how to make it an assignment operator. for instance: [code] String str1 = "Hello"; …

Member Avatar for u8sand
0
99
Member Avatar for brianjharder

I'm working with SQL 7 on a Windows Server 2003 R2 Ent. Things will be working just fine and then we will for some unknowen reason start getting this error message and then we have to restore the DB to resolve it? This has now happened twice within the last …

Member Avatar for Ramy Mahrous
0
69
Member Avatar for aodpreacher

Hi am a new programmer and i am a CS/Graphics major. i have already learned Python, xHTML/CSS and i am in the current stage of learning java( i don't think this top portion really mattered) my question is what should i learn next? PHP or Ruby on Rails? i am …

Member Avatar for aodpreacher
0
91
Member Avatar for rajesh_pec

please can anyone help me in writing code for the below question in c++ as am weak in c++ a. Write and test a function for the vertex-insertion algorithm (insert a new vertex, given a specification of all vertices adjacent to it)

Member Avatar for skatamatic
0
106
Member Avatar for Alex_

Hello, This is the problem: I get the right function call only from the 3rd derivated class, when the other twos are called are not. Source : [code] #include<iostream.h> #include<conio.h> #include<string.h> class IV{ char *loc; public: IV(){loc=NULL;} IV(char *_loc){ loc=new char [strlen(_loc)+1]; strcpy(loc,_loc); } ~IV(){ if(loc) delete [] loc; loc=NULL; …

Member Avatar for Alex_
0
152
Member Avatar for digital-ether

I'm trying to create an Alpha Numeric List of links. Each alphabet links to a page that will display rows whose titles start with that alphabet or numeral. For each alphabet, I want to get the number of titles that start with that alphabet. This allows me to link only …

Member Avatar for digital-ether
0
293
Member Avatar for serkan sendur

hi, i have been wondering, after the compilation of a textual source file, it is said that it is compiled to ones and zeros, i wonder what are those ones are zeros, are they visible to eyes? for example if i open it with notepad can i display them? if …

Member Avatar for serkan sendur
0
213
Member Avatar for furjaw

Visual Basic 2005 Express Edition: This works, but, I need to get the .wav file from Resources: My.Computer.Audio.Play("C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\OrthoLabRx\OrthoLabRx\Resources\PodVwBy.wav") I placed the .wav file in Resources, but, I can't seem to access it from there. This does not work: My.Computer.Audio.Play(My.Resources.PodVwBy) It says "value of type 'System.IO.UnmangedMemoryStream' …

Member Avatar for furjaw
0
1K
Member Avatar for philzz

Using Dev-cpp, a small program compiles but the resultant .exe file does not run. From the DOS command, it runs. When I try from the windows run command , it flashes but immediately goes away.

Member Avatar for skatamatic
0
197
Member Avatar for Modo

hello how r u doing .. i have been looking on the internet but i cant find much info .. does anyone know where i can find information about making a database in java? (i expect it is has information about arrays, arraylist, iterators and inheritance) ... i want to …

Member Avatar for Ezzaral
0
127
Member Avatar for warren23

Hi everyone I am new to php or programming but am learning very quickly. only thing is i have been asked to build a site for a company that sells blinds, so the user needs to enter in measurements and i need to do a 9d array or 7 tables, …

Member Avatar for Will Gresham
0
70
Member Avatar for ayi_102

I have a problem about updating access database. there are 3 columns in my database : ID, searchkeyword, count in the form there are button n textbox if user enter a new search keyword, the database updated all if the keyword already exist, just update count column +1 this is …

Member Avatar for ayi_102
0
133
Member Avatar for harryoma
Member Avatar for John G

public class Date { private int _day; private int _month; private int _year; boolean checkDate=true; public Date(int day,int month,int year) { if ((day>31)||(day<1)) { System.out.println("You entered a wrong day"); checkDate=false;} else if ((month>12)||(month<1)) { system.out.println("You entered a wrong month"); checkDate=false;} if (checkDate=true) { _day=day; _month=month; _year=year; } } public Date() …

Member Avatar for Antenka
0
116
Member Avatar for perl1user

Hi, does anyone know where to find perl module Parse::RecDescent [email]cvv3@yahoo.com[/email] thx

Member Avatar for KevinADC
0
214
Member Avatar for mn_kthompson

I've been writing a script that will check google for pages that meet certain criteria at my web site. For example, excel spreadsheets that contain data that should not be on the web. So far, so good. When we find something and take it down, it can take a while …

Member Avatar for QwertyManiac
0
752

The End.