199,124 Archived Topics
Remove Filter ![]() | |
![]() | I'm looking to learn C++ from online sources. Which would you recommend considering I have no prior programming experience. Also, is it necessary or helpful to learn C beforehand? |
Hi, I am a beginner who is trying to write a small piece of code which holds down the FN key and presses the F10 key. I think this is called a keypress or keydown. I have a brain injury which causes memory problems and makes it very difficult for … | |
When is it appropriate to use InnoDB table types? What about for a forum such as this one with huge post and thread and memberlist tables? I was reading on dev.mysql.com that it is more efficient than MyISAM for large table types? Is this always the case? Would it make … | |
Hi, How to make at code that calculator will operate with 3 numbers (Example: 15 - 2 * 5) and that [U]multiplication and division[/U] have precedence over [U]addition and subtraction[/U] ? At that code it operates just with 2 numbers: [CODE] int num1; int num2; string operand; float answer; Console.Write("Please … | |
I have two codes in C and in Python. They gave me different results. Can anybody explain how they works, why I get different results? Thank you in advance!!! In C: ----------- #include <stdio.h> int main() { int a = 100; printf("%d = %02x\n", a, a); a = ~a; printf("%d … | |
Hey, I'm trying to make it so when my program is started, a text box ("log") automatically says: "Placeholder1" *1 sec delay "Placeholder2" *1 sec delay "Placeholder3" I have set the text box to say "Placeholder1" using properties but I am having problems coding the rest. I know this may … | |
Hello, I was wondering if it is possible to restrict the values of a text input box to only accept set values such as "XBC1". I am trying to make a form for a scanner so you can scan bar codes and it will auto fill the form out and … | |
Hello, I would like some help if anyone can. I have researched, research and I just cant do it anymore - I have to ask. Before I do, I know this is probably a simple answer, and your fed up of explainng it but from my research (lots) the example … | |
thanks a lot I need another code where once I enter a text into a text box i need the data to be transferred to MS access without erasing any data(a new record is to be created) | |
I am working on a project that stores it's data in serialized files on the hard drive in a custom file format. The server end of the application accepts TCP connections from clients and returns data to the clients based on the query, it's kinda like a light weight, custom … | |
what is wrong here? [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php session_start(); $user = $_SESSION ['username']; if ($user) { //user is logged in if ($_POST['submit']) { $oldpassword = md5($_POST['oldpassword']); $newpassword= md5($_POST['newpassword']); $repeatnewpassword = md5($_POST['repeatnewpassword']); //connect db … | |
hi. HAPPY NEW YEAR! :) I'm making a system that uses ms access2003 and vb6. My problem is how to search the database with two field names (namely: Lastname, Firstname) and yet I can still search them one by one. Ex. the Lastname field = "Smith" while the Firstname field … | |
Hi, I have encounter a strange result couldn't figured out. # Str with format "Mon MM HH", try to skip leading space in DD. my $str = "Jan 8 11"; # Jan, 8th 11 o'clock print substr($Str, 0,3) . [B]substr($Str, 4,2)=~s/^\s+// [/B]. substr($Str, 7,2) . "\n"; The result is "Jan11", … | |
What is the best IDE that I should use to make a program using Ruby Language? And where can I download it for free? I'm self studying. :) | |
i have an email form and it wont work. i have made sure the email is correct and is working, but i keep getting the 'or die' error. Please help. here is the code: [CODE]<?php $to = "****@***********.com"; $subject = "Contact Us"; $name = $_REQUEST['name'] ; $email = $_REQUEST['email'] ; … | |
Hello To All, Its very very urgent... I want a page in which the daily news should come[B](IN HINDI)[/B] and there are two conditions: 1. On the first page there must be only the headings and a brief introduction about each news[B](ALL IN HINDI)[/B]. 2. Secondly, on clicking on the … | |
I have two listboxes titled lstResult and lstResult2. lstResult clears with no problem using lstResult.Items.Clear() but when i use that for lstResult2 it dissapears but when i put in another value, the value(s) that i deleted come back. Also how do i fix the total to reflect the changes. Thank … | |
As the title suggests, i am trying to pull a bitmap image stored in a table location with an OLEObject type to my picture box on the form. The code i am using is as following: [CODE=VB.NET]img_ProductPicture.Image = DS.Tables("LocationInfo").Rows(0).Item(5)[/CODE] The error i am receiving is an InvalidCastException: Unable to cast … | |
This little code snippet shows you how you save a wxPython canvas drawing to a standard image file. | |
Ok, time to get off my ass and learn C and C++. However, I'm having a bit of trouble finding a free compiler; I'm a newbie so it needs to have a friendly and explanatory GUI if possible. Just post name and/or link, thanks :D | |
[CODE] //myMalloc.c #include<stdio.h> #include<unistd.h> #include<stdlib.h> void *newMalloc(size_t vol); void newFree(void *adPtr); void save(); void search(); void *findSpace(); void freelist(); static int buf[12500]; void *newMalloc(size_t vol){ // some code } void save(){ // some code } void search(){ // some code } void newFree(void *adPtr){ // some code } void *findSpace(){ … | |
Hey guys im getting back into Java after a break from programming. And i was wondering what is the best integrated development environment for running java.Im sure there is no one Best, but your input would be greatly appreciated. | |
Here is my problem. I have a site into which users can login. It has a logout button to let the user log out. My problem is when they close the browser without logging out, how can I close the logged in entry in the database?? I need a way … ![]() | |
Can anyone help me solve this problem? pass by reference/value and file i/o should be used.. Write a C++ program which will read in a list of numbers, find the average of all numbers, the average of thepositive and negative numbers, and the largest element. Your program should contain at … | |
I have a listbox titled lstResult1 and lstResult2. I am pretty new to C# programming. I am trying to save the two list boxes along with the rest of the file. I was able to save the three textboxes to the file but i cant get the two listboxes to … | |
So I'm building a web crawler for a pet project I've been working on. I'm using tutorial code for the crawler then building on it. I've done extensive troubleshooting and haven't had any luck. The problem: [LIST] [*]Roughly half the websites return content, but all of them return headers. [*]Some … | |
I read about a coding style where not one variable is changed. Everything must stay constant. I don't remember what it's called, but it's the bomb. I never realized this little project would be [I]so easy[/I]. Here is a 98 line calculator that supports [B]()^*/+-[/B]. If you find a bug, … | |
I have an idea for a friends list based off a user's account info. 'guid' is the character id number 'account' is the player's account number 'friend' is the player he is friends with 'online' 1 = online; 0= offline Here's what the layout is like: Friends List [CODE] `character_social` … | |
[ATTACH=left]17531[/ATTACH][URL="http://www.5o9inc.com/products/download/"]5o9® EZMobile[/URL], to be released on October 11, 2010 is a new mobile context app for all Web apps that utilize the browser to deliver real-time context (mobile user, device and location data) to the Web server for use in any Web application. This new software enables developers to know … | |
Can someone help me figue out why I keep getting an erorr that I am missing a return statement. [CODE] import java.util.*; public class ec1 { static Scanner kb = new Scanner(System.in); public static void main(String[] args) { String word = " "; String s = " "; char letter; … | |
Hey im new around here so if i get something wrong tell me :D I have this code [CODE]$txt = str_replace("#", "<a href=user.php?user=$txt></a>", $txt); [/CODE] I want it to when a user tags someone using # it goes to the user.php?user=WHATEVER#WAS. Its just like twitter is this possible and simple? | |
Dear All, I have java listener which keep reading for incoming data to the particular port. Most of the times it works fine only at times it gets too many open files error. Below is my codes what could be wrong? Thank you. [CODE]public static void main(String[] args) { try … | |
I'm trying to get my Captcha to work. It works, but if the user does it correctly I want them to go to my thanks.html page, and I'm doing something wrong. Help? [CODE] <? require_once('recaptchalib.php'); $privatekey = "Private Key numbers"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); $to = 'myemail@myemail.com'; … | |
Hello all! I am trying to create a server - client bundle that will let me send simple messages with ssl support. I am quite new at java and i can't figure out what my problem is. I am running the server and client programs at 2 computers at the … | |
[CODE]// Project: XorLib - Xor Encryption Libary. // Copyright: Copyright © 2009-2010 Shadowscape Studios. All Rights Reserved. // Developer: Shadowscape Studios // Website: http://www.shadowscape.co.uk // Support: support@shadowscape.co.uk // Version: 1.0.0.0 // Release: 151220102240 #define export __declspec (dllexport) #include <stdio.h> #include <stdlib.h> #include <string.h> #include <windows.h> long filesize(FILE *f) { long … | |
Hi how can i compare to array in C# ? i use this code but it`s result is false (must be true) ? [CODE]Array.Equals(childe1,grandFatherNode) [/CODE] | |
Hi, I'm a beginner and just started Turbo C I wrote this program in the editor main() { float years, days; printf ("Please type your age in years:"); scanf ( "%f", &years); days = years * 365; printf ("You are%.1f days old.\n", days); } I then run the program and … | |
Hey gang, Looking for some opinions here. I'm working in an ASP.Net MVC2 application. We've built a collection of "domain objects", ie, the data that represents our "real world" problem we're going to solve, and it's also the representation of what will be serialized to the database. Each of these … | |
Last week, Microsoft released a set of tools for developing software for the new Windows Phone 7 using Visual Basic. In order to use the tools, you have to have Visual Studio 2010 Professional or better (right now the Express versions don't work, although I've heard that will change). But … | |
Hi, I am writing a simple program modeling client/server interaction. I want the server to be capable of handling multiple connections. To implement this, I have been using _beginthreadex, passing references to sockets to the child thread. For example: [code]while(1) { SOCKET sClient = accept(ListenSocket, NULL, NULL); ... child = … | |
For anyone who [URL="http://www.itwire.com/content/view/22077/1168/"]doubted[/URL] that the iPhone was to be [URL="http://www.daniweb.com/blogs/entry4622.html"]taken seriously as a games platform[/URL], and there have been many, the release today of Grand Theft Auto as an iPhone app should seal the deal that the iPhone is the real thing as far as being a games console … | |
I am working on an application that lets you play drum sounds using a rockband drum kit. Current version available [URL="http://www.diamonddrake.com/software.aspx?title=RockBand%20Drum-Kit"]here[/URL] I am wanting to add a recording function but all I can think of is loop back recording. That's manageable but in Vista and Windows 7 by default the … | |
This snippet generates the best rational approximations of a floating point number, using the method of continued fractions (tested with python 2.6 and 3.1). | |
| |
![]() | i have this code,and it works.but after running it closes after milliseconds.anywhere i put "getch()" gives error.what to do?[code]#include <iostream> using namespace std; int main() { int i,j,k; for( i = 10; i >= 1; i-- ) { for( j = 1; j < i; j++ ) { cout << … |
Source: [U][url]http://www.lost-password.net/products/passwordrecovery.html[/url][/U] Do you have a outlook e-mail? Microsoft Outlook 2010 offers premium business and personal e-mail management tools to more than 500 million Microsoft Office users worldwide. With the release of Outlook 2010, you get a richer set of experiences to meet your communication needs at work, home, and … | |
pls check my database design and give comments. i'm a newbie database designer i dont have any experience, i've researched on the net but i think it's not enough. here's my ERD: [IMG]http://i43.photobucket.com/albums/e355/bettybarnes/asas.jpg[/IMG] | |
Hi, Simple question but why would someone use #define. Whats the difference between; #define sum 1 and const int sum = 1; both can't be changed and anywhere you sum its going to be 1!. Many thanks Alex | |
Hi, I'm a newbie to programming in general and I'm really struggling with working out how on earth to do this! I am aware of how to open the stream and read the text file using fscanf, however I want to store the text in that file into a string … |
The End.