199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MrKnowNothing

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 …

Member Avatar for Rehab A
0
313
Member Avatar for techie929

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 ), ( …

Member Avatar for techie929
0
121
Member Avatar for Prosammer

How do i get the threadid of a window. I know it explains a bit "(HANDLE Thread)" but still how? Regards, Prosammer

Member Avatar for Prosammer
0
912
Member Avatar for Viasur

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 …

Member Avatar for richieking
0
147
Member Avatar for ankit.pandey3

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.............

Member Avatar for ankit.pandey3
0
138
Member Avatar for kukuruku

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) …

Member Avatar for ~s.o.s~
0
200
Member Avatar for kvass

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 …

Member Avatar for JamesCherrill
0
215
Member Avatar for nazerb

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 …

Member Avatar for pseudorandom21
0
127
Member Avatar for JokerDoom

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 …

Member Avatar for ddanbe
0
204
Member Avatar for greenshell

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 …

Member Avatar for ztini
0
141
Member Avatar for blueciel

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 …

Member Avatar for AndreRet
0
147
Member Avatar for raidernation

#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 …

Member Avatar for raidernation
0
1K
Member Avatar for efecto

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 …

Member Avatar for Ancient Dragon
0
180
Member Avatar for Zephyr-

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 …

Member Avatar for Momerath
0
210
Member Avatar for benqb

[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?

Member Avatar for benqb
0
108
Member Avatar for jshoot

[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 …

Member Avatar for Stefano Mtangoo
0
455
Member Avatar for jimbob90

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 …

Member Avatar for BitBlt
0
104
Member Avatar for python01

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 …

Member Avatar for python01
0
241
Member Avatar for Wakas

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 !

Member Avatar for BitBlt
0
115
Member Avatar for DoubleJump

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 …

Member Avatar for Rashakil Fol
0
139
Member Avatar for Joshua Kidd

how do i open a menu to exit the application when i right click on notifyicon in the systemtray? thanks.

Member Avatar for Joshua Kidd
0
429
Member Avatar for douglaspr

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, …

Member Avatar for delphiman
0
207
Member Avatar for poloblue

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" …

Member Avatar for Narue
0
311
Member Avatar for tomtetlaw

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?

Member Avatar for tomtetlaw
0
128
Member Avatar for BioJavaPhobic

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 …

Member Avatar for BioJavaPhobic
0
649
Member Avatar for sketchiii

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 ); …

Member Avatar for Adak
0
224
Member Avatar for triple sick

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", …

Member Avatar for VernonDozier
0
155
Member Avatar for Katana24

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 …

Member Avatar for ztini
0
2K
Member Avatar for manongjulius

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 …

Member Avatar for manongjulius
0
289
Member Avatar for Phil++

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 …

Member Avatar for Momerath
0
87
Member Avatar for kukuruku

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]

Member Avatar for Mitja Bonca
0
126
Member Avatar for carlitosway17

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 // …

Member Avatar for carlitosway17
0
6K
Member Avatar for bestex

[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??

Member Avatar for codeorder
0
147
Member Avatar for Jaily

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 …

Member Avatar for tundra010
0
108
Member Avatar for lochnessmonster

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?

Member Avatar for spoonlicker
0
124
Member Avatar for nadav64

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 …

Member Avatar for Mitja Bonca
0
159
Member Avatar for emaduddeen

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 …

Member Avatar for emaduddeen
0
183
Member Avatar for doyler

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 …

Member Avatar for doyler
0
137
Member Avatar for sketchiii

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 …

Member Avatar for sketchiii
0
194
Member Avatar for odiejodie

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 …

Member Avatar for mKorbel
0
86
Member Avatar for 24x24

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 …

Member Avatar for 24x24
0
238
Member Avatar for Jutch

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 …

Member Avatar for Jutch
0
148
Member Avatar for ram619

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 …

Member Avatar for Adak
0
624
Member Avatar for carlitosway17

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 …

Member Avatar for carlitosway17
0
2K
Member Avatar for aaron385

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 …

Member Avatar for Momerath
0
320
Member Avatar for scarlettmoon

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 …

Member Avatar for scarlettmoon
0
303
Member Avatar for debayanmitra

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.

Member Avatar for jlego
0
223
Member Avatar for Mike Bishop

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 …

Member Avatar for msrd
0
72
Member Avatar for drewpark88

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 …

Member Avatar for drewpark88
0
188
Member Avatar for Hoff123

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 …

Member Avatar for Hoff123
0
5K

The End.