Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: thinICE80
  • Content: Threads
  • Order by date
  1. thinICE80

    Sum two string variables

    Hi, anyone knows how to sum two string variables, I've tried with strcat but this function accept as the second parameter only a constant string. I want to do something like this: char var1[10], var2[10], var3[20]; var1 = strcpy(var1,"hewhwho"); var2 = strcpy(var2,"fhhgoehg"); var3 =...
  2. thinICE80

    Beginner: help with pointer and memory

    I wrote this, works nearly as expected but on the last element extracted from input string it attach various unexpected character, please any suggestion?? In particular look at divCmd function. #include <stdio.h> #include <unistd.h> #include <string.h> #define BUFLEN 1024 #define STDIN 0...

Part and Inventory Search

Back
Top