C & C++

C++ tutorial for Amiga coding?

I'm interested in learning C++, and would like to know if there are tutorials for doing Amiga-specific coding with C++. I'm not sure if there is anything special to doing AmigaOS function calls, opening and using Amiga libraries, etc. from within constructors or destructors, or otherwise doing C-ish Amiga stuff within C++ and its way of doing OO coding.

Forums: 

Get locale month name

Is there an easy way, without providing a dateStamp for FormatDate(), to get the Locale month names?

FormatDate(Locale,"%B",NULL,&putCharHook);
gives me January.

strcpy(CurrentMonth,Locale->MonthNames[11]);

to get November (or 10 if starting at 0) in current user's language.

Same for weekday names.

Forums: 

Best approach to make a release/port from OS4 to OS3 ?

Hi, say I would like to make a OS3 release of some OS4 software I have. And given that I use gcc and the programs are without GUI (to start with)...

What and how would the best approach be:

* Would it be to fire up WinUAE and get some C compiler. Bring the OS4 code to OS3 and go from there..?
* Or use DevC on a Win-box and make an OS3 compilation somehow..?
* Or make it within OS4 environment somehow..?

Or what, I'm not sure/I don't know really..? Any pointers welcome thanks :P

(PS: sorry if this in wrong forum)

Forums: 

fopen()

Why do i get unreadable printout with the fopen() function ?
The argumens are well recognised
i used a filename for a file in the same drawer, a fullpath, a fullpath embedde in double quotes.
Allways the same result

Forums: 

Pages

Subscribe to RSS - C & C++