www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/24/16:47:17

Message-Id: <3.0.5.32.19980224222117.0079aa50@vip.cybercity.dk>
Date: Tue, 24 Feb 1998 22:21:17 +0100
To: djgpp AT delorie DOT com
From: "Nils Emil P. Larsen" <Peter_Larsen AT vip DOT cybercity DOT dk>
Subject: More easy questions
Mime-Version: 1.0

Thank you for the answers! Here I have some new one:

- The clib.inf contains info about all the functions like open, close, read
- but there is nothing about the keywords like for, then, if, char, int (in
rhide marked with white). Where on the Internet can I get info about the
keywords? There is lot/enough documentation for all the other functions.
Please help me!

- Is it correct that the keyword "if" is used like this: if (expression)
statement1; else statement2;. If expression is nonzero statement1 is
executed. If expression zero is statement2 executed. In BASIC I can compare
to expressions - is this impossible in C? This example dosen't work i my
way: if (5 = 5) then do_something; else do_something_else;. In BASIC if 5=5
then do_something else do_something_else would work in my way. Please give
me an explanation or a possible solution.

- How do I convert a ASCII character into a string? I think it may be
something like this: string1 = ???(13); and it will but the next line
character into string1. What is ??? ?

Thank you very much again - these things would take me hours if you don't
help me!

Nils Emil P. Larsen  

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019