Monthly Archives: July 2010

Array of Strings

// strtok.cpp : Defines the entry point for the console application.// #include “stdafx.h”#include <stdio.h>#include <string.h>#include <stdlib.h> char *SkipChars(char *buf, const char charToSkip){    char *p = buf;    while (p && (*p) && (*p == charToSkip)) p++;    return p;} char *SkipString(char *buf, … Continue reading

Posted in Uncategorized | Leave a comment

Get String

// strtok.cpp : Defines the entry point for the console application.// #include “stdafx.h”#include <stdio.h>#include <string.h>#include <stdlib.h> char *SkipChars(char *buf, const char charToSkip){    char *p = buf;    while (p && (*p) && (*p == charToSkip)) p++;    return p;} char *SkipString(char *buf, … Continue reading

Posted in Uncategorized | Leave a comment

Parse token

#include <stdio.h>#include <string.h>#include <stdlib.h>char *SkipChars(char *buf, const char charToSkip){ char *p = buf; while (p && (*p == charToSkip)) p++; return p;}char *SkipString(char *buf, const char *str){ char *p; p = strstr(buf, str); if (p) { p += strlen(str); } … Continue reading

Posted in Uncategorized | Leave a comment

Trick to get (almost) free International call on AT&T cellphones

Subscribe to Skype, set automatic withdrawal from your credit card Activate Skype To-Go service and select a local number from its list (US) Goto http://www.att.com/wireless and activate “A-List” feature/service (which is free).  Please remember that this service is only available … Continue reading

Posted in Uncategorized | Leave a comment