199,114 Archived Topics
Remove Filter ![]() | |
i am getting this error : "../incl/GDS_Thread/Thread.h", line 141: Warning (Anachronism): Formal argument 3 of type extern "C" void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*, extern "C" void*(*)(void*), void*) is being passed void*(*)(void*). "../incl/GDS_Thread/Thread.h", line 221: Warning (Anachronism): Formal argument 2 of type extern "C" void(*)() in call to pthread_once(_once*, … | |
I'm trying to determine if the data in a string field is found in a list of possible strings. It needs to be an exact match. I can use a bunch of 'If' statements obviously, but is there a better way to search for a match, and then keep a … | |
Here is my code, it works when I leave away the line in bold, I can't figure out what's wrong with my line in bold, I've been checking my database so many times already, can you help me [QUOTE]With gridMieter .Cols = 5 .TextMatrix(0, 0) = "Frist_id" .TextMatrix(0, 1) = … | |
I'm an aprentice to VB,but have a little knowledge and interested in doing experiments. What i want to know is,how to get the time difference? text1.text includes the 1st updated time and text2.text includes the 2nd updated time.text3.text must be the difference between two times. please teach me to do … | |
Hi I am making an vending machine application. Now the vending Machine takes 5, 10, 20, 50 pence and 1 pound coins. Now I create a String object and use this to read input from the user i.e. read the denomination (Money e.g. 5 or 10 pence) the user enters. … | |
I have a class called Person. I also have a class called Truck, inherited from class Vehicle. I want to overload the iostream operators for all three classes so that I can do statements such as: Person a ; Vehicle b ; Truck c ; cin >> a ; cin … | |
Everything I read says that the academic edition should have "edit and continue" but when I try to enable it with the following instructions right from the HELP, [INDENT]To access the Edit and Continue page, click the Tools menu and select Options. In the Options dialog box, expand the Debugging … | |
All functions compile except the max function where i am trying to get it to find the maximum number in the matrix. The error message says overloaded function with no contextual type information Please tell me why. [code] #include <iomanip> #include <iostream> using namespace std; const int ROW = 3; … | |
I have written lots of php dealing with html strings, but it's my first time trying to get a very simple page to function. It has a textarea, and I guess that all I need to do is get the text into the database on the server. I really have … | |
I have created project in [B][COLOR="Red"]VB.NET2005 [/COLOR][/B]for reading app.config. Now I want the text boxes to validate input values and then store that values in child nodes Astrology,Cricket,ForeignCurrency,Jobs respectively please help!!!!! :'( | |
Hi. I'm a newbie at this forum. I've been using Delphi 3.0 for a long time, but have run into some problems I just don't know how to handle. I'm looking for some coding tips on how to do certain things in Delphi ObjectPascal. First of all, is Delphi 3.0 … | |
I am trying to do a basic program that reads from a txt file and ouputs the results in a specific order on the screen. Its a salary type program. Here is my salary.txt file [code=C++] Randall Jones 25645.88 1999 Jim Johnson 56709 1992 Carol Troth 42387.05 2000 Briannal Deweyage … | |
Hi all I am a noob to C++ and I want to make a program that copies a file from wherever previously specified to the location of where the program is running from, I looked on google but I cant find anything I can understand can somebody please point me … | |
Hey guys, I'm looking at taking a PHP course in the spring. The prof and I get along well, and she said I could waive the college's prerequisites and sign up if I wanted to. The prerequisites (in the college catalog) are a couple of HTML courses. My question is … | |
I'm having a lot of trouble designing a switch statement that can take a string value I have to read from an input file and matching it up with an enum value using a switch statement so I can process the string using a function. Complicated, I know. Here's the … | |
Im coding on vesa mode 116h, i knw its properties like banks windows and resolution, my only problem is that i dont knw how to switch banks and dont know what the windows refer to. I also want help on the vesa service that provides the pointer to bank switch … | |
hi i am new to asp.net .i have to do two projects in asp.net. i am weak in coding . i am making a website in asp.net with vb.net as back-end . i have to do codibg of login page which uses postback i am confused. i have seen daniweb's … | |
need help with the GUI of my program... i want it to be like this: [URL=http://img256.imageshack.us/my.php?image=faceeq9.jpg][IMG]http://img256.imageshack.us/img256/8919/faceeq9.th.jpg[/IMG][/URL] but this is what it shows.. hehe [URL=http://img440.imageshack.us/my.php?image=caym9.jpg][IMG]http://img440.imageshack.us/img440/8486/caym9.th.jpg[/IMG][/URL] im having a hard time with the GridLayout coz i think ie. GridLayout 3,4 doesnt appear to be 3,4.. thankss... [CODE]import java.awt.*; import java.awt.event.*; public class … | |
Hi all, Just wondering if you could help me out here. bought a copy of c++ for dummies today and the first program in the book converts fahrenheit to celsius. Now I have some C and Java experience (I am a recent graduate of a software design degree) but have … ![]() | |
Hi all, I want to appear for the SUN certified Java exam. But I have no idea about it. Please help about it. How i prepare myself for this exam... Please help.... Wating for reply rishi | |
When i search for certain words in RichTextBox i want to highlight them(if there is a match).That's ok but the problem is that i don't know how to set their default color back.I mean like the searching function in Firefox,all founded words are colored in yellow,then user can remove the … ![]() | |
Hi. I am taking a c++ class and I have to write a program that manipulates polynomials. The assignment requires that you have a largeInteger class from the STL list class. I have the code, but when I go to run it, I am having some problems. I went to … ![]() | |
I am writing a program where I need to capitalize the first letter of each word in a text file. Example of information in the text file would be: this is the first line this is the second line this is the third line I have written a code that … ![]() | |
Hello, I am new to c++ I am trying to write a program that reads the keyboard input while running in the background. I am on Linux. It is not easy for me because every example I find makes use of a library I do not have. When I google … | |
Hey everyone, I was wondering if you could help me with something. I am attempting to set up VS C# EE on my comp but I would like to use it to make ASP/.NET web pages. I have VS C# EE installed but there is no selection for ASP web … | |
Hi, say I have an app running in the background from startup. Now say I added an option to the explorer context menu to launch the app by right-clicking a file (how would one pass that filename in as a parameter by the way?), I would only want one instance … | |
I am pulling a simple query but basing it off of a group of sums. What I want to do is pull all the information from "albums" where albumID equals "photos" albumID. Then Grouping by Photos.albumID, I want to grab the sum of all the views of each albumid, and … | |
Hello, I am trying to set up a string where it taps two databases, Albums and Photos. I need to select the following columns of Albums database and Photos where the Albums.AlbumType='Nightlife' and then order by the sum of photos.views desc for ranking the top 4 (limit 4) This is … | |
hi, i just want to get some opinions on a queues homework project. i haven't written any code yet, but just want to know if it is possible to create an array[16] items and then that each item has an array[1][3], i have to work independently with each item of … | |
Hi I am reading a file with number of frames. frame 1 distance [3072] intensity [3072] amplitude [3072] w_amplitude [3072] frame 2... Now I want to read the data in structure form so that I have:- frame[0].distance[0] frame[0].distance[1].... ... frame[0].amplitude[0] ... frame[1].distance[0] and so on. My code is below and … | |
my intro to comp science teacher gave me an assignment to: 1) enter two different dates with the use of stucts 2) use a swap function to arrange each date in order from earliest to latest 3) use functions to calculate the number of days between the two dates 4) … | |
hi i m new to this forum actually i ve joined this forum coz i m havin problems in c++ i m a student of telecom will any of u plz help me in writing a code for the following programs: 1.write a program that take 5 digit number input … | |
Hello! I'm practising 2d-arrays for my upcoming test so pls help! i cant figure out what went wrong :((((( Q: A factory has 3 divisions and stocks 4 products. An inventory data is updated for each division and for each product as they are received. The current inventory data is … | |
Hi I have a list like List<vahed>. this list fill from vahed class.when i want to bind list into gridview ,I store it in Session. but when this list bind to grid view,data is empty. my code: [INLINECODE] //class vahed public List<Vahed> SelectAll() { Vahed V = new Vahed(); string … | |
Hey all, I'm trying to write a python networking program that is capable of recieving arbitrary files, as well as sending them. However, I can't really get it working, though occasionally a string seems to get through in tact. If someone could look through my code and maybe run it … | |
Good day. My infile contains the following: [CODE] TFFTFFTFFTFFTFTFTFTFFF A33 TFFTFFTFFFFFTFTFTFFFFT Z27 TFFTFFTFFTFFTFTFTFTFFT X12 TFTT FTFFTFFFT FTFTFFF H44 TFFTFFTFFTFFFFTFTFFTFF Q19 FFFFFFFFFFFFTFTFTFFFFF D72 TFFTFFTFFTFF FFFFFTFFF W32 FFFTFFTFFTFFTFTFTFFTTT Y09 TFFTFFTFFTFFTFFTTFFTTT S44 TFFTFFTFFTFFTFTFTFTFFF G11 FFTFFTFFTFFTFTFTTFTFFF J21 TFFTFFFFFTFFTFTFTFTFTT K61 TFFTFFTFFTFFTFTFTFTFT M03 TFFTFFTFFFFFTFTFTFTFFT P24 TFFTFFTFFTFFTFTFTFFFFT N54 FTFFTFFTFT TFF FTFTFFF F33 TFFTFFTFFTFFTFTFTFTFFF Z21 TFFTFFFTTFTTFFTFTFTFTF V39 TFFFTTFTTFTTFTFTFTTFFF … | |
Hi, my friends, I try to use csv module to input data in csv format but split does not work. Could you please help? The input data is 2 column data separated in comma as csv format. The code is following: reader = csv.reader(open('Indices.csv', 'r'), delimiter = ',') line = … | |
Hi, I created a python script and trying to run it as a windows service. In my script I am reading some data from a configuration file . My problem is , if I run the script in python editor it will work fine and when running the same as … | |
I have a ListView showing all the words from a file, the code is checking these words all the time to see whether they meet certain condition, or so, I would like the checkbox of that list item checked. I have 2 problems here: 1. How can I prevent the … | |
I have small question: How can I create a random string from 'a' to 'z'? thank you! | |
Hi Guys, I am a newbie and need some help. Is it possible to extend the message box functions to include buton "Yes to all and "no to all" in vb6 Kind regards | |
i need a sample project project management systems in java anyone help me | |
Hi All, I m creating a MDI from in c# and want to add a main menu control at design time.But the Mainmenu control is notactivated even if I m Selecting the MDI Form. Any one please Help me in getting rid of this problem. Thanx in advance. | |
Please pardon the simplicity of this question, I kind of got thrown into these responsibilities at the last minute without training. I I need to move a file called status10.dat to a different directory using korn scripting. [code = korn] cp status10.dat* /cerner/d_p19/ccluserdir [/code] I only want to do this … | |
Hi could you please tell me how to print array elements with spaces. Please provide an example. I would like to see how a 2 D array is printed.Thanks a lot | |
excuse my ignorance, cant find it here in the forum. how do i strip the "|" or the pipe character from a line. i tried this. it splits but doesnt remove the "|" character. output = string.strip (line, '|') # strip the pipe character print output.split() # split output and … | |
guys, im trying to get bulleting to work. I've yet to see what's the output for this one, can someone help me out? It kept saying incompatible types between listtemplate, listlevel against variant types. But from all the examples i see on the net, the word document object is a … | |
I'm trying to write an asp.net page that will keep variables using the .value command. It's not working. Here's my code [code=vb.net] Dim custID As Integer Dim noMovies As Integer Dim price As Double Dim discount As Double Dim total As Double custID = Integer.Parse(Me.idTextBox.Text) noMovies = Integer.Parse(Me.numMovTextBox.Text) price = … | |
I have a simple Contact form script. I want to change it so it shows the email address of the person sending the form, not mine. I also hope I am pasting this code correctly. Sometimes I get a blank form, but all fields are required. I would like to … |
The End.