You are not logged in. [
Login
]
Main Index
|
Search
|
Active Topics
|
New user
|
Who's Online
|
FAQ
Other HI-TECH Compilers & Products
>>
8051 Legacy Compiler
Previous
Index
Next
Threaded
Pages: 1
Haggis2008
stranger
Reged: Feb 28 2008
Posts: 8
Sprintf problem
#
40082
- Thu Feb 28 2008 04:46 PM
Edit
Reply
Quote
Quick Reply
Hello,
I am trying to use the sprintf function but when I compile and build the program and get the following message:
Signatures does not match: _sprintf
I have use sprintf in other compilers with no problem especially printing %d for a character.
Cheers
Paul
Post Extras:
Dan Henry
Guru
Reged: Oct 16 2003
Posts: 3387
Loc: Boulder, Colorado U.S.A.
Re: Sprintf problem
[Re:
Haggis2008
]
#
40122
- Thu Feb 28 2008 07:23 PM
Edit
Reply
Quote
Quick Reply
Did you include <stdio.h> in the file that calls sprintf()?
Post Extras:
Haggis2008
stranger
Reged: Feb 28 2008
Posts: 8
Re: Sprintf problem
[Re:
Dan Henry
]
#
40152
- Thu Feb 28 2008 07:58 PM
Edit
Reply
Quote
Quick Reply
Doh!! I should have check the library.
Cheers
Paul
Post Extras:
Pages: 1
Previous
Index
Next
Threaded
Extra information
0 registered and 2 anonymous users are browsing this forum.
Moderator:
ndouglas
,
jtemples
,
Dan Henry
,
Andrew L
,
mikerj
,
dave g
,
meisty
,
josh stevo
Print Topic
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Rating:
Topic views: 2237
Rate this topic
Choose rating
1 star
2 star
3 star
4 star
5 star
Jump to
*HI-TECH Software Online Forums* -----
Forum help, feedback or general chat
Test Forum
*General Forums* -----
Announcements
General Programming
Interesting Projects and Tutorials
Market Place
*HI-TIDE* -----
HI-TIDE
*PICmicro & dsPIC* -----
PICmicro & dsPIC
Source Share for PICmicro & dsPIC
PIC F.A.Q. (Frequently Asked Questions)
PIC W.I.P. (Work In Progress)
*PSoC* -----
PSoC Mixed-Signal Array
HI-TECH C for the PSoC Mixed-Signal Array: F.A.Q. (Frequently Asked Questions)
*ARM* -----
ARM
*MSP430* -----
MSP430
*8051* -----
HI-TECH C PRO for the Silicon Labs 8051 MCU Family
*Other HI-TECH Compilers & Products* -----
Other HI-TECH Compilers & Products
8051 Legacy Compiler
Contact Us
|
Privacy statement
HI-TECH Software
Powered by UBB.threads™ 6.5.5