delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/23/16:11:24

Message-Id: <3.0.5.32.19980223220018.0079b850@vip.cybercity.dk>
Date: Mon, 23 Feb 1998 22:00:18 +0100
To: dj AT delorie DOT com, djgpp AT delorie DOT com
From: "Nils Emil P. Larsen" <Peter_Larsen AT vip DOT cybercity DOT dk>
Subject: Some easy questions (for you!)
Mime-Version: 1.0

Thank you for DJGPP!

I need some help for working with strings:

- How do I add a string to the end of another:
  e.g. Str1 = "Thank "; Str2 = " you!";
       Str3 = ???(Str1, Str2) /* Str3 must be: "Thank you!". What is ??? */

- How do I convert between strings and numbers? I want to use it like that:
  Str1 = "Birthday: " + Int1 /* Str1 must be "Birthday: (value of int1)" */
  OR
  Int1 = Str1 /* Int1 must contain the number in Str1 */

- Where can I get help for beginners in DJGPP? I don't think any of my
DJGPP-FAQ's contain info for people who don't know C. Especially are I
searching for help on the keywords (for, do...while, if...then...else ....).

Thank you!

Nils Emil P. Larsen

- Raw text -


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