199,124 Archived Topics
Remove Filter ![]() | |
Is it possible to have a program run multiple functions at the same time? Connectionist neural network programming seems suitable for object oriented languages. But brains seem to be able to have multiple faculties working all at the same time, and in orchestra with each other. BTW I'm a complete … | |
Try to do 3 things. The 1st see if a database exists in a certain location: if it dose then connect. else show error message. The 2nd see if the database is open: if open the display a message to the users that they are going to get disconnected. pause … | |
O.k My teacher game me a take home exam which will be submitted on monday..... and also I have to defend what I composed so I will ask you many questions so that I will understand this program..... my teacher said Never use C... do it in your own ideas.... … | |
is there a way to disconnect a user/s from a database and/or display a msgbox to the users telling them that there are about to be disconnected? ms access 2003 | |
hi all, I am developing a web application. I have loaded some block of text into the text box. Now i want to print only the contents of the text box.Can anybody help me regarding since i am new to asp.net thanks in advance | |
I have an image that I have created using the new image draw functions, but I need to have separate areas of the image as links to other pages. I know that the html map tag can be used to do this, but the problem is I can only get … | |
Hi, I'm facing a problem. I need the user to input a string, and then I have to add the string character by character to a queue so I can perform some parsing on it, I'm doing something wrong that I don't know. I've used sizeof(), length() and strlen() built … | |
Hi friends, could anybody guide me , how to find that a date exists in between two dates ? For example : 23/09/2008 -- 28/09/2008 - I'am on leave. When a attendence is entered for the date 24/09/2008 , then i should get a msg saying, that the given date … | |
I am creating a folder watcher application. If a new powerpoint file gets added in the folder it should get started automatically. So if I put .pps file into the folder then and I say [code]System.Diagnostics.Process.Start(fullPath);[/code] it works fine. This is not the case with .ppt files Only the powerpoint … | |
Hi all, I'm fairly new to programming as a whole and so I would be grateful if you can help me out. I'm trying to write a program in VC++ or C++ that would intercept print jobs from another program and save this information in another file(to be formatted later). … | |
Hi can any one send me the code for receving sms through gateway using java program. first i want recevie the sms from mobile through gateway and the i want to send sms to mobile through gateway..plz send me the sample code to achieve this.. Thanks in advance.. | |
I have written a guestbook in php using a MySQL database to store the entries. I am now writing the backend for it so that the rows in the table can be modified via a form. The way the form works is this: A table is displayed on a page … | |
HI All, I am currently following a tutorial on mysql and php and I am getting this error on displaying results ready for an update in a form. Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/site/update.php on line 11 [CODE]<? $id=$_GET['id']; $username="web183-sql"; $password="sqlpassword"; $database="web183-sql"; mysql_connect(localhost,$username,$password); … | |
Ive made a Security Screensaver whit the options to show random pictures. and it show the start time, time went and then im trying to get it to show time left by minus lasttime whit currenttime It just doesnt work, if anyone could help me i would very much appreciate … | |
Hello, I am very new to Visual Basic and try to teach myself again after years and years of not using it. Learned very basic codes back in school but that was too long ago. So far I have wrote only ONE application. Basic input, calculate and output. Came out … | |
reading a specific data in .txt file to put in specific tag in xml in vb.net..pls help.. sample: BL% PHP 103025 and so on... NL% .. .. BL% and NL% are indicators where data should be placed in a specific segment in xml PHP must be placed inside <currency></currency> tag.. … | |
Hey everyone, well ill be quickly...ive gotta a JSP page indexMembers.jsp with a button "Show My Reservations" when u click on that button it calls a JFrame (with a JTable inside) with the data from the databse that the user wrote before. now if i click on another button like … | |
Hey guys, I am tying to get my program to work, I don't have any errors but I cant get an output from it. I am supposed to output the second set of three from the nine inputs. Thanks to those who reply. [code]#include <iostream> using namespace std; class TMoney … | |
Hi, I'm new to the UI side of AJAX, and I was wondering if there was any AJAX framework (or an extension to the framework) which has the functionality like this: [url]http://tool-man.org/examples/sorting.html[/url] (scroll down to the section "Example: Sorting in two dimensions") Thanks, Suan | |
I want to exchange the functioning of backspace and delete key e-g if i press backspace it should delete the character on the right side of cursor and vicee versa for delete key. How can i implement this in rtb? | |
I was trying to find ways to improve the loading time of an application that I'm working on. It uses SDL to handle graphics and sound which brought up a question: which takes longer to load? If I want to load either graphics or sound into memory during the application … | |
I need to read in a list from a file, but I want to always ignore/skip the first line of this file. Right now I'm just cat'ing the file and awk'ing the first column as that's all I need. However, this will also give me the first column of the … | |
Hey, I'm trying to only read the int's and the symbol - (negative) from the file. right now my code is where m,d, and y are dates. Everything works fine. Except I do not read the - symbol. Any one know how to solve this? [ICODE] fin.open(ifile.c_str()); fin >> m1 … | |
I recently wrote a program to generate a tic tac toe game. The program should ask the user to select a number from the 'selection board', and this number will correspond to a spot on the game board. The user is playing against him/herself. I've encountered a pretty glaring bug … | |
This code Associates each number with cards, so 1 = ace of hearts/spades/diamonds/clubs, 2 = 2 of clubs/spades..... and so on so here is the code [code] void DeckToCards(int Deck[]){ //Sets each element into Cards; for(int i=0;i<52;i++) { switch(Deck[i]){ case 1:{ if(Deck[i]==1 && i<14)//Clubs char Aces_C[]= " A (of clubs)"; … | |
I would really appreciate it, I know html codes but I am new to c++ deal So if you could help me that would be great! | |
This may seem like a dumb question...well, it probably is. I am trying to write code for form validation. I wrote the code to check the information and then if everything looks okay, to use header ("Location....... and send them to the next page, but of course I get the … | |
I have run into an odd situation with linking files in my application. I have written a method that returns data for other methods. When I use this method(with in the same class) I get this error from linking. Any help with this is greatly appreciated [code] RetsParse.cpp: undefined reference … | |
I got first part by creating it using for loop. But got stuck on while loop. Would you see what I'm doing wrong. # Calculating number of vowels using for loop count = 0 word = raw_input("Please enter a phrase: ") for letter in word: if letter in "aeiou": count … | |
Hi all. I'm getting back into programming and want to brush up so I was wondering if anyone has a reccomendation of a compiler I can download for free that will work for the vista64 OS. Thanks | |
I have to develop income tax project, from the following concept * farpoint * datagrid * forms controls which one is effective one based on performance? please suggest me which one i have to use? | |
Hello! I'm a newbie in assembly and i'm facing some difficulties with handling 64 bit integers in pcSpim. What i am trying to do is read a string, convert it to a 64-bit number and then store it in two 32-bit registers. Should i create a 'for' loop which reads … | |
I created a GUI. with a bunch of classes (that extended JPanel) and one that extends JFrame and now I can't figure out how to transfer data between them. lets say I have a public variable set in the JFrame class and a get method like the one below: [CODE=java]public … | |
hi, I wanted to know how to generate random characters, but more specifically , only A,Q,K,J. This will be for a blackjack game program. | |
Two-dimensional Arrays. My question is based on this info did i code the right ? if not then let me know where did i made mistake? Input Data File here : 88 90 94 102 111 122 134 75 77 80 86 94 103 113 80 83 85 94 100 … | |
hello,can someone help me? I must make a program which contains: Deck (the data in it must be integer(numbers)),(if possible,in header file). Sort the elements by the method of Shell Find the elements that can be divided by 5, and smaller then the largest number that can be divided by … | |
[url]http://www.e-learningcenter.com/c_programming.htm[/url] Looks like it might be a pretty useful course and for only 69$. Before i spend the money, what do you guys think. Im not worried about the monetary value, but what kinda benefits i may get. I even noticed that thier copyright is up to date so this … | |
I need to display a DAG (directed acyclic graph), which is basically a Treeview, except children can have multiple parents. Any clue on a control or method to implement this in Visual Basic 2008? | |
Hi folks, I was really excited to use lightwindow AJAX modules that it worked on local server. But once we made it live on our actual server, it's not rendering. It opens the AJAX window and makes the entire page black. Please see attached image for visual explanation. We are … | |
I have a problem with the MoveFile() function of the Win32 API. I cant move files which are in the same directory as the exe file,if i specify the pathname,it dosent work.I dont know how this function works.Need urgent help....... [code] # include<windows.h> # include<iostream.h> int main() { MoveFile("C:\File1.txt","C:\New Folder\File2.txt"); … | |
I'm trying to read from a text file.I think that everything is correct!It gives me this error message: Debug Assertion Failed! Program: D:\Test\sign.exe File: fscanf.c Expression: stream != NULL For information on how your program can cause assertion failure, see the Visual C++ documentation on asserts. CAN SOMEONE HELP? [code=cplusplus] … | |
Hi, I'm using FindFirstFile and FindNextFile functions to get a list of files from a path specified by the user. Let's say the current directory has a sub-directory named 'subDir1' which has a file named 'file1.txt'. myDir <- pwd |_ subDir1 |_ file1.txt Now, if the user enters 'subDir1\*' as … | |
I just need a direction to go with this.. a simple program that assists with unix and/or windows GUI creation. I have fairly simple program using classes, virtual functions and inheritance. The functions are all implemented by a switch w/ 6 options that call one of the functions. Now what … | |
Hi, I need somebody to have a look at my code below and help to see what I have done wrong. I have 3 tables:[B]Student[/B] [I][COLOR="Red"](studentNum,firstName,lastName)[/COLOR][/I], [B]course[/B] ([COLOR="Red"][I]courseID,courseTotalCapacity[/I][/COLOR]), [B]course_allocation[/B] ([I][COLOR="Red"]studentNum,courseID[/COLOR][/I]). The AIM is to allocate students to 2 classes (courses 101 and 102) as long as there is available space … | |
When I debug my program, if I maximize my form, i dont know how to align the center all my butons!!!The butons stay in the corner... Someone can help me!! | |
how do I do it? I'm trying to make a conditional jump to a label: jz newmm but tasm says that the relative jump is out of range by 000D bytes. How do I change this to a long jump? How can I make it jump to an address, rather … | |
Is there any way of finding words in a 10 x 10 grid, going horizontally and vertically? For example, if i had a text file with the following in: xxxplanexx xrxxxxxxxx xexxxxxyxx xdxxxxxexx xxxxxxxlxx xxxxxxxlxx xxxxxxxoxx xxxxxxxwxx xkingxxxxx xxxxxxxxxx how would you be able to find the words red and … | |
Im trying to make this Hash Table to work, but I get these errors on linking time main.obj : error LNK2019: unresolved external symbol "public: __thiscall List::~List(void)" (??1List@@QAE@XZ) referenced in function "public: __thiscall HTable::~HTable(void)" (??1HTable@@QAE@XZ) StringTable.obj : error LNK2001: unresolved external symbol "public: __thiscall List::~List(void)" (??1List@@QAE@XZ) HashTable.obj : error LNK2019: … | |
i'm currently writing a program that needs one small piece in my opinion in order to work. i have an array which reads in a bunch of numbers (call them addresses, an example is "003124") and counts the amount of addresses at the moment. i need this to be passed … | |
Hello, I'm trying to find some help with code that I've been maintaining and currently trying to modify. Basically, I am working with a single array of length "m", call it the "max" array. Other than knowing that each entry in the "max" array is nonnegative, I have no other … |
The End.