Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ Library : Other (not classified elsewhere)
»
problem with fprintf
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
Re: problem with fprintf
[
message #29332
is a reply to
message #29217
]
Fri, 15 October 2010 14:44
mirek
Messages:
13975
Registered:
November 2005
Ultimate Member
o_wild wrote on Mon, 11 October 2010 08:08
The following code is excerpt of an opensource software, but there is error when compiled.
fprintf(ofp,"%s\n",mes1); // mes1 is of type String
Is their any substitute for 'fprintf'? by the way, i tested 'printf' and found the same problem.
Yes, Format. It is typesafe - you would not encounter above kind of problem there.
So in "true" U++ the code would look like this:
FileOut ofp;
....
ofp.Put(Format("%d\n", mes1);
Report message to a moderator
[
Message index
]
problem with fprintf
By:
o_wild
on Mon, 11 October 2010 14:08
Re: problem with fprintf
By:
cbpporter
on Mon, 11 October 2010 14:26
Re: problem with fprintf
By:
o_wild
on Wed, 13 October 2010 12:54
Re: problem with fprintf
By:
mirek
on Fri, 15 October 2010 14:44
Previous Topic:
Error in HomeBudget Example?
Next Topic:
HttpClient Execute vs ExecuteRedirect
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Fri Apr 26 16:04:24 CEST 2024
Total time taken to generate the page: 0.03031 seconds