199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for serdas

hi, is there anyone here know how to create a chat bot with video? thank you

Member Avatar for diafol
0
87
Member Avatar for manofhouse

The program is suppose to create and account but if the passwords do not match after the 3rd iteration it's suppose to output that its been too many tries and end the program... I can't seem to figure this out any help would be greatly appreciated. [CODE]while 3: print ("Welcome …

Member Avatar for manofhouse
0
176
Member Avatar for stavros141

Hello there, I am trying to make a sample website just to learn the basics, I already have a log in window and a home page but I want to add a featur in which users can sign up for it. My first option wuld be to use SQL but …

Member Avatar for stavros141
0
165
Member Avatar for salty11

In this program i am trying to find numbers that are multiples of 7,11, or 13, also if the total of the numbers is even or odd also the square root value of each number also if there are any prime numbers in the list [CODE]#include<iostream> #include<iomanip> #include<fstream> #include<cmath> #include<conio.h> …

Member Avatar for frogboy77
0
314
Member Avatar for gunnerone

Hi, I am trying to create a simple unit converter which reads in the units from a file the file is layout like this: ounce,gram,28.0 pound,ounce,16.0 ... It is read line by line like, 1 ounce is equal to 28 grams. How would i go about comparing what the users …

Member Avatar for geekman92
0
334
Member Avatar for lynnajoe

Hi, This application does everything but show the circles and rectangles even though visible is set to true. [CODE]package Shapes; import java.awt.*; import javax.swing.*; public class ShapesTest { public static void main (String []args){ String input = JOptionPane.showInputDialog ("Enter 1 to draw rectangles\n" + "Enter 2 to draw ovals" ); …

Member Avatar for lynnajoe
0
154
Member Avatar for ja0

Hi all, I am not sure why this is happening. But I am loading a .csv file and just showing it in a datagrid. However, in the .csv field I have time like 0030 but when is showed in the datagrid it is just 30. Any suggestion?

Member Avatar for ja0
0
95
Member Avatar for spe_eddy

I am wanting to refer to a number of items from the end of a list, but can't get the syntax right, [CODE]previousDays = 5 pDaysRange = (31-previousDays,32)[/CODE] previousDays is the variable I can change, there are 31 days in the month so i'm trying to take the last 5 …

Member Avatar for spe_eddy
0
145
Member Avatar for Jessurider

using [U][B]C#[/B][/U] can anyone tell me how to [B][U]Capture Remote Dekstop[/U][/B] through [B][U]WIFI[/U][/B]............

Member Avatar for Momerath
0
77
Member Avatar for blacknred

I'm trying to do some simple parsing as example: [code]import csv import os,sys spamWriter = csv.writer(open('eggs.csv', 'wb'), delimiter=' ',quoting=csv.QUOTE_MINIMAL) string = "cat /home/myfile.txt |grep -m 1 "my game" " string2=os.system(string) spamWriter.writerow([string2]) [/code] [quote]home]# python excel2.py File "excel2.py", line 4 string = "cat /home/myfile.txt |grep -m 1 "my game" "[/quote] ^ …

Member Avatar for TrustyTony
0
164
Member Avatar for PlyrJames791

Hi I'm new to C++ and I'd like to make a program that responds to MIDI input from an external device (e.g. MIDI keyboard). I've found a library that should do what I want here: [URL="http://www.music.mcgill.ca/~gary/rtmidi/index.html"]http://www.music.mcgill.ca/~gary/rtmidi/index.htm[/URL]. I'm using VC++ 2010 Express, and I can't figure out how to actually use …

Member Avatar for kiran_ur_frnd4u
0
1K
Member Avatar for WolfShield

I've run java programs in Command Prompt before and it worked, but today I tried and it's saying: 'javac' is not recognized as an internal or external command, operable program or batch file. I am running Windows Vista and have four (4) files under Java: jdk1.6.0_23 jdk1.6.0_24 jre1.6.0 jre6 Umm, …

Member Avatar for DelphiGuy
0
234
Member Avatar for scyonto

Hey guys, before I begin, I'd like to specify that this is for a personal project that I am playing with, and not for work or school or anything of that ilk. In Python, I am trying to define a function that will search a .txt file containing a large …

Member Avatar for TrustyTony
0
115
Member Avatar for salty11

For this code i am inputing one number and trying to see if it is a perfect number [CODE]#include<iostream> #include<cmath> #include<iomanip> #include<conio.h> using namespace std; void perfect(int); int isfactor(int, int); int N, i; int main() { perfect(N); isfactor(N, i); } int isfactor(int number, int divisor) { if(number%divisor==0) return 1; else …

Member Avatar for PathikRaval
0
337
Member Avatar for Tazsweet19

I made the 4 buttons with top, move up, move down and bottom. But I took open the files for test.txt in LJist and it won't move it How do I add something. I will show you the code. And I saw Error for to press move down, it won't …

Member Avatar for Tazsweet19
0
144
Member Avatar for Tamlyn

Hey everyone :) I'm new to c++ and have just joined this site. Looks great. Hope you guys can help. I'm having trouble with the function calcAllowedPerChild() What I want the function to do: subtract the gifts TOOTHBRUSH, HIGHLIGHTERS, CRAYONS, NOTEBOOK , AND PEN, from the amount left(leftToSpend) while the …

Member Avatar for Tamlyn
0
382
Member Avatar for jrotunda85

I have a question regarding Google Maps integration I am planning for my site. Right now I have a list of approximately 5,000 addresses (Street Address, City, and Zip Code). I would like to add two columns to the table these address are stored in for Longitude & Latitude so …

Member Avatar for mschroeder
0
274
Member Avatar for Katana24

Hi, im trying to create a GUI which will house a BST. When the user enters a number and clicks add, it should display that number as a leaf in a BST. It then adds each consecutive leaf onto the last to create the BST. My problem is actually getting …

Member Avatar for Ezzaral
0
2K
Member Avatar for giggity

Write a program that allows the user to enter a series of positive integers one at a time and in increasing order (using -1 as a sentinel value), and then computes and displays the median value of the data entered, as well as the number of data values entered. You’ll …

Member Avatar for giggity
0
137
Member Avatar for gspeedtech

Hello, I have a situation where data in a field contains CrLf characters. Code has been in place for a couple of years and many records have been affected. The question is: Should I add code to catch the CrLf characters at the field level? Should I add code to …

Member Avatar for gspeedtech
0
459
Member Avatar for jacob21

I am working on a search script in which i have to search from the my sql database when a user enter some keyword I am using this code for searching.pagination is not working fine. Could you please tell me another good script for searching in my sql. Thanks [CODE] …

Member Avatar for jkon
0
147
Member Avatar for WolfShield

Hello, I have a program that has three text areas, and I'm going to add an image viewer. My question is how to save and load the text and images so that when the user clicks 'save' it will save a file with the text and images, and when the …

Member Avatar for sourabh17
0
155
Member Avatar for super-duper

Hey guys, I'm reading this thing about "Time Complexities". But I'm having a hard time wrapping my mind around it. I know that it's all about the different algorithms that take different amounts of time for different amounts of instructions and stuff. What I don's understand is that how to …

Member Avatar for super-duper
0
114
Member Avatar for martin11ph

Does VB6 have any feature that allows it to plot points and maybe lines in a 3 dimensional axis? I tried using the MS Charts component but it only allows up to 2D. Any help would be appreciated. Thanks.

Member Avatar for martin11ph
0
409
Member Avatar for subith86

Here the value of int x is always zero. I don't know if there is any case where it is non-zero. If so pls reply. [CODE]int OperOverld::operator--(int x) { cout<<x<<endl; //always zero //some code goes here //... //... //... //atlast return some int }[/CODE]

Member Avatar for Narue
0
176
Member Avatar for kirenemook12

hello everyone. i am making a program which has multiple windows. how do I program that when one window pops-up, the other closes? i am using Microsoft visual studio 2010, in a Win32 application. i am not using a windows form.

Member Avatar for kirenemook12
0
161
Member Avatar for comwizz

I cannot figure out how to open the results/output window in Dev c++. Also how to effectively use step over / step into . I kept breakpoints at certain points in my program but step over from then onwards does not happen by pressing ctrl+f7 and I dont know how …

Member Avatar for deepshikha more
0
448
Member Avatar for megsilm

Hi, I am having trouble having the answer increment, I know it seems the increment value is lost in the method but I cannot find a way to make that work, can you please give some suggestions. Thanks. This program is supposed to ask the user to enter sales amount …

Member Avatar for jon.kiparsky
0
285
Member Avatar for jackmaverick1

Hi, I've been looking for a while for things that would give me random numbers under a value that I can specify (for me it's 5). I've seen [ICODE]rand();[/ICODE] and [ICODE]srand();[/ICODE]. I also know that[ICODE]srand()[/ICODE] is the seed and [ICODE]rand()[/ICODE] is the random number itself. Even the example programs don't …

Member Avatar for pseudorandom21
0
357
Member Avatar for zainz

there is a problem with java code i need your help plz as soon as you can [CODE]import javax.swing.*; import java.io.*; /** *Homework #1 CaesarCipher.java *program to encrypt and decrypt stuff */ public static void main(String[] args) { ceasar1 cc = new ceasar1(); public class ceasar1 { public String dataencyptS, …

Member Avatar for zainz
0
257
Member Avatar for filch

At [url]http://streetkids.zuka.net/sandbox/map-new.05.html[/url] the app you see there works as expected in IE8 and Firefox etc. But, IE7 does not work. While the plugin I used does indeed seem to function under IE7, mine is not and I have not been able to track it down. This functionality was built from …

Member Avatar for filch
0
115
Member Avatar for Kath_Fish

Now, i already split the data. I want to read the data inside the foreach loop (sortedlist) but it always give me error. [CODE] while ((read = f.ReadLine()) != null) { s1.Append(read); //read = read.Replace("\r",""); SplitItem = (read).Split(new string []{"\r\n",":"},StringSplitOptions.RemoveEmptyEntries); foreach (String abc in SplitItem) { a += "\r" + …

Member Avatar for Kath_Fish
0
177
Member Avatar for margeaux54

hello. I am struggling until 4 weeks. you know ancientDragon. whatever . ı do no go forward anymore. I need names of books that can help me. I have a information but it is not enough. ı want to understand questions on these websites. I have only little array, pointer, …

Member Avatar for jackmaverick1
0
96
Member Avatar for kris0r

Hi all, I'm writing a webcrawler as part of a search engine project at university, and have been using jsoup to my advantage. This connects to a page and neatly takes all the href's from anchor tags for me. However, when I add these to the arraylist of URLs waited …

Member Avatar for mKorbel
0
514
Member Avatar for leeggodfrey

Hello All, I have a very simple search cursor that is selecting from a table a list of names in order to query a database. It was working fine until I encountered a name with an apostraphe in it. O'Brien for instance. The search cursor is very basic. [CODE] inCur …

Member Avatar for leeggodfrey
0
171
Member Avatar for anti_genius

Hi, Can anybody tell me how can i set attributes of frame or components in a frame in ActionListener of a button. Regards.

Member Avatar for alastair1008
0
157
Member Avatar for WolfShield

Hello, I've just recently found out about Python scripting and I am interested in programming an auto login script. However, when looking around, I haven't found any Python web scripting tutorials or guides. If someone could either explain to me how it works, or point me towards a good tutorial …

Member Avatar for WolfShield
0
515
Member Avatar for Mr Programmers

Hi, I am having two issues with making my Maze Game in VB.NET. I want the levels to be difficult to solve so I am making some *sliding* (NOT MOVING) Panels to interrupt the players. These are my problems: 1. I want the Panel to slide (Sliding Up and then …

Member Avatar for codeorder
0
298
Member Avatar for kirenemook12

hello every one i am making a program what requires that the user types in some text in a textbox. the problem is, how do i get that text from the textbox into the std::string (or a other kind of string)? i don't know how to do that in Win32, …

Member Avatar for kirenemook12
0
815
Member Avatar for bops

Hey guys, I would like to read the contents of a file that resides the same directory as my .aspx file. In my C# codebehind, I don't seem to be able to get the correct path. I have tried numerous methods like using "./branch.txt", "branch.txt", "/branch.txt" and even tried using …

Member Avatar for bops
0
121
Member Avatar for thekitoper

Hello, I am still rather new to Gtk and have a problem (obviously). I have been defining the size of a main_window and the window's size does not change. Anyhow, I am hoping someone can help me. [CODE] main_window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(main_window), main_title); gtk_window_set_position(GTK_WINDOW(main_window), GTK_WIN_POS_CENTER); gtk_window_set_default_size(GTK_WINDOW(main_window), 800, 200);[/CODE]

Member Avatar for Sky Diploma
0
177
Member Avatar for VanessaRyan

[ATTACH=left]19550[/ATTACH]Tap Me, Inc. launched the industry’s first [URL="http://tap.me/wp/how-it-works"]in-game advertising platform[/URL] this week. This platform gives designers the ability to place ads that are in context with the game being played, rather than disrupting it. Gamers will no longer have to get rid of banner ads or pop ups in order …

Member Avatar for VanessaRyan
0
641
Member Avatar for ashley11

Hi, if there are two objects of type SortedList, how can I compare them? i wan use intersect method and hash function to count how many times the Keys are duplicate. My program is in window form, not console.

Member Avatar for Mitja Bonca
0
102
Member Avatar for aleemoe
Member Avatar for L7Sqr
0
83
Member Avatar for naren228

i hav just installed oracle 8i on my laptop but i am not able to open the sql plus what is the user name & password?? i hav tried scott &tiger but not working please reply soon

Member Avatar for bhawna bharat
0
495
Member Avatar for harish9

*ptr = 'hello world"; if we try to modify the content the result is undefined when i worked with gcc in unix. But i can modify the content in Turbo c. How it worked i got confussed.

Member Avatar for rubberman
0
146
Member Avatar for mrhankey

hi guys, quick question. i have 2 tables. Client Table: ClientID INT PK AI, ClientName VarChar Folders table: FolderID INT PK AI, FolderName VarChar, client_ClientID INT The issue i have is that i have created this virtual folder appliaction in the site and have created it now where when they …

Member Avatar for tinymark
0
129
Member Avatar for Ssnowlin

I am trying to build a compiler using Java Code. I am stuck at the Lexical Analyzer Stage and am not getting the output I want. The Code: 1)Lexical Analyzer [CODE] public class LexicalAnalyzer { int lexemebegin; int state; Symbol tokenValue; TokenType currentTokenType; String Shura; int lineNumber; int position=-1; String …

Member Avatar for Ssnowlin
0
390
Member Avatar for stylemonger

Hi - I've been at this for hours, so... say hello to my first post. I'd like to allow my many cpp files to call on a function from DLL funcs I've brought in using LoadLibrary/GetProcAddress/etc, but, when I include the header file into the multiple cpp's, I get the …

Member Avatar for stylemonger
0
674
Member Avatar for AMADH

Hello, I am trying to learn how to use animation, and i have it working a little but I can't get it to move my box. I was wondering if someone might be able to let me know what I am doing wrong here. [CODE]<script language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> …

Member Avatar for AMADH
0
239

The End.