199,114 Archived Topics
Remove Filter ![]() | |
Well wrote the code but still I have some problems, so could someone help me plz. void ageCalculator() { char birth[BIRTH],output[OUT]; static int finished,d[2],m[2],y[4],days,flag; int i; /*initialization of arrays*/ for(i=0;i<11;i++) { birth='\0'; if(i<6) output='\0'; } printf("\n Age Calculator\n"); printf("-------------------\n"); /* code to get and validate the input*/ do { flag=FALSE; … | |
I would like to know if anyone could teach me how to solve this type of Mathematical functions: Finding the Big Oh for the following two. Thanks for any suggestions. f(n) = 2 + 4 + 8 + . . . + 2^n f(n) = n! | |
Hello, I've a question about the helpfile in the menu of vb. I'm working now 1 year with this program on my notebook, but today i get suddenly a error when i choose help or index in vb6 menu. The error says : busy to try using a not compiled … | |
hello everybody I am writing a jni wrapper for c++ api's the c++ dll is on linux, so i get a .so shared library. I am working on windows, using vc++ 6.0. can i include the .so shared library in my workspace in vc++. when i do it i get … | |
I am currently working to store passwords into my SQLDatabase table. I would like to hash the password columns to make it more secure. I know that i can use either SHA1 or MD5. Refering to this website, [url]www.codersource.net/csharp_sha_md5_encryption.html[/url], i try to write the VB.NET codes. Private Sub EncryptPassword() FormsAuthentication.HashPasswordForStoringInConfigFile(txtbox_password.Text, … | |
Hi, Please see the code below. [code]void Allocate( char* s ) { s = (char*)malloc( 100 ); } int main( ) { char* s = NULL; Allocate( s ); strcpy( s,"Test");/*I know that this will fail. b'coz I still have a NULL pointer in s. Initially s was pointing to … | |
I am back again with a new query...preparing for technical interview questions --------------------------------- Without using sizeof operator,can we find sizeof datatype. | |
I want to make a small backup script to copy files to cdr. Are there any python modules that can accomplish this? | |
I know that if I have a program with a connection to an Access database, if I change the name of a table in the database, when I try to access that table from within the program, it's going to throw an exception. My question is, how do I cause … | |
ok, so i want to mak a keylogger, so i can see how they work. I am TRYING to follow [URL=http://www.webtropy.com/articles/art4.asp?Keylogger]these[/URL] instructions. i am having a really hard time with the mouse functions. its saying mouseeventargs not found... if you know a better way to make a keylogger. Please let … | |
Dim strMailBodyHTML As String = "" strMailBodyHTML &= "<html><body>" strMailBodyHTML &= " <p><input type=text name=T1 size=20 value=’" & Label2.Text & "’></p> " strMailBodyHTML &= "<form method=""get"" action=""http://pgssystemie02/autouph/admin.aspx""><p></p><br><input type=""submit"" value=""accept""></form>" strMailBodyHTML &= "<form method=""get1"" action=""http://pgssystemie02/autouph""><input type=""submit"" value=""cancel""></form>" strMailBodyHTML &= "<br><br><br>" strMailBodyHTML &= "</body></html>" Dim mail As New MailMessage mail.To = "aaa@aaa.com" … | |
I am trying to write a program that reads in a file of numbers, writes to a file and displays the numbers in correct order. I don't fully understand how to read the file and pass that information into my class declarations in order to output before and after the … | |
Hi all, just need some help on my coding. I cant figure out what i'm doing wrong as far as i can see it should be working.... It s a very basic guestbook form and the cgi script seems to work but for some reason my reply page won't show … | |
Hello, I've been experimenting with different Python IDEs since I started to learn Python. I must say that WingIDE is the best I tried, but unfortunately it's not free and that 10 minutes use is killing me. So I decide to write my Python programs in DrPython which was recommended … | |
Is there any sequence of left shift and right shift operators that can divide or multiply a number by a number that is not a multiple of 2 i.e. can we multiply a number by 11 using a sequence of left shift and right shift operators . | |
[B][FONT=Arial]err....... is there any command line in Dos to make it full screen, so that i can put it into a system(" ") line in my c++ console program? Thanks in advance.[/FONT][/B] ![]() | |
Hello all, I am ammature rpohrammer althought i started w2ith C from 1996 but got trouble with world. still like C++ and c. I have question right now which programming language is best for low leval programming . i am doing right now c++ have some experinace in c and … | |
Hi all, I have had some experience using pointers in C and C++, but not in VB6. I am using a function that requires as an argument (ByVal lPtrBuff As Long, ByVal lWriteSize As Long). I am assuming this means a pointer to the beginning of the data I want … | |
Hi, I'm a college student at UAH that hasn't taken a computer science class in almost 2 years. I need this one to continue on with my major, but I can see that I remember a lot less than I'm suppose to. Basically, I don't understand what he's asking for … | |
I am making a password manager. At the start of the program it prompts for a password. I want to give the user the option to specify this password to what ever he/she wants. Would i save it in an XML file. If so how. | |
Hi! Does anyone know how to upload files? I already made the form. Thanks! | |
Well, here is the gist of the problem. When I read in a file of integers, if there is a formatting character at the end, the last integer is repeated. For instance, in the code, it is reading i01.dat. If that file reads as follows: 2 3 4 5 with … | |
Ok so i want to create a file [CODE] File.Create("..."): [/CODE] I want it to be able to detect the user that is on so it automatically creates it on there desktop. Is this possible. | |
hi all I'm having an odd problem with Javascript. I created a table with a single row and a single column (and gave all of them IDs). Then I use onclick events to pick up mouseclicks and call the function `clicked(evt)`. I know this function is getting called, and I … | |
It seems that with vectors you can only delete via iterators. Since I can access and update by index [], shouldn't I be able to delete by index? The reason I ask is that when you delete via the iterators and the value exists multiple times, I believe it deletes … | |
I've been searching around the web since I don't have my library of books available right now -- but here's my question... can I do a purely javascript session variable without the use of PHP, ASP, or anything else? Any good resource pages on that? I just need to do … | |
Me again, this time I really have a problem. I'm trying to add an element before a certain element. Example: List: 1,2,3,4,5 Find: 2 Add: 45 List: 1,45,2,3,4,5 Now the thing is that when I find the number and try to add a new number it adds OK but then … | |
hi everybody i am stuck. i am first time using beans. can anybody please tell me how a file can be copied from one machine to another machine usingg beans. i dont want to use servlets or JSP. regards vps | |
hi all, Can we create an exe for a Java application so that we can run it directly by executing the exe? | |
I'm having the following problem and can't find a solution: I have an app with four combo boxes, each of which gets its selection list from tables in a database. Each table has a form that can be used allow the user to populate that table. I have one Combo … | |
Is there any way to pack framework in application,if yes how :?: | |
I have a question: How can I access a Windows system variable from within my application? For example, if I want to store my help file in the Windows folder (the variable "windir", how to I tell my program that? I could also just put the help file in the … | |
Hi friends, This is kishor. I am going to develop the new reporting servrice using asp.net so i need some help, how to mange the different controls on the report. how i am able to drag & drop the controls and set or bind the control to the related values. | |
Hi, I've created a GUI program that has JButtons for like a menu. I am trying to get the action listener to do a whole other method. EXample: view.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { menu(); System.exit(0); } But, It will not go to the method. It displays an … | |
i am new to this concept of make files.. i would liek to know as to how to use it..... i was given an assignment to make a calculator using C and to also provide a make file... i have looked up on the net and have understood as to … | |
I found this nice online book with exmples [url]http://www.byteofpython.info/[/url] | |
Below is my source code for a questionnaire I created using HTML and ASP. It contains radio buttons for the selections. I coded it using ASP and HTML. However, when I click the submit button the selections made by user are not displayed on the screen. What am I missing? … | |
Hi Everybody, I just got a book on PHP, and I'm trying to learn the language. The only problem is, when I make a php test page: [PHP]<?php phpinfo(); ?>[/PHP], it doesn't work. As a matter of fact, no php pages work (unless the pages are online.) I installed PHP … | |
![]() | i tried for sorting the link list for weeks already, and yet still couldnt get the output as what i want. i search through the forum and i found the coding "algorithm" (in blue color) for sorting...but it seems tooo alit bit toooooooooooo long. so far, i was trying to … ![]() |
if anyone knows of some good tutorials or links covering the how/to's of programming C completly off of linux command line... inputs would be greatly appreciated ... --thanx | |
hi my name is srikanth.can anyone briefly explain the concept of polymorphism to me in java context. thank you. | |
Hi Guys. Basically I was wondering if it is possible to Append to the START of the file, instead of the end? For a bit of background information, I have a lump of raw data in hex (they are samples collected from a microphone on a microcontroller then transferred to … | |
Does anyone has ideas on it?Can show me the way? | |
Can anyone help me with some goods sites that give detailed explanations of libraries available to c++ | |
I am getting lots of error messages from this program. What am I not doing. I followed the suggestions in my book as well as from fell dani members, yet I am still not able to get this program working. It is suppose to add, average, find the smallest and … | |
Can anyone tell me the limit of number of controls that can be used on the form | |
_tempnam() always returns a filename in the "c:\\temp" directory, regardless of the parameters. This example was extracted from MSDN. I need to generate a unique filename in a directory other than c:\temp -- any ideas how to do that other than writing my own function? maybe a c++ solution? Note … | |
hi, i've to set some conditions to my program. user has to enter a string of 9 letters + numbers eg. x1234567y OR 12 numbers eg. 111111111111 before hitting the ok button (this ok button in my 1st form will direct me to my 2nd form if i keyed in … | |
Hi all.. i am doing myC++ assignment and i got problem in adding, deleting, and modify records. It should be some problem, but i dunno what's wrong. can somebody give me some tips for doing this ? THanks | |
Hey, I am learning Java this year and I am wondering if there is a way that I can integrate it to make it more powerful with my site with a forum by vBulletin. :?: My site is [URL=http://www.andpost.com]www.andpost.com.[/URL] |
The End.