199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Lemony Lime

I'm pretty new to programming, so this may be really obvious, but I'm having trouble with it. I'm trying to learn python, so I thought I'd make a simple program in python to help me write similar lines of java code faster, (I'm going to easily have hundreds of lines …

Member Avatar for Lemony Lime
0
544
Member Avatar for rithish

i used turb0 c++ in windows 7 but i does not display a full screen mode.are there any tools that run c and c++ in windows 7???

Member Avatar for Schol-R-LEA
0
409
Member Avatar for alaa sam

I need to to send variables between two forms in the same project is that possible ?? also can I change the color of some text in text box but not the whole the text ?? Thanks in advance

Member Avatar for alaa sam
0
114
Member Avatar for talisien

Hi All, I found this code to disable dates in jquery datepicker [CODE]$(function() { $( "#pickdate" ).datepicker({ dateFormat: 'dd MM yy', beforeShowDay: checkAvailability }); }) for the datepicker stuff, and then: var $myBadDates = new Array("10 October 2010","21 October 2010","12 November 2010"); function checkAvailability(mydate){ var $return=true; var $returnclass ="available"; $checkdate …

Member Avatar for Airshow
0
2K
Member Avatar for tqmd1

Dear Experts I have following codes [CODE]<html> <head> <title>this is first math exercise within Java Script</title> <script lanuage="Javascript"> function total() { Var amount1 = text1.value Var amount2 = text2.value Var total=eval(amount1) + eval(amount2) text3.value=total alter("Correct Answer") } </script> </head> <body> <center> <form> <table width="20%" border="1" cellpadding="1" cellspacing="1" > <tr> <td …

Member Avatar for stbuchok
0
86
Member Avatar for warlord902

I'm looking for a good book about Servlets and JSP for beginners. So far, the only book I know and have read is Head First Servlets & JSP, but it's focused more on the SCWCD exam rather than the specifics on building stuff. I'm looking for a book that has …

Member Avatar for warlord902
0
181
Member Avatar for R3AL

my code: [CODE] ... DWORD WINAPI myGWTHPID(HWND hWnd, LPDWORD lpdwProcessId){ __asm { MOV EDI,EDI PUSH EBP MOV EBP,ESP JMP [DLLFunc] } } int main(){ hInst = LoadLibraryA("user32.dll"); DLLFunc = (DWORD)GetProcAddress(hInst, "GetWindowThreadProcessId" + 5); HWND hwn= FindWindowA(NULL,"Untitled - Notepad"); cout<<"Window handle: "<<hwn<<"\n"; DWORD pID; myGWTHPID(hwn,&pID); cout<<"Process id: "<<pID; getch(); return 0; …

Member Avatar for R3AL
0
147
Member Avatar for momin90909

I am making a calculator which shoul not use cmath.h. I was just thinking that how is it possible to calculate trigonometric functions without cmath.h. Please help me. Thanks in advance.

Member Avatar for WaltP
0
276
Member Avatar for caseyt88

Hello, I am taking a computer programming class this semester and working on a project. I am trying to read a text file into a 2D list. The text file contains ten rows and ten columns of numbers, either a 0,1,or 2. When i try to read the file it …

Member Avatar for caseyt88
0
421
Member Avatar for tgr0ss83

[B]I have an array that looks like this:[/B] [CODE] array 0 => array 0 => string '12/08/2011' (length=10) 1 => string '00:00' (length=5) 2 => string '34.83' (length=5) 3 => string '12/08/2011' (length=10) 4 => string '00:00' (length=5) 5 => string '34.83' (length=5) 1 => array 0 => string '12/08/2011' …

0
64
Member Avatar for anoop4real

Hi, Is there any tool available to convert sql CE db (*.sdf) file to SQLITE db?. I got some from code project but it converts only SQL Server DB. -anoop

Member Avatar for davidcarta
0
305
Member Avatar for kusel1030

I'm trying to write a program that will read in a file to a 2-d array and find out how many groupings (blobs) of characters there in the file. It then uses a recursive function to delete the already counted blobs, to avoid recounting. The program compiles fine, but when …

Member Avatar for kusel1030
0
720
Member Avatar for Labdabeta

I have a project that I have formatted for Doxygen. I use extra header files to hold extra classes. The thing is that Doxygen only generates documentation for the first header file. How do I get it to document all of the files I specify?

Member Avatar for Labdabeta
0
2K
Member Avatar for Thermalnuke

I am having trouble with my looping sequence in this program at the end of the program it will let the user choose if they would like to exit the program or start all over again and it exits for both chooses and sometimes it will continue on to the …

Member Avatar for Thermalnuke
0
182
Member Avatar for itzcarol

HI All, I am having a little difficulties here. Here is my requirements: Play the game of paper-rock-scissors. In main ask the user how many hands he/she wants to play. This must be an odd number, so you must validate this input to make sure the number is odd! After …

Member Avatar for Tumlee
0
252
Member Avatar for blaaam

[B]Hello! I have made my web site tamplate, and know is the time to add to CMS. But i have problem in the internet have so many type CMS source, but all what i have tryed (somewhere about 20) i didn't like, becous some have features that i don't need …

Member Avatar for Stefano Mtangoo
0
171
Member Avatar for galhajaj

Hello :) i worked many time with the Point structure on my projects i noticed that there is a brother to Point calls PointF (its Point with floats as X & Y) the thing i dont understand is why i saw a lot of drawing functions that uses RectangleF and …

Member Avatar for gusano79
0
96
Member Avatar for schrei

Hi, I'm looking at shared memory in C and I seem to have encountered a bit of a problem. I'm fairly sure that I may be misunderstanding something here. I'm trying to send an array of structs to another process via shared memory. When the other process goes to read …

Member Avatar for schrei
0
307
Member Avatar for polinolin

i am trying to make web browser control at my form.. my url is : www. gmail.com but, when i'm running my project..i'm getting error.. you can see the error at [url]http://i917.photobucket.com/albums/ad15/popopardede/abcd.jpg[/url] anyone can solve my problem? big thanks

Member Avatar for polinolin
0
130
Member Avatar for xega

Hi I've been searching for an example on how to created multiple dropdown lists in Ajax and finally managed to find one: [URL="http://www.coursesweb.net/ajax/multiple-select-dropdown-list-ajax_t"]http://www.coursesweb.net/ajax/multiple-select-dropdown-list-ajax_t[/URL] I got the example up and running on my server, but when I started to modify it to fit my own database, I got a problem with …

0
103
Member Avatar for xega

Hi I'm hoping someone here can help me with a php/mysql question :-) I have a dropdown menu populated from a table "tblsyslur". The fields in "tblsyslur" are: sysla syslaskt syslaid = primary key I have taken the values from the field "sysla" and used that to populate a dopdown …

Member Avatar for xega
0
213
Member Avatar for gourav1

please tell me that as i have learnt core java and i want to give SCJP which is coming in january? what exactly this exam is all about? how should i prepare for it? what is its value if i will pass this exam? please me all info about this. …

Member Avatar for stultuske
0
161
Member Avatar for gameguy91

#include <iostream> using namespace std; int main() { int n1,n2,n3,n4,n5; cout<<"input number\n"; cin>>n1; cout<<"input number\n"; cin>>n2; cout<<"input number\n"; cin>>n3; cout<<"input number\n"; cin>>n4; cout<<"input number\n"; cin>>n5; if (n1>n2 && n1>n3) return 0; }

Member Avatar for gameguy91
0
156
Member Avatar for gameguy91

#include<iostream> using namespace std; int main() { int n1,n2,n3,n4,n5; cout<<"input number1\n"; cin>>n1; cout<<"input number2\n"; cin>>n2; cout<<"input number3\n"; cin>>n3; cout<<"input number4\n"; cin>>n4; cout<<"input number5\n"; cin>>n5; if(n1 < n2) n1 = n2; if(n1 < n3) n1 = n3; if(n1 < n4) n1=n4; if (n1<n5) n1=n5; cout << "The largest number is\n" << …

Member Avatar for gameguy91
0
262
Member Avatar for Diogo Martinho

This is probably an easy thing to do but I don't know how. How can I declare in the .data section one pointer to an integer?

Member Avatar for Diogo Martinho
0
74
Member Avatar for asong

This should be written in Python. The program will determine all of the magic squares when given an n, display permutations that match the magic squares to the screen AND write it to a file. It will only test when n == 3!!! But code it for n of ANY …

Member Avatar for asong
0
2K
Member Avatar for rotten69

Hey everyone, I'm wondering why I can't print the values that are in the array. I'm passing an array to the method below and trying to print the result.. the compiler says that "ArrayIndexOutOfBoundsException" What's the problem really? [code] public static int[] treble(int[] nums){ for (int i=0; i <= nums.length; …

Member Avatar for stultuske
0
155
Member Avatar for vonbv25

i can't find what's wrong w/ my program. the output is wrong when i type long names and names w/ less similar letters (sorry for my english i'm a filipino) [CODE]#include <stdlib.h> #include <iostream.h> #include <string.h> #include <conio.h> #include <stdio.h> char name1[20],name2[20]; int count1[25],count2[25],temp1,temp2,total; void flames(int num) { switch(num) { …

Member Avatar for Schol-R-LEA
0
154
Member Avatar for begyu

Hi, I would like to read a directory, and get all the files in that with some kind of sorting, let us say sort by timestamp. Can you help me, here is my code so far: [CODE] #include <stdio.h> #include <iostream> #include <sstream> #include <fstream> #include <cstdlib> #include <vector> #include …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for c fan

I am new in c and dont know how to make a database in it i know that there is no database connection with c but i want to make project on employee data using file processing like this 1. add (employee name, age, contact number) 2. edit (employee name, …

Member Avatar for Ancient Dragon
0
241
Member Avatar for Trle94

Hey guys i tried getting CodeOrder snippet working but it really messup all my tables and such when i try to add for other groups sorting first 3 works fine but when i try to add more everything gets strange :S so if you can fix it ?? Here are …

Member Avatar for Trle94
0
264
Member Avatar for StephNicolaou

Hi, I have a simple query I've used again and again previously, but in this case it's telling me that it is too complex. I've output this sql string into a message and cannot see any problems with the syntax, I'm completely baffled with this one so any help would …

Member Avatar for StephNicolaou
0
85
Member Avatar for riahc3

As some of you have read, Ive been working with JNI for these days. Ive found that JNA may be easier to manage and also allows some other things. I have this very simple program: The .cpp: [code] #include <stdio.h> #include "PruebasDeJNA.h" int suma(int a,int b) { return a+b; } …

Member Avatar for riahc3
0
154
Member Avatar for Blahthing

im having trouble closing this class, ive been trying for 2 hours Its a huge collection of ifs [ICODE] package net.minecraft.src; import java.util.Random; import java.util.*; public class ItemTestItem extends Item { public int TimesShot; public ItemTestItem(int i) { super(i); maxStackSize = 1; setMaxDamage(50); } public void onUpdate(ItemStack itemstack, World world, …

Member Avatar for hiddepolen
0
135
Member Avatar for anand01

Hi all , I am learning j2ee with the help of this forum, I learned jsp and servlet , what should be my next learning process because lot frameworks/ technologies there to learn. Structs , Hibernate, Springs,Ajax all are strange for me. what should I learn next pls suggest me. …

Member Avatar for anand01
0
119
Member Avatar for beshoo

Dear all . :) i have 2 classes which generate a key look like this one : Lg+jExclU6WUbd2bKF1OZay1A4vzMHff8Di2TLoBnTwvtmdzZQrq4JErJCJzurKlbNrIBs05q4wf5uTirLVREQ== the 1st class : import java.math.BigInteger; import java.security.KeyFactory; import java.security.NoSuchAlgorithmException; import java.security.PublicKey; import java.security.spec.RSAPublicKeySpec; import javax.crypto.Cipher; import javax.crypto.NoSuchPaddingException; public final class c { public static String a(String paramString) { RSAPublicKeySpec localRSAPublicKeySpec = …

Member Avatar for stultuske
0
2K
Member Avatar for Ahmed2

Hello there, submissiontime length finishtime remainingtime 1031 17:11 574.1025391 MB 1050 17:30 1 1326 22:06 536.0175781 MB 1343 22:23 2 2721 45:21:00 608.1279297 MB 2741 45:41:00 3 32 0:32 575.8115234 MB 51 0:51 4 1161 19:21 652.6259766 MB 1182 19:42 5 937 15:37 288.7597656 MB 946 15:46 6 3087 51:27:00 …

Member Avatar for Ahmed2
0
321
Member Avatar for jonnyboy12

Hello all. I have an email that i am sending with html. In the html is some php. I want it so that when someone opens the email i receive a confirmation. I am using this code for it. [CODE] mail($sendto, $subject, $message, $header); [/CODE] It does not work. One …

Member Avatar for jonnyboy12
0
168
Member Avatar for muneeb213

Helloo......... how to set expiry date whenever my passport is expiry its automatically ALERT is there any code for expiration plz help me or give sum advice or sample

Member Avatar for muneeb213
0
500
Member Avatar for dsoto

Using the file of sunset data, write a program using graphics that shows the sunset and sunrise. When I run the program, it says java.lang.NullPointerException. I want to know where I put the sunset data file. I am using eclipse. Here is my program: [CODE] import javax.swing.*; import java.io.*; import …

Member Avatar for stultuske
0
278
Member Avatar for ibthevivin

I'm wondering if there is a way to simplify this program. I feel like I wasted a lot of time on all the ternary codes at the bottom for labeling "bill" for the three values (ten$, five$, and one$). Also for deriving the values for q,d,n, and p I feel …

Member Avatar for JamesCherrill
0
142
Member Avatar for iwlc
Member Avatar for RCrizt

how to count no. of hours and minutes in two set of time. having a start time to end time. ex: 1st time : 8:00 to 17:00 2nd time : 9:00 to 18:00 answer : 6hrs <- total number of time (-) number of hours (|) start/end |--------| = 8hrs …

Member Avatar for RCrizt
0
135
Member Avatar for Majestics

I am creating a project, which one start copy itself to any drive and stop execution and run other file which was copied.... No progress yet... Has any one done similar type of project before.... Need a bit for starting guidance.... Thank you.

Member Avatar for mKorbel
0
114
Member Avatar for Turismosan

I want to write a program in C# that will populate the fields in a database that I have created, for example... I have fields in the database such as TotalWins, Name and TotalCredits. In the C# program, I want to have users enter these values into textboxes and when …

Member Avatar for Netcode
0
82
Member Avatar for mailgtauqeer

You can use and assemble with MASM611 very easily in Notepad++. Ihave find a very nice customization of Notepad++ on a blog. You can find it at [URL="http://easymasm.blogspot.com/"]http://easymasm.blogspot.com/[/URL]

Member Avatar for mailgtauqeer
0
435
Member Avatar for lothrodel

As I stated in the title i am having the issue where the object 'bj' does not call any of the functions that are within the class. I am stuck on this issue. Any help will be a appreciated. Thanks in advance. [CODE]#include <iostream> #include <cstdlib> #include <ctime> #include <string> …

Member Avatar for csurfer
0
156
Member Avatar for s_j_s

Hi all, I am looking for a shareware source code for a mortgage calculator to place on a WordPress website? Greatly appreciate your help. Thank you!!!

Member Avatar for jwenting
0
314
Member Avatar for next_tech

Hi Guys, My final project has come and it is to make a GUI for a program that we previously wrote. So I have to use tkinter as my package for python to get this written. Now I can't find anything on tkinter and python 3.2 or any GUI "designers" …

Member Avatar for TrustyTony
0
715
Member Avatar for peterson624

I have to ask the user for a filename (that exists in the programs father file) and open that .gif file in order to play with the colors of the image... I am really new as programming and need help! I will be asking for more answers soon as well!! …

Member Avatar for peterson624
0
215

The End.