|
Mostrar Temas
|
Páginas: [1] 2
|
1
|
Programación / Java / ayuda con jsoup - problema al extraer data
|
en: 27 Diciembre 2016, 02:33 am
|
Hola amigos, estoy usando jsoup para sacar estadisticas de una web todo iva bien hasta que me encontre esto: y quiero saber como lo descifro o darme una idea de que es... porque es logico que todas esas palabras sin sentido forman la tabla de esa pagina les agradezco la ayuda, la pagina a la que quiero extraer datos es: www.mismarcadores.comview-source:http://www.mismarcadores.com/equipo/accrington/6ZvdGuYf/resultados/ Saludos
|
|
|
2
|
Programación / Programación General / AYUDA TESIS - SCRUM
|
en: 8 Mayo 2013, 16:09 pm
|
hOLA AMIGOS DEL FORO QUIERO QUE ME AYUDEN A DARME IDEAS PARA MI TESIS en el tema que quiero realizar es para : Software Development Lifecycle Models sobretodo enfocarme en el scrum como recien saldre de la universidad no tengo experiencia profesional si me podrian poner algunos deficit del scrum
y tambien taba pensando implementar la metodología Scrum en una determinada empresa de desarrollo de software.
no se que me aconsejan gracias de todos modos
|
|
|
3
|
Programación / Java / ayuda en manupular caracteres y ficheros
|
en: 3 Mayo 2012, 02:49 am
|
hola a todo bueno me han dejado tarea de realizar un traductor de codigo y tengo muchas dudas de como hacer esto 1. como distingo el caracter " de una palabra(lo intente con charAt pero al igualar me sale error en poner 3""" ) 2. como mando un archivo como parametro 3. como manipulo las palabras de ese archivo(yo pense ponerlo en un arraylist pero si por hay hay una mejor idea) 4.bueno y como ejecuto ese archivo en java
si pueden resolver alguna de esas dudas se les agredeceria (pondria el codigo que avanze pero creo que los confundiria asi que solo necesito eso) gracias =
|
|
|
4
|
Programación / Java / Ayuda en mi codigo
|
en: 3 Abril 2012, 18:46 pm
|
hola a todos quiero que me ayuden en este codigo la verdad es que no se mucho de java pero me han dejado y tengo muchas dudas me han pedido hacer un codigo como el algoritmo de clausula de kleene osea si el lenguaje:a,b deve imprimir a,b,aa,ab,ba,bb,aaa.... etc hasta el infinito
lo que hace es una combinatoria al ingresar una palabra como hago para realizar ese algoritmo o alguien tiene un metodo mas corto
import java.util.Vector; import java.util.Scanner;
public class kleene { private void generateR(String source, String partial,Vector out) { String newPartial=new String(partial); String newSource; if (source.length()==0) { out.addElement(newPartial); return; } for(int i=0;i<source.length();i++) { newPartial=partial.concat(source.substring(i,i+1)); newSource=source.substring(0,i); if (i<(source.length()+1)) newSource=newSource.concat(source.substring(i+1,source.length())); generateR(newSource, newPartial, out); } } public Vector generate(String source) { Vector out=new Vector(); String partial=new String(); generateR(source, partial, out); return out; }
public static void main(String[] args) { Scanner read = new Scanner(System.in); String pal = read.next(); kleene a= new kleene(); Vector v=a.generate(pal.toString()); for(int i=0;i<v.size();i++) { System.out.print((String)v.elementAt(i)); System.out.print(", "); } } }
|
|
|
5
|
Programación / Desarrollo Web / Ayuda para pagina web
|
en: 23 Mayo 2011, 01:06 am
|
hola a todos bueno la verdad no savia donde postear esto porque en si lo que estoy usando es visual 2010 c#
estoy estudiando y nos han pedido un proyecto para presentar por fase lo que estaba pensando era crear una pagina de poker el codigo no creo que sea tan complicado pues es usar puros numeros aleatorios
el problema es que quiero conectarlo bueno osea por ejemplo: quiero que en la pagina ayga una opcion para crear una sala por ejemplo de sit and go y que se conecten unas 8 personas ?¿como lo hago?¿ o como seria el codigo gracias.....
|
|
|
6
|
Programación / Desarrollo Web / ayuda en mi codigo
|
en: 18 Marzo 2011, 18:20 pm
|
<%@ Page Title="Página principal" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<html> <head> <title>Conversor de monedas</title> </head> <body> <form method="post" runat="server"> <div> Convert: <input type="text"id="US" runat="server"> dollars to Euros. <br/><br/> <input type ="submit" value="OK" id="Convert"runat="server" OnServerClick="Convert_ServerClick"> <br/><br/> <div style="font-weight:bold"id="Result"runat="server"></div> </div> </form> </body> </html>
que diablos estamal me sale etiqueta de servidor incorrecta pleaseee helpppp meeeee 3 errores iguales ejecutado en visual 2010 c· desarrollo web
|
|
|
7
|
Programación / Desarrollo Web / ayuda para mi blog
|
en: 21 Febrero 2011, 23:42 pm
|
hola a todos quiero que me ayuden lo iba a postear en desarrollo web pero mejor aqui en si no se mucho de codigo html ni se como funciona pero quiero que mi blog tenga como un menu y postear entradas de acuerdo al tema lo cree en blogger y no se aver si alguien me ayuda aqui esta mi blog... http://vivir-hasta-elfin.blogspot.com/si esta mal ubicado me avisan en que zona es la correcta
|
|
|
8
|
Programación / Java / una duda con colecciones
|
en: 26 Mayo 2010, 22:13 pm
|
hola amigos tengo una duda este programa no es mio pero la duda mas que todo radica en el for del metodo publico mostrar en esta linea public static void mostrar(ArrayList <alumno> registro){ for(alumno rocker:registro){ rocker.mostrar();}
}
bueno aqui esta todo el codigo para que no hayga confusiones /** * Resolucion del examen 2 - fase * @author Figo */ import java.util.ArrayList;
class alumno{ String codigo,nombre; int nota1,nota2,nota3; public void get_name(String name){ nombre=name; } public void get_codigo(String code){ codigo=code; } public void get_notas(int n1,int n2,int n3){ nota1=n1; nota2=n2; nota3=n3; } public void mostrar(){ System.out.println("+--------------------------------------+"); System.out.println("| Nombre: "+nombre); System.out.println("| Codigo: "+codigo); System.out.println("| promedio: "+(nota1+nota2+nota3)/3); System.out.println("----------------------------------------"); }
} public class examen { public static void main(String args[]){ ArrayList <alumno> registro=new ArrayList <alumno>(); alumno a1,a2,a3,a4,a5,a6,a7,a8,a9,a10; a1=new alumno(); a2=new alumno(); a3=new alumno(); a4=new alumno(); a5=new alumno(); a6=new alumno(); a7=new alumno(); a8=new alumno(); a9=new alumno(); a10=new alumno(); //**************************************************** a1.get_name("Oscar"); a1.get_codigo("2009607113"); a1.get_notas(17, 20, 20); //**************************************************** a2.get_name("Maricielo"); a2.get_codigo("2009607114"); a2.get_notas(15, 10, 20); //**************************************************** a3.get_name("Jesus"); a3.get_codigo("2009607128"); a3.get_notas(11, 12, 12); //**************************************************** a4.get_name("Carlos"); a4.get_codigo("2009607110"); a4.get_notas(15, 20, 18); //**************************************************** a5.get_name("Chipana"); a5.get_codigo("200960007"); a5.get_notas(20, 20, 20); //**************************************************** a6.get_name("Muñeca"); a6.get_codigo("2009607112"); a6.get_notas(8, 10, 17); //**************************************************** a7.get_name("Jean claude"); a7.get_codigo("2009607111"); a7.get_notas(7, 30, 10); //**************************************************** a8.get_name("Rivas"); a8.get_codigo("2009607122"); a8.get_notas(17, 13, 15); //**************************************************** a9.get_name("Jesus"); a9.get_codigo("2009607107"); a9.get_notas(17, 20, 20); //**************************************************** a10.get_name("Crispin"); a10.get_codigo("200967178"); a10.get_notas(17, 20, 20); //*************************************************** registro.add(a1); registro.add(a2); registro.add(a3); registro.add(a4); registro.add(a5); registro.add(a6); registro.add(a7); registro.add(a8); registro.add(a9); registro.add(a10); mostrar(registro); } public static void mostrar(ArrayList <alumno> registro){ for(alumno oscar:registro){ oscar.mostrar();}
}
}
salu...
|
|
|
10
|
Programación / Programación C/C++ / AYUDA error maldito
|
en: 17 Mayo 2010, 01:17 am
|
olaz manes weno quiero que me ayuden con este programa no se que esta mal pero me sale identificador no declararo y esta declarado hay les dejo el codigo esta en dos partes .h y .cpp AKI EL PUNTO CPP //Programa para probar varias opciones de una Pila
#include "iostream" #include "myStackLinked.h" #include "stdio.h" using namespace std;
void main() { int valor; stackType<int> intStack; stackType<int> tempStack; intStack.initializeStack(); cout<<"Usted ha creado una pila de 5 posiciones"; cout<< endl; intStack.push(23); intStack.push(45); intStack.push(38);
tempStack = intStack; //copia intStack en copyStack
cout<<"Elementos en la pila tempStack: "; cout<<endl;
while(!tempStack.isEmptyStack()) //print copyStack { cout<<tempStack.top()<<" "; tempStack.pop(); }
cout<<endl; cout<< "Ingrese un nuevo elemento para la pila: "; cin>>valor; intStack.push(valor);
cout<< "Ingrese un nuevo elemento para la pila: "; cin>>valor; intStack.push(valor);
// Mostrando la pila while(!intStack.isEmptyStack()) //print intStack { cout<<intStack.top()<<" "; intStack.pop(); }
cout<<endl; cout<< "Ingrese un nuevo elemento para la pila: "; cin>>valor; intStack.push(valor);
cout<<endl; cout<< "Ingrese un nuevo elemento para la pila: "; cin>>valor; intStack.push(valor);
cout<<endl; cout<<"El elemnto en el tope de intStack es: "<<intStack.top()<<endl;
//cout<<"Ahora el elemnto en el tope de intStack es: "<<intStack.top()<<endl; //cout<<tempStack.top()<<" ";
system("pause"); } AKI EL .H // myStackLinked.h; Header file
#ifndef H_StackType #define H_StackType
#include <iostream> #include <cassert>
using namespace std;
template <class Type> struct nodeType { Type info; nodeType<Type> *stackTop; };
template<class Type> class stackType { public: const stackType<Type>& operator=(const stackType<Type>&); void initializeStack(); //Function to initialize the stack to an empty state. //Postcondition: stackTop = 0 void destroyStack(); //Function to remove all the elements from the stack. //Postcondition: stackTop = 0 bool isEmptyStack(); //Function to determine whether the stack is empty. //Postcondition: Returns true if the stack is empty; // otherwise, returns false. void push(const Type& newItem); //Function to add newItem to the stack. //Precondition: The stack exists and is not full. //Postcondition: The stack is changed and newItem // is added to the top of stack. Type top(); //Function to return the top element of the stack. //Precondition: The stack exists and is not empty. //Postcondition: If the stack is empty, the program // terminates; otherwise, the top element // of the stack is returned. void pop(); //Function to remove the top element of the stack. //Precondition: The stack exists and is not empty. //Postcondition: The stack is changed and the top // element is removed from the stack.
stackType(); //constructor //Creates an array of the size stackSize to hold the //stack elements. The default stack size is 100. //Postcondition: The variable list contains the base // address of the array, stackTop = 0, and // maxStackSize = stackSize. stackType(const stackType<Type>& otherStack); //copy constructor ~stackType(); //destructor //Removes all the elements from the stack. //Postcondition: The array (list) holding the stack // elements is deleted.
private:
nodeType<Type> *link; void copyStack(const stackType<Type>& otherStack); //Function to make a copy of otherStack. //Postcondition: A copy of otherStack is created and // assigned to this stack. };
template<class Type> void stackType<Type>::initializeStack() { destroyStack(); }
template<class Type> void stackType<Type>::destroyStack() { nodeType<Type> *temp; while(stackTop != NULL) { temp = stackTop; stackTop = stackTop->link; delete temp; }
stackTop = 0; } template<class Type> bool stackType<Type>::isEmptyStack() { return (stackTop==0); }
template<class Type> void stackType<Type>::push(const Type& newItem) { nodeType<Type> *newNode;
newNode = new nodeType<Type>;
assert(newNode != NULL);
newNode->info = newItem; newNode->stackTop = stackTop; stackTop = newNode; }
template<class Type> Type stackType<Type>::top() { assert(stackTop!= 0); return (stackTop->info); }
template<class Type> void stackType<Type>::pop() { nodeType<Type> *temp; if(!isEmptyStack()){ temp=stackTop; stackTop=stackTop->link; delete temp; } else cerr<<"Cannot remove from an empty stack."<<endl; }
template<class Type> stackType<Type>::stackType() { stackTop = 0; }
template<class Type> stackType<Type>::~stackType() //destructor { destroyStack(); }
template<class Type> void stackType<Type>::copyStack(const stackType<Type>& otherStack) {
nodeType<Type> *newNode; nodeType<Type> *current;
if(!isEmptyStack()) destroyList();
if(otherList.isEmptyStack()) stackTop = NULL; else { current = otherList.stackTop;
stackTop = new nodeType<Type>;
assert(stackTop != NULL);
stackTop->info = current->info; stackTop->link = NULL;
current = current->link;
while(current != NULL) { newNode = new nodeType<Type>;
assert(newNode!= NULL);
newNode->info = current->info; newNode->link = NULL; current = current->link; } } }
template<class Type> stackType<Type>::stackType(const stackType<Type>& otherStack) { stackTop = NULL;
copyStack(otherStack); }
template<class Type> const stackType<Type>& stackType<Type>::operator= (const stackType<Type>& otherStack) {
if(this != &otherStack) copyStack(otherStack);
return *this; }
#endif weno se agradece ... salu...
|
|
|
|
|
|
|