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
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
for (var i = 1; i <= 100; i++) | |
{ | |
var mensaje = ""; |
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> | |
#include<fstream> | |
using namespace std; | |
int main() | |
{ | |
ifstream archivo("C:\\Users\\Ivan Velasquez Rios\\Desktop\\examen.txt", ios::in); | |
char numeros[20]; | |
int num, sum=0; | |
int contador[10] = {0}; |
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> | |
#include<fstream> | |
using namespace std; | |
void determinarRangos(int[10], int); | |
int main() | |
{ | |
int contador[10] = {0}; | |
int rangos [10]; | |
int extensionRango = 0; |
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
import java.awt.Component; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import javax.swing.JOptionPane; | |
/** | |
* | |
* @author chukitow | |
*/ | |
public class Dbconection { |
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
class SQLiteDatabase | |
{ | |
String dbConnection; | |
/// <summary> | |
/// Default Constructor for SQLiteDatabase Class. | |
/// </summary> | |
public SQLiteDatabase() |
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
db = new SQLiteDatabase(); | |
Dictionary<String, String> data = new Dictionary<String, String>(); | |
data.Add("NAME", nameTextBox.Text); | |
data.Add("DESCRIPTION", descriptionTextBox.Text); | |
data.Add("PREP_TIME", prepTimeTextBox.Text); | |
data.Add("COOKING_TIME", cookingTimeTextBox.Text); | |
data.Add("COOKING_DIRECTIONS", "Placeholder"); | |
try |
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
int row = jTable1.getSelectedRow(); | |
String id = (String) jTable1.getModel().getValueAt(row, 0); | |
//System.out.println(id); |
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
try | |
{ | |
File archivo = new File("datos.xls"); | |
TableModel modelo = jTable1.getModel(); | |
FileWriter excel = new FileWriter(archivo); | |
for(int i = 0; i < modelo.getColumnCount(); i++) | |
{ | |
excel.write(modelo.getColumnName(i) + "/t"); | |
} | |
excel.write("\n"); |
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
package com.example.threads; | |
import android.os.Bundle; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.view.Menu; | |
public class MainActivity extends Activity { | |
@Override |
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
package com.example.threads; | |
import android.app.ListActivity; | |
import android.content.Intent; | |
import android.database.DataSetObserver; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.ArrayAdapter; | |
import android.widget.ListAdapter; |
OlderNewer