199,114 Archived Topics
Remove Filter ![]() | |
hi, is there anyone here know how to create a chat bot with video? thank you ![]() | |
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 … | |
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> … | |
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 … ![]() | |
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" ); … | |
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? | |
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 … | |
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]............ | |
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] ^ … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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. | |
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] | |
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. | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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" + … | |
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, … | |
![]() | 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 … |
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 … | |
Hi, Can anybody tell me how can i set attributes of frame or components in a frame in ActionListener of a button. Regards. | |
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 … | |
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 … | |
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, … | |
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 … | |
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] | |
[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 … | |
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. | |
| |
*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. | |
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 … | |
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 … | |
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 … | |
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"> … |
The End.