This forum is in archive mode. You will not be able to post new content.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mytosus

Pages: [1]
1
Go through each character in the string. Replace commas with 0 and store the index in an array. create the array to store the chars. set a pointer to the beginning of the string and store in the array. add the index stored in an array to pointer then store pointer into the array... and so on

2
Found it on the Webs / Re: Microsoft Rolls Its Own Linux Distro
« on: October 05, 2015, 07:27:33 PM »
Spreading their botnet to the Linux world! I can't wait!

3
C - C++ / Re: Check if a string is inside a string
« on: October 05, 2015, 07:20:48 PM »
Code: [Select]
int string_in_string(char* string1, char* string2){
  int i, c = 0;
  if(strlen(string2) > strlen(string1)){
    return 0;
  }
  for(i = 0; i < strlen(string1); ++i){
    if(string2[c] == string1[i]){
      printf("in here bro!\n");
      if(c == strlen(string2)-2){
printf("in here!\n");
return 1;
      }
      ++c;
    }
    else{
      c = 0;
    }
  }
  return 0;
}
returns 1 if the string2 is in string1.

4
C - C++ / Re: application of C++ in the finance world??
« on: October 05, 2015, 06:44:38 PM »
In the trading world they need fast reliable programs to analyze vast amounts of market data and preform risk assessment and profit gain. You'll be working closely with traders to develop the software 

5
C - C++ / Re: What to use?
« on: October 02, 2015, 08:02:34 PM »
To save yourself from ripping you hair out. I suggest you use Linux and compile with g++. Learing the text editor emacs or vim wouldn't hurt either. Good luck man.

Pages: [1]


Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.