199,114 Archived Topics
Remove Filter ![]() | |
Hello, I am knew here and not sure how to ask but I guess I will ask it here and if this is not where it goes feel free to tell me where to post it.....THANKS I am trying to write a recursive function Python program that will ask the … | |
Hi, I have a doubt regarding a function myfunc(int i,int j) function. The return value of this function is a vector of type int[ ] .For Example if we pass myfunc(4, 2) it will return a vector {( 1,0) ,( 0,1) ,( 1,0) ,( 1,0) , ( 0,1 ), ( … | |
How do i get the threadid of a window. I know it explains a bit "(HANDLE Thread)" but still how? Regards, Prosammer | |
Hello everyone, I'm looking for a programmer that can make a small program for me. I have a buget so is kind of a small job. If anyone knows how to do this or knows a friend that can, let me know please. Here is the information of what I … | |
Hi Friends..... I want to implement search indexing (like joomla) in my website. Earlier I develop search from database by "select" statement. But for whole website, I don't have any idea to do it............ Plzzzzzzz Help ??????/// I'll highly oblized to you............. | |
Hi,I am new in Java ,and I was wondering if somebody can explain what is the right way to create new object.Is the only right way the case 3,Am I only overwriting the arguments in the same object in case 1 and 2 Thanks [CODE] public static void main(String[] args) … | |
Hi all! In a course I am T.A.ing, one of the students submitted this program as their assignment and I did not fully understand why it wasn't working: [CODE=Java] public class Alphabet { public static void main (String[] args) { char alphabet= 'A'; System.out.println("The following is the English alphabet."); while … | |
Hi Ok i am makeing a program and want it to check if there is an update availible by checking if a txt file with the version has a difrent number. I have been looking around and found absolutly no help for this problem. The text file would be at … | |
Hi, I am pretty new to C# and cannot seem to find an answer to this question after 10 minutes google searching. What is the best way to suspend a program to wait for input on a textbox, specifically enter. I think my current problem is that I am coding … | |
I am doing a project where I have to make a Facile program that reads and executes statements line by line. Example would be like: LET A 5 ADD A 8 PRINT A END and that would print 13 to the console So I have a class for each of … ![]() | |
please help me. anyone know a way to make words from numbers in Access or VB? > Example: 45 = forty five > Example: 167 = one hundred sixty seven > > I would like to have a program that reads the number and turns it into words. I have … | |
#include <fstream> #include <cctype> #include <iostream> #include <string> const int num=1024; using namespace std; int main(){ ifstream file; string s; int i=0; file.open("words1.txt"); while(getline(file,s)){ for(int i=0; i< s.length(); i++){ cout << s[i];//prints out the text file just fine. "a dog." cout << s[0]; /*prints out random stuff. <---my problem. All … | |
Hi there. I want to create a program on windows 7(32bit) that can rename photos based on date and time taken in meta data. I would like it to have a user interface window where users can simply drag photo files onto the scrollList.. then a button that executes a … | |
So basically what I want to do is when user clicks button1 it pops up something like a message box that has a yes and a no button. If user clicks no, then it's no. If user clicks yes, then it's yes. It's like a confirmation. To do so, I … | |
[CODE]<?php $out = array(); $execute='./test.py'; $name="test"; exec("$execute $name",$out); foreach ($out as $value) { echo "$value<br />\n"; } ?>[/CODE] when I executing above code in local server its working.. But in hosted server, exec () function doesn't take the parameter variable '$name'. why? | |
[B]Hi every one, I'm working in a code from 1 mounth, and now I finaly finished, it work, but there is the old problem in C++ language, the interface, once that I wan't to do a program that will be used for anothers users, I wanna to make the program … | |
MyTable: People who moved from Blah City, Blah State: Name Location Date Kids Jack LA 02/05/1999 0 Cindy Chicago 12/15/2005 2 Randy LA 06/19/2003 3 Jason Seattle 04/06/2002 0 1. Who moved to LA? [CODE] SELECT Name, Location FROM MyTable ORDER BY Location; [/CODE] Expected result: LA Jack, Randy What … | |
Hi all, I was just wondering if it is possible to use python to send pulses of 5 v (default) through the parallel port. I have made up a circuit board to interpret the pulses, yet this isn't helpful since there are no pulses to receive. Here's some specs( maybe … | |
Hello, I am beginner at DBMS and i want to make a project on it can some body give me ideas about the project according to my level. Waiting for your reply THANKS in Advance ! | |
Hello, I am 16 years old and I wanted to know which science program to take for my last year of high school. (I'm already in high math). Either: -Social science (geography and history) -Pure science (chemistry and physics) That's not all, though. If it were that simple, I would … | |
how do i open a menu to exit the application when i right click on notifyicon in the systemtray? thanks. | |
Good evening, was wondering how can I read data record from a text file, if they want to read data from a text: (Offset : $4C8259; MemDump :($A1, $38, $BD, $4C, $00, $8B, $00, $8B, $4D, $FC, $BA, $C0, $82, $4C, $00, $E8, $1F, $F1, $FF, $FF, $33, $DB, $E8, … | |
Good Afternoon, I need help on this assignment from school, I'm getting this error C2660: 'clockType::setTime' : function does not take 4 arguments. I need to make the class functional by the client program testClockClass.cpp. Below are the code that I have so far: testClockClass.ccp [code] #include <iostream> #include "extClockType.h" … | |
I've seen macros like this: [icode]#define $Line #__LINE__[/icode] and I was wondering what the effect of the $ symbol has in a macro? | |
Below is part of some code I have written. I am trying to see whether nodes in a network are connected, and thus finding 'failurepoints'. I have a vector containing node Ids which I loop through to check for connections using a hasPath method. This all works fine, but my … | |
The code I wrote for a digital clock always falls behind the clock in my windows 7 taskbar after being run for like 2-3 mins. Why? Here's the code: [CODE]#include <stdio.h> #include <time.h> #include <windows.h> int main() { int h,m,s; time_t epoch_time; struct tm *tm_p; epoch_time = time( NULL ); … | |
Ok, so in this program, the user enters a number and it assigns that number to "answer". Now I have a bunch of strings already named by numbers, it starts out with "one", "two", "three" and so on being valued as a dash sign "-". So say they enter "five", … | |
Hello - I've used a for loop to fill an array of JButtons with text. Each JButton contains a letter of the alphabet. I've been successful in doing this and adding each button to a panel I created. But my problem is that I've tried, unsuccessfully, to add ActionListener's to … ![]() | |
so. . . i guess you could say i'm kinda new here but. . . this site really helps me alot this past few days and i decided to join... i was surfing all over the internet and i can't find what's the problem with my program. this always says … | |
Hello, I am trying to connect to a database "database1" using C#, however, everytime that I try to connect I get this error: [I]Unable to connect to any of the specified MySQL hosts.[/I] This is the code that I am using to connect to database1 [code] string connString = "Data … | |
Hi,I have a question ,which one is a better way to set constructor [CODE]public Employee(String name,double hours,double perHour,Date dateOfHire){ id=++count; setName(name); setHours(hours); setPerHour(perHour); this.dateOfHire=new Date(); } [/CODE] or [CODE] public Employee(String name,double hours,double perHour,int day,int month,int year){ this(name, hours, perHour, new Date(day,month,year) ); [/CODE] | |
Hi am trying to create a random sentence generator for my Java Class the only issue is it builds successfully and rans fine but the output is not what is expected of the program. It should randomly generate 20 sentences. Here is my code [CODE]// Exercise 16.5 : Sentences.java // … | |
[CODE] IsConnected("Select count(ID) from transaction", False) If myDR.Read = True Then Me.TextBox1.Text = myDR.GetValue(0) + 1 Else Me.TextBox1.Text = 1 End If TextBox1.Focus() End If[/CODE] im going to ask how can i make my autonumber like these "10001" instead of "1" can anyone help me to fix my code?? | |
I've made a simple webserver in C++ based on this one [URL="http://http://msdn.microsoft.com/en-us/library/ms737593%28v=VS.85%29.aspx"]here[/URL]. And this works fine. Now, my assignment is to pass some info from this server to an html-file that later can be opened in IE or Firefox and then display info like screen resolution. Now.... This is supposed … | |
i was always taught put the variables u plan on using in a function at the top of it! im curious if it's considered bad programming practice to only define variables when they are going to be used/need to be used....for example possibly midway or further into a function? | |
Hi Guys!,I have a question,I have 2 text boxes and one text box has the name of a song and the other has the name of the artist. I would like to take the value of each text in the text box,for example song-only girl artist-rihanna after i inserted this … | |
Hi Everyone, I have a table that has a 2 column primary key. I set up the key where the 2nd column is an identity column. When I ran my VB application I discovered the ID (2nd column) did not increment the correct way. I was hoping it would increment … | |
I've been messing around with basic GAs in Java but I seem to have run into an algorithmic problem but can't seem to find where exactly. My code seems to narrow down the average fitness very quickly, but then seems to hover around the right answer without getting there pretty … | |
I figured out how to use time in C since the last time I asked a question here. :cool: My new dilemma is that I was wondering if its possible to save user input in a C program so that when the program is closed and executed again it will … | |
i am trying complete a simple login where the username and password are flat within the program...... i have absolutely no idea on how to do it! i am using a jdialogue form in netbeans and have designed the facial however i simply dont now how to compare what is … | |
I am to write a program that converts either binary, hex or octal to decimal. We are to use methods for the first time (Not a problem). I have written almost all of the code but the conversion. We can't use int.toDecimal or any shortcut. All must be long coded … | |
I have a project I am working on but I honestly can't get a hold of a good jump off point. I'll post the pseudo code. I really need the help please. It is for a GUI C++ program. Please help me if anyone can. All I need is a … | |
ITS NOT MY HOME WORK I m Just Keen to do it. I don't want you to give me the code. I just want you to tell me how to access VDU and directly change character on same screen. The screen is divided into 25 rows and 80 columns. The … | |
Hi guys am creating a Binary Search Tree Program so far it works fine and everything but I am trying to arrange the random numbers generated after the in order transversal in ascending order here is my code [CODE] // C // This Binary Search Program inputs 25 Random workers … | |
Hello Friends, I am new to .NET and to this forum too. I need to move approx 2K rows from an oracle to SQL server table every week. I am planning to develop a C# console application to achieve this. Any ideas how to start and what is the best … | |
Hi All ~ So the program actually compiles without using arrays or global variables, outputs the correct user input, however average score and lowest score values that compute are wrong. I have no idea where the heck I'm messing up but I am hoping you can help me. The findLowest … | |
I want to capture a still picture in any format like .png,.jpg,.bmp etc. using a webcam. And want to save that in directory. Please help me. | |
i have this code and it kinda works but not properly. i need it to look at the coloum in a datagrid and make the back colour red if over 1.6(in sql this field is saved as Varchar(10)) but at the min, i have a value of 1.5 and it … | |
Hey Guys, I know there has to be a way to automatically delete a row in a MySQL table on a specified date. I am just brain dead today :icon_confused: Let's just say I have CMS that I input posts and want one of the fields in the table to … | |
Hi! I am kind of new at pygame and I can't use functions. I define the "screen" variable outside of all functions(the "screen" variable is the "window"), and I can't use it in functions. I know it has to be global, but that won't work. Anyway the best i can … |
The End.