199,114 Archived Topics
Remove Filter ![]() | |
What is the keycode of "Escape" while using curses.h???? is it KEY_EXIT?? I hv used this bellow but when i press escape, it prints "^[" instead of stopping the loop! and when i press "g", it does what i want the code to do when "escape" is pressed!!...Help! I am … | |
here is my script: [CODE]#include <iostream> #include <cmath> int main() { using namespace std; int who; cout << "how are you today? good, bad, or eh?" << endl; cin >> who; if (who == "good") { cout << "ahh thats pretty cool i guess..." << endl; } if (who == … | |
Are their people willing to help testing/contributing to a python project? (if this is not a 'legal' subject, feel free to delete it; I wasn't sure) | |
I am trying to help a friend make a database(and ultimately piece of none commercial software) to determine personality type as part of his thesis. For the formula to work properly a couple of the questions need their values inverted(ie if the person answers 1 the recorded number will have … | |
Okay I have a textarea that edits a text div. When the user edits the text and submits, paragraphs and line breaks are passed to the div. [B]i.e[/B] (not the browser)[B]text div[/B] after submit.... [I]'WARNING - This email and any attachments may be private & confidential. If received in error, … | |
I would like to specify a file for manipulation from the command line. I am new to python so I'm not really sure how to begin this. I am guessing that I need some options? | |
Hi everyone, In my database table I created a column whose data type is Image. I have successfully inserted a image from PictureBox control in binary format in that table field. Now I would like to retrieve that image stored in binary format and would like to show this in … | |
I have a script which looks at multiple values within a large database, and draws coordinates on a floatcanvas. I also have some thresehold variables attached to a slider widget. As the slider changes the thresehold value, the canvas is redrawn...well...sort of. It draws the new objects over the old, … | |
Ok, having some serious trouble here. My proffesor told us to write a progrm (what it does really doesnt matter here) however he wants a FULL color menu in the console. He showed us an example of what he wants, it was very cool, it had a red backround, then … | |
I dont understand this...I see this inside () is struct and BOOL is typedef for int actually ???? ,but what is (WINAPI *_CreateProcess) ????? its loks like typedef <type><type><list of types> ????? Can some one explain this? [CODE]typedef BOOL (WINAPI *_CreateProcess)( //BOOL is int??? LPCTSTR lpApplicationName, LPTSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, … | |
[CODE]import os f = open(r'c:\Fummy_Tasks\Fummy_Forensic\19012010\IMAGES.txt') mkdir_name = 'mkdir c:\\Fummy_Tasks\\Fummy_Forensic\\19012010\\test2_Strings' print mkdir_name os.system(mkdir_name) mkdir_name = 'mkdir c:\\Fummy_Tasks\\Fummy_Forensic\\19012010\\test2_Memdmp' print mkdir_name os.system(mkdir_name) f = open(r'c:\\process_list_test2.img.txt','r') process_id = f.readline() while True: process_info = f.readline() if not process_info: break process_PID = process_info.split() openfilename = 'c:\\python26\\python.exe c:\\volatility-1.3_Beta\\volatility memdmp -f c:\\Fummy_Tasks\\Fummy_Forensic\\19012010\\test2.img -p %s' % (process_PID[1]) print openfilename … | |
I am experiencing a problem with this CheckBoxJList class (I found it posted somewhere, it is not mine), in which when there are no boxes checked, and then you check a box, you cannot click to uncheck it--you must first check another box. This is an annoying bug and I'm … | |
I'm having a problem in connecting my access database using php. The wampserver displays a message of Parse error. I have connected my access db through control pannel's option administrative tools,but no output.plz help me.... The server shows the following message: Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Microsoft Access Driver] … | |
Hi all, I am new to this forum, I am hope somebody can point me to the right direction if I am asking in the wrong place... I have a lot of code written for the ASM286 compiler, which I am trying to run somewhere. Because it is a complex … | |
Hi I am new to Java GUI development I installed the NetBeans IDE I have not used anything other than Visual Studio in my life I have studied Java in school and college and am familiar with it So i was able to create a basic application but don't know … | |
I am writing the game of life code. Now this is running for smaller size of matrices, but I need this to run for big matrices. So I need to deallocate the memory somehow. I tried it with the //deallocate part at the end of calculate(). But now its showing … | |
I have a quick question. How do I get only the last 4 digits of the cc_number? Will the following work? Or should I try something different.. Oh and I am emailing to myself that's why it has $message. Here's the code I think will work: [CODE] $message .= "<td>{$_GET['cc_number'] … | |
This is possibly not the ideal place to post this; but I'm hoping someone with a good idea of 3D math can help me a bit. I'm planning something for a project, and am trying to find out how to implement some of the more neccessary parts. One of these … | |
I am currently trying to generate a program using a double nested for loop to get the following output: >Please enter the maximum integer value you wish to find divisors: 10 >List of divisors of the integer between 1 and 10: >divisors of 1: 1 >divisors of 2: 1, 2 … | |
Hey, I have a strange problem. I added an image as the background image for a form in VB.net. When I run the program, after approx. 5-6 seconds, the image partially overlays itself, as in an offset overlay of the underlying image. I never had this problem in VB6, but … | |
Hi all, I'm having a similar problem with a code of mine. [I]<<note: split from [URL="http://www.daniweb.com/forums/post831781.html#post831781"]here[/URL]>>[/I] In my code I have a class in which I am trying to implement a dynamic array of structs. My compiler does not seem to like my deconstructor, and complains that my dynamic array … | |
Hello everybody, I was trying to make a telephone directory, when I ran in to several problems with the compiling. When I fixed these, I saw that the programm wasn't working as I want it to work :) Can anyone tell me what I did wrong, and try to help … | |
i m using sql 2000 and i have a table with 3 columns ( credit , debit, total) what i want to do is whenever a value is inserted to the credit column it should add that amount to the total column and whenever there is a debit value it … | |
Hi - it's me again. I have the following code but don't exactly know what it means or how to make the opposite code. The code I currently have is [CODE]#define rotateleft(x,n) ((x<<n) | (x>>(32-n))) #define rotateright(x,n) ((x>>n) | (x<<(32-n))) [/CODE] Then can be used like the following [CODE]a = … | |
Hello. I am beginner using C++. I have been searching through previous posts, but I haven't found anything to apply to my problem... I have a program that I initialize data into an array. I am using a Structure. After initializing the data, I use a Switch statement to allow … | |
How do i go about making these multiple scripts work on a single page? [CODE] $(document).ready(function() { var str = ""; $("select option:selected").each(function () { str += $(this).text() + " "; }); $(".display_text_here").text(str); }) .change();[/CODE] This one i would like an IE conditional [CODE]$(document).ready(function() { $(".select") .mouseover(function(){ $(this) .data("origWidth", $(this).css("width")) … | |
Hi, I am trying to sign off a website but have one final obstacle to overcome and then all good. the problem I have is I have private chat on a dating website. the site is in russian and english. the php page for the chat needs headers so that … | |
I created a .net (c++) dll which I'm using with a com application. In order to use the dll with com, I ran the sn,gacutil, and regasm/tlb utilities. Now, I added a dll from Microsoft Enterprise Library to my dll. When running the app, I get an error that the … | |
Thanks you guys.. I have one more question. I'm programming recursive directory traverse function. It will be called from main program with absolute directory name. I could printout in a simple 2~3 depth directory. But I could not in complex structure. (/lib/modules has two directory, and inside there, files and … | |
I have a very simple flash program that plays music. It consists of a play pause button and a timer that shows the current position of the song. I'm trying to make it possible to pause or play the song using a regular form button. [CODE]<div class="musicplayer_playpause"> <script type="text/javascript"> AC_FL_RunContent( … | |
[I]Hello! In my application, i want to make the user write the code by himself. Like, he have a textbox, there he is going to put the code like, msgbox("Hello") then when he press the button, the msgbox will open. So, anyone out there got any ideas? Thank you! -Prims0[/I] | |
[CODE] string NewMovie = "ww"; string queryText ; queryText = "INSERT INTO movie_info (movie_title ) VALUES('" + NewMovie + "')" ; MYSQL *conn; conn=mysql_init(NULL); mysql_real_connect(conn,host,username,password,database,0,NULL,0); mysql_query(conn,queryText.c_str()); mysql_close(conn); return 0; [/CODE] What i would like to know is how am i able to do a check to see if such a … | |
Hi All, The form below is set to pass data to paypal, however I cant seem to get it to work when using variables recieved from a $_POST. I get an error from paypal stating........ "The link you have used to enter the PayPal system contains an incorrectly formatted item … | |
Hi, I have the following: [CODE] $_host = $DHOY_CONFIG['db'][$connection_name]['host']; $_name = $DHOY_CONFIG['db'][$connection_name]['name']; $_port = $DHOY_CONFIG['db'][$connection_name]['port']; $_user = $DHOY_CONFIG['db'][$connection_name]['user']; $_pass = $DHOY_CONFIG['db'][$connection_name]['pass']; $dsn = "mysql://$_user:$_pass@$_host:$_port/$_name?new_link=true"; print "dsn is $dsn"; if ($dsn != 'mysql://:@:/?new_link=true') { $db_connection[$connection_name] = DB::connect($dsn); if (!DB::isError($db_connection[$connection_name])) { return $db_connection[$connection_name]; } else { trigger_error("General system error ID: 00002 - … | |
Hi, How do I change maximum connection to mysql database and maximim user connection to mysql? Thanks | |
Ok so here's what I'm trying to do: 1. You press submit on my php donation form page, and when you press submit it goes to a process.php but within the IF statement I have it to where it sends my client an HTML email. 2. What I want my … | |
hi all, i got problem on field validation, could someone help me? i figure it as below: - i need fill up an array in client side JS with data from database and i will use for reference to validation (SELECT SN from package where PO='YU123456') - then in the … | |
well im thinking of making a program that can impress my instructors,, can you suggest what program should i make?? and please assist me.. | |
Hi All, Good day to everyone! I'm new to Python (and relatively new to scripting, at that), and really benefited from looking at examples on this site, you guys are great! I'm trying to do the following, and need help please: 1. Read an input file, each line formatted as … | |
Hi, I need some free picture viewer to plug him into my aspx page. It should have to navigation buttons << | >>. Can somebody advice me some? | |
hello This is Sarada Adiraju. I have signed up for this community today. i got an error in a java program Its REACHED END OF FILE WHILE PARSING ERROR. Can anyone help me to solve this and I wanna know about why am I getting this error. Thanks. | |
what is eclipse? well i am a beginner in java n i am learning the basics will u plzz explain about eclipse in a clear way | |
Hi, I'm very much a beginner to C++, but I've been assigned a project outside of my programming class that is starting to get tricky. I'm modelling a layered optical system and I need to create N two-dimensional arrays (2x2 matrices to be used in matrix multiplication), where N is … | |
Totally new to C++, so please forgive me... I'm trying to have a user input a filename and then check the file for all string literals. The output should return the string literal (not the whole line, which is what I am getting). Also, I have to ensure it ignores … | |
Hi there, I am experiencing a problem during the program execution. Here is the program: [CODE]#include <iostream> using std::cout; using std::cin; int additions (int a, int b, int c) { int k; k = a+b-c; return k; } int main() { int s; int x; int y; int z; cout … | |
Iam writing (or trying to write) a simple join query statement in Query Analyzer. As of right now Im getting the error message Ambiguous column name 'categoryID'. My Statement is ; [code=sql]Select categoryID, Max (StockPrice) as maxStockPrice, MIN(StockPrice) as minStockPrice, AVG(StockPrice) as avgStockPrice From Category, InventoryPart Where Category.CategoryID = InventoryPart.CategoryID;[/code] … | |
hello. i have problem with c# multiple form app. in my first form i have a combo box, a list, a text box and an add item button. in the combo box i have a list of products. once i choose a product from combo box and enter the quantity … | |
i m having some trouble trying to find the sum of an queried variable however this variable is inside a loop and it is not summing it is just returning the value at that instant in time this is the code below [CODE]@$code= $_POST['coursecode_1']; if( is_array($code)) { //$sum= array(); while … | |
Hi folks, I'm working on a complex AI system that pulls information from the internet (and possibly from other live sources in the future) and learns from it in the same way that a human does. I'm not sure if this counts as a C# problem or more of a … | |
I am trying to create a program that counts the Prime numbers then I will continue and use this second method in my main method. I am confused how to count the Prime numbers. I just pulled the text from JEdit.. not sure if that was the right way to … |
The End.