199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for stranger

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

Member Avatar for Dave Sinkula
0
146
Member Avatar for Gotcha

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!

Member Avatar for Daishi
0
85
Member Avatar for Burndailer

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 …

Member Avatar for Burndailer
0
84
Member Avatar for vps

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 …

Member Avatar for vps
0
105
Member Avatar for Naters_uk

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

Member Avatar for Naters_uk
0
220
Member Avatar for SpS

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 …

Member Avatar for winbatch
0
103
Member Avatar for SpS

I am back again with a new query...preparing for technical interview questions --------------------------------- Without using sizeof operator,can we find sizeof datatype.

Member Avatar for Stoned_coder
0
444
Member Avatar for shanenin

I want to make a small backup script to copy files to cdr. Are there any python modules that can accomplish this?

Member Avatar for jbennet
0
166
Member Avatar for Toulinwoek

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 …

Member Avatar for Toulinwoek
0
135
Member Avatar for tayspen

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 …

Member Avatar for tayspen
0
117
Member Avatar for jason_limwk

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

Member Avatar for jason_limwk
0
138
Member Avatar for djbsabkcb

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 …

Member Avatar for Stoned_coder
0
126
Member Avatar for sydneyrustle

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 …

Member Avatar for Rashakil Fol
0
1K
Member Avatar for Micko

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 …

Member Avatar for vegaseat
0
189
Member Avatar for SpS

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 .

Member Avatar for SpS
0
108
Member Avatar for j1979c

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

Member Avatar for Electrohead
0
308
Member Avatar for Kind hearted

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 …

Member Avatar for SpS
0
126
Member Avatar for clam

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 …

Member Avatar for clam
0
118
Member Avatar for Phantom Driver

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 …

Member Avatar for Rashakil Fol
0
133
Member Avatar for tayspen

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.

Member Avatar for tayspen
0
201
Member Avatar for Ghost

Hi! Does anyone know how to upload files? I already made the form. Thanks!

Member Avatar for zippee
0
551
Member Avatar for sifuedition

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 …

Member Avatar for vegaseat
0
177
Member Avatar for tayspen

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.

Member Avatar for tayspen
0
135
Member Avatar for apcxpc

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 …

Member Avatar for peter_budo
0
191
Member Avatar for winbatch

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 …

Member Avatar for Rashakil Fol
0
5K
Member Avatar for 2ndPlatform

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 …

Member Avatar for tgreer
0
201
Member Avatar for bsdpowa

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 …

Member Avatar for bsdpowa
0
369
Member Avatar for vps

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

Member Avatar for jwenting
0
183
Member Avatar for aripaka

hi all, Can we create an exe for a Java application so that we can run it directly by executing the exe?

Member Avatar for freesoft_2000
0
176
Member Avatar for Toulinwoek

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 …

Member Avatar for Paladine
0
141
Member Avatar for boki
Member Avatar for tayspen
0
291
Member Avatar for Toulinwoek

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 …

Member Avatar for Toulinwoek
0
81
Member Avatar for Kishor_kurapati

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.

Member Avatar for dexterz
0
469
Member Avatar for joshSCH

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 …

Member Avatar for server_crash
0
174
Member Avatar for vikster

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 …

Member Avatar for bops
0
65
Member Avatar for shanenin
Member Avatar for vegaseat
0
92
Member Avatar for djbsabkcb

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

Member Avatar for madmital
0
602
Member Avatar for Ghost

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 …

Member Avatar for Lafinboy
0
102
Member Avatar for kohkohkoh

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 …

Member Avatar for kohkohkoh
0
186
Member Avatar for higherGround574

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

Member Avatar for l3.azarmehr
0
93
Member Avatar for indianscorpion2

hi my name is srikanth.can anyone briefly explain the concept of polymorphism to me in java context. thank you.

Member Avatar for NPH
0
121
Member Avatar for clam

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 …

Member Avatar for Thong_Ispector
0
222
Member Avatar for johnsonlim026
Member Avatar for Judas

Can anyone help me with some goods sites that give detailed explanations of libraries available to c++

Member Avatar for SpS
0
133
Member Avatar for jahowell01

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 …

Member Avatar for SpS
0
509
Member Avatar for SpS
Member Avatar for SpS
0
192
Member Avatar for Ancient Dragon

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

Member Avatar for Ancient Dragon
0
272
Member Avatar for c#dummie

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 …

Member Avatar for tayspen
0
182
Member Avatar for Domo

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

Member Avatar for l3.azarmehr
0
135
Member Avatar for ayk-retail

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]

Member Avatar for Phaelax
0
262

The End.