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 dencom 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: bterribi
  • Content: Threads
  • Order by date
  1. bterribi

    forking a grandchild process in C

    #include <stdio.h> #include <sys/types.h> #include <unistd.h> int main (int argvc, char *argv[]) { pid_t pid; int arg1 = atoi(argv[1]); pid = fork(); if (pid == 0) { printf("I am child\n"); printf("my pid is: %d\n", getpid()); printf("my...
  2. bterribi

    friend class

    /* Dev-C++ 4.9.9.2 Will someone be so kind as to explain why I get these errors at compile time: line 30: variable or field 'opendoor' declared void line 30: 'int person::opendoor' is not a static member of 'class person' line 30: 'house' was not declared in this scope line 30: 'h' was not...
  3. bterribi

    for_each &amp; copy algorithm

    /* Hello, I'm attempting to write the function body for removePunctuation w/o loops. I've been playing around w/ the for_each algorithm to remove punctuation from a string s (which seems to be working fine), then copy the results into a new string t. For example, convert "a*^^bc__" to "abc"...

Part and Inventory Search

Back
Top