199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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) … | |
How can I call another form from within one forms control events. like initiating a form on button click? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 >_< | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 | |
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 … | |
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. | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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"; … | |
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 … | |
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 … | |
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) | |
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; … | |
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 … | |
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 … | |
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' … | |
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. | |
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 … | |
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, … | |
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 … | |
i have just one question: can a function return array? | |
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() … | |
Hi, does anyone know where to find perl module Parse::RecDescent [email]cvv3@yahoo.com[/email] thx | |
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 … |
The End.