199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jlatorre80

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 …

Member Avatar for MosaicFuneral
0
134
Member Avatar for britishemo15

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

Member Avatar for MosaicFuneral
0
1K
Member Avatar for localp

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 …

Member Avatar for Lerner
0
187
Member Avatar for tanha

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?

Member Avatar for digital-ether
0
87
Member Avatar for Andragon

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 …

Member Avatar for devnar
0
169
Member Avatar for dampecram

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

Member Avatar for devnar
0
181
Member Avatar for insight974

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 …

Member Avatar for insight974
0
81
Member Avatar for michux

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 …

0
407
Member Avatar for Clawsy

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 …

Member Avatar for Clawsy
0
411
Member Avatar for amyana

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 …

Member Avatar for amyana
0
73
Member Avatar for rhoit

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 …

Member Avatar for Lerner
0
172
Member Avatar for heyitsme

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 …

Member Avatar for woooee
0
92
Member Avatar for ajay.krish123

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]

Member Avatar for gagansharma
0
184
Member Avatar for designingamy

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 …

Member Avatar for Rhyan
0
115
Member Avatar for Vux

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?

Member Avatar for vijayan121
0
790
Member Avatar for vmars

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!

Member Avatar for vegaseat
0
108
Member Avatar for Lukezzz

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 …

Member Avatar for Lukezzz
0
89
Member Avatar for saurabh.punn

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 …

Member Avatar for Baradaran
0
118
Member Avatar for AcidG3rm5

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

Member Avatar for Nick Evan
0
209
Member Avatar for MxDev

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 …

Member Avatar for fuzzyduq
0
93
Member Avatar for clutchkiller

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 …

Member Avatar for Nick Evan
0
113
Member Avatar for gurudattbhat

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

Member Avatar for sillyboy
0
84
Member Avatar for Branimir Corluk

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 …

Member Avatar for Branimir Corluk
0
96
Member Avatar for Frank0051

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

Member Avatar for stultuske
0
516
Member Avatar for Tank50

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 …

Member Avatar for Tank50
0
119
Member Avatar for AceAtch

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 …

Member Avatar for stultuske
0
160
Member Avatar for thangarajforyou

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

Member Avatar for stultuske
0
397
Member Avatar for Agni

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 …

Member Avatar for Agni
0
91
Member Avatar for MaxVK

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 …

Member Avatar for MaxVK
0
624
Member Avatar for CTOBiz

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 …

Member Avatar for topsy_uno
0
103
Member Avatar for vivasc

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

Member Avatar for vivasc
0
70
Member Avatar for sivak

i have a different version of assemply with same name? how can i identify each assemply?

Member Avatar for Jugortha
0
83
Member Avatar for sivak

what is mean by applications exception and system exception in c# .net ? example for each

Member Avatar for Jugortha
0
75
Member Avatar for rickya100

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 …

Member Avatar for rickya100
0
153
Member Avatar for poilkjmnb

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,

Member Avatar for poilkjmnb
0
278
Member Avatar for purplehaze13

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 …

Member Avatar for ithelp
0
104
Member Avatar for sudon

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 …

Member Avatar for Jimmy88
0
130
Member Avatar for mrkcse

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.

Member Avatar for LizR
0
131
Member Avatar for papuccino1

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

Member Avatar for LizR
0
116
Member Avatar for katchatore

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

Member Avatar for Evancool
0
112
Member Avatar for Bhoot

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 …

Member Avatar for Bhoot
0
277
Member Avatar for lydia21

hi when the user enter the data i tried it storing in the db and its working. the datas are getting stored as &lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using&lt;/p&gt; when i display i want to display in html format

Member Avatar for Evancool
0
103
Member Avatar for MosaicFuneral

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

Member Avatar for ArkM
0
160
Member Avatar for Usha G

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 …

Member Avatar for Usha G
0
93
Member Avatar for SheSaidImaPregy

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 …

Member Avatar for SheSaidImaPregy
0
218
Member Avatar for Gannon56789

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 …

Member Avatar for Agni
0
212
Member Avatar for f.ben.isaac

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 …

Member Avatar for f.ben.isaac
0
83
Member Avatar for sacarias40

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

Member Avatar for sourav bansal
0
110
Member Avatar for adaykin

I've seen a lot of different possible ways to do so, but I was wondering what people thought the most efficient way was.

Member Avatar for adaykin
0
3K
Member Avatar for tech2001

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?

Member Avatar for tech2001
0
110

The End.