Skip to content

Instantly share code, notes, and snippets.

#include "stdio.h"
#include "stdlib.h"
#define LINE_LIMIT 100
int main(int argc, char** argv)
{
int lineSize = 0,
lineCount = 0;
/*********************************************
P2, Instituto Infnet, Prof. Cleuton Sampaio
Alunos: Rodrigo Caldas de Moura Duarte
Thyago de Luca Silva Costa (d0j0 guy)
*********************************************/
/* PROFESSOR, ESTE É UM CODE DE QUEM FAZ DOJO!
ENTRADA:
/* $ trab_busca_binaria.c
*
* Aluno: Rodrigo Caldas de Moura Duarte
* Prof.: Marcelo Vasconcelos
* Objetivo: Implementar busca binária em C
*/
#include "stdio.h"
#include "stdlib.h"
//gabarito
int mult(int a, int b)
{
if(a == 1)
return b;
<?php
require "yahttp.class.php";
//config
error_reporting(0);
set_time_limit(0);
ini_set("default_socket_timeout",5);
$newLine = "<br>\n";
<?php
class Yahttp
{
public static $host;
public static $port;
public static $currdir;
public static $path;
public static $html;
@kaldas
kaldas / gist:944733
Created April 27, 2011 17:22
trab01_quicksort.c
/*******************************************
Estrutura de Dados e Algoritmos 2
Prof. Marcelo Vasconcelos - GEC
Aluno: Rodrigo Caldas de Moura Duarte
*******************************************/
int main()
{
int defaultNumbers[] = { 500, 178, 2, 487,
158, 47, 35, 78,
Imports BLL
Imports Model
Public Class EditarCaseSucesso
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
If Request.QueryString("id") IsNot Nothing Then
Imports BLL
Imports Model
Public Class Editar2
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
If Request.QueryString("id") IsNot Nothing Then
#include <stdio.h>
#define MAX 31
int main()
{
char str[MAX], copia[MAX];
int i, compstr;