Current location: Hot Scripts Forums » Programming Languages » C/C++ » validating numbers


validating numbers

Reply
  #1 (permalink)  
Old 06-22-09, 08:33 AM
dnh dnh is offline
New Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
validating numbers

hi

may someone help me with the code to validate the number , i'm writing the c code that has to validate that the value entered is numbers only, i tried isdigit() function it gives me errors that i'm unable to fix

regards
dnh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-22-09, 09:04 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,074
Thanks: 11
Thanked 88 Times in 83 Posts
What error do you get?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 06-22-09, 10:02 AM
dnh dnh is offline
New Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rolleyes

i'm using the code inside the BRM system and opcodes, so i'm not sure if u will understand the erro, but it shows this : 26191: /home/pin7/portal/7.3/bin/cm
fe2c1850 waitid (0, 667b, ffbfdc18, 3)
fe2b4758 waitpid (667b, ffbfdd6c, 0, 0, ffbfddc4, fbb14100) + 60
fe2a7eec system (ffbfdec0, fe2eff74, 20000, 1, fe2e8288, ffbfddc4) + 2ec
ff271744 printExceptionReport (b, 9800, 2, 5a48, ff2f2108, b) + 240
ff350148 sigsegv_handler (b, 14a8, 3a670, 0, ff38a790, 1400) + 34
fe2c0494 __sighndlr (b, 0, ffbfe480, ff350114, 0, 1) + c
fe2b558c call_user_handler (b, 0, 0, 0, fe302000, ffbfe480) + 3b8
fe230d70 strlen (143e90, 187be8, ffbfe908, ffbfebc4, 9, 14d6c0) + 50
fbca4a44 op_tkm_pol_valid_nameinfo (ff390888, 4e21, 0, 187be8, 14afe0, ffbfebc4) + e4
ff34c260 cm_custom_ex (0, 0, 4e21, 0, f0ef5, dac41d48) + 968
ff34b8a4 cm_custom (ff390888, 40c90, 4e21, 0, f0ef5, dac41d48) + b0
ff349b4c cm_child (0, ff390888, 0, 3, 109a1, ff38f834) + 1254
ff357c80 mainThread (fd8241d0, fd800044, ff38d664, 1446a8, ffbfef74, 1446a8) + 5ff0
00010994 main (1, ffbff864, ffbff86c, 20c00, fe1ab6c0, fe1ab700) + 8
00010974 _start (0, 0, 0, 0, 0, 0) + 108
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Create dropdown menu from comma separated list of numbers maya77 PHP 22 03-20-11 12:35 PM
[SOLVED] Stop Skype making phone numbers clickable s1yfa HTML/XHTML/XML 2 06-09-08 08:12 AM
I need Help validating Australian Phone numbers imparator JavaScript 2 07-25-06 08:20 AM
Need to add page numbers at top... Please Assist. Soulidified PHP 1 11-29-04 01:53 PM
Page numbers... dannyallen PHP 0 07-05-04 09:08 PM


All times are GMT -5. The time now is 08:45 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.