Author Topic: How to add two strings together?  (Read 5872 times)

Offline yoran

  • Jr. Member
  • *
  • Posts: 19
How to add two strings together?
« on: April 14, 2019, 02:47:03 PM »
How do I add two strings together?
I have:
filename 'name' (don't know if it's zero terminated)
and
extension '.txt',0

How do I add these two together?

Offline debs3759

  • Global Moderator
  • Full Member
  • *****
  • Posts: 221
  • Country: gb
    • GPUZoo
Re: How to add two strings together?
« Reply #1 on: April 14, 2019, 08:23:17 PM »
Strictly speaking, you want to concatenate two strings, not add them. You need to create a variable long enough to hold both strings, then add them in the right order. If you still need help, post what you have so we can see what you don't understand.
My graphics card database: www.gpuzoo.com