This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A small example program using SQLite with C++ | |
#include <iostream> | |
#include <sqlite3.h> | |
using namespace std; | |
static int callback(void *NotUsed, int argc, char **argv, char **azColName) | |
{ | |
int i; | |
for(i=0; i<argc; i++) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************* | |
* C++ program to convert temperature from either Fahrenheit to * | |
* Celsius or vise-versa. * | |
* * | |
*******************************************************************/ | |
#include <iostream> | |
#include <cctype> | |
using namespace std; | |
int main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(){ | |
int i; | |
for (i = 0; i < 100; i++) | |
if (i % 3 == 0 && i % 5 == 0) | |
cout<<i<<" FizzBuzz\n"; | |
else if (i % 3 == 0) | |
cout<<i<<" Fizz\n"; |
NewerOlder