Shortcuts: Mobile | Active Topics | Newest Posts | Latest Freeware | Private Messaging | Contribute News | Archive 
  NEWS
  Search News
Browse by Category
News History
1SRC News RSS Feed
1SRC Podcast RSS Feed
Contribute News
  FORUMS
  Search Forums
Topic Specific
News
General
Applications
  Games
  Video
Deals & Promos
Developers
E-books
Mac / Linux
Medical
Podcast
Skins & Backgrounds
Wireless
Off-Topic
  Audio/Video
  Cellphones
  Digital Cameras
  Gaming
  Gadgets & Gizmos
  Non-Palm OS PDAs
  PCs/Laptops
  Tech Web
palm
pre
Foleo
T|X-Series
Z-Series
LifeDrive
Zire
Treo
Tungsten
Older Palms
Sony
VZ-Series
TH-Series
UX-Series
TJ-Series
NX-Series
TG-Series
NZ-Series
Older Clies
Tapwave
Zodiac
Garmin
iQue
Other Licensees
AlphaSmart
Fossil
Group Sense
Kyocera
LG
Samsung
Site Specific
Arcade
Comment/Suggest
  FREEWARE
  Search Freeware
Applications
Ebooks
Skins
Backgrounds
  ABOUT US
  Contact Us
Contribute News
About Us
Privacy Statement
  LOW PRICE SEARCH

Search for the lowest prices: 




  LINKS
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Go Back   1src Forums > Topic Specific > Developers
User Name
Password
FAQ Members List Calendar Chat Arcade Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-31-2009, 11:03 AM   #1
nathanpc
Registered User
 
nathanpc's Avatar
 
Join Date: Jul 2009
Location: Brazil
Posts: 26 nathanpc is on a distinguished road
Send a message via ICQ to nathanpc Send a message via AIM to nathanpc Send a message via MSN to nathanpc Send a message via Yahoo to nathanpc
Exclamation Developing Console Like Apps For Palm OS

Hello,
I'm learning C++, but i only develop console apps, because graphical C++ development is so much difficult, then i want to know if i can develop console like apps for Palm OS, what i want is this, compile this code for Palm OS for example:
Code:
// ClientFille.cpp // Cria um arquivo sequencial. #include <iostream> using std::cerr; using std::cin; using std::cout; using std::endl; using std::ios; #include <fstream> // Fluxo de arquivos using std::ofstream; // Gera a saída do fluxo do arquivo #include <cstdlib> using std::exit; // Sai do protótipo de funcão int main() { // Construtor ofstream abre arquivo ofstream outClientFile( "Clients.dat", ios::out ); // Fecha o programa se não conseguir criar o arquivo if ( !outClientFile ) // Operador ! sobrecarregado { cerr << "File could not be opened" << endl; exit( 1 ); } // Fim do if cout << "Enter the account, name, and balance." << endl << "Enter end-of-file to end the input.\n? "; int account; char name[ 30 ]; double balance; // Lê conta, nome e saldo a partir de cin, então coloca no arquivo while ( cin >> account >> name >> balance ) { outClientFile << account << ' ' << name << ' ' << balance << endl; cout << "? "; } // Fim do while return 0; // Destruitor ofstream fecha o arquivo } // Fim de main


Thanks,
Nathan Paulino Campos
nathanpc is offline   Reply With Quote
Old 07-31-2009, 04:22 PM   #2
MetaView
PalmPDF Master
 
Join Date: Sep 2004
Location: Berlin
Posts: 808 MetaView is on a distinguished road
Have a look into "Standard IO" in the API Reference.
__________________
Palm OS ® certified developer

PalmPDF surely the best PDF Reader for Palm OS * 2Cool4U iPhone feeling on your Palm * OperaFrontEnd new experience with Oper Mini * PhoneDisconnect never forget a missed call or SMS
http://www.metaviewsoft.de
MetaView is offline   Reply With Quote
Old 08-08-2009, 12:16 PM   #3
philpalm
Registered User
 
philpalm's Avatar
 
Join Date: Nov 2005
Location: Alhambra
Posts: 1,196 philpalm is on a distinguished road
Where do you find that?

Quote:
Originally Posted by MetaView
Have a look into "Standard IO" in the API Reference.

google API reference?
__________________
Th-55 U, T/X, TG-50, Handspring Deluxe (3) and PSP user.
philpalm is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Landscape for specific apps! Streamhawk Clie TH-series 10 04-06-2004 12:41 AM
Software for developing Palm apps dmxmd Developers 14 11-12-2003 10:19 AM
Developing Apps thespike Clie NX-series 4 07-28-2003 08:31 PM
Where do you guys go for updated apps? kp* Applications 9 06-16-2003 09:44 PM
3rd party apps sync to OS X & Win XP breegenie Mac / Linux 0 01-14-2003 03:41 PM


All times are GMT -5. The time now is 10:09 AM.

  AD HOSTS ?
  GOOGLE ADS ?
  AMAZON ADS ?

Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
©2001 Entity City, LLC. All rights reserved.