Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - Queta

#131
¡Cómo no! Hacer por hacer un sistema operativo, puedes hacer incluso esto:

http://www.codeproject.com/KB/cs/CosmosMS5.aspx

Pero dejémonos de tonterías, al hacer un proyecto serio y un poco grande perderías mucha velocidad e incluso cosas tan básicas como la gestión de archivos. Los propios creadores de FreeBASIC lo dicen:

CitarCan I write an OS in FreeBASIC ?

YES and NO. If you really insist to write an OS and involve FB, the answer is YES. If the question is, whether it is a good idea that you, even more if a beginner, should start coding an OS using FB now, the answer is NO. Several pitfalls apply:
OS development is hard, see http://www.osdev.org/wiki/Getting_Started∞; .
FB won't help you to bypass the need to deal with assembly, also C might be almost impossible to avoid.
You won't be able to use most of the trusted FB features, like graphics, file I/O, threads, memory management, even console I/O ... just control flow, math and logic. If you need those library functions, you will have to reimplement them.
FreeBASIC relies on GCC, and available informations about developing an OS in C apply to FreeBASIC as well. FB will help you neither more nor less than GCC.
#132
Programación C/C++ / Re: duda con Visual C++
30 Agosto 2011, 10:28 AM
Si te fijas, Visual C++ 6.0 es un compilador bastante antiguo y puede traerte algunos problemas de compatibilidad. Mi recomendación es que actualices a una versión más nueva.
#133
Un par de temas más abajo:

http://foro.elhacker.net/programacion_general/iquestcon_que_lenguaje_de_programacion_empezar-t337532.0.html

Si no te convence, hay miles de hilos hablando monótonamente sobre lo mismo :¬¬.
#134
Programación C/C++ / Re: duda con Visual C++
29 Agosto 2011, 22:00 PM
Cita de: Raul100 en 29 Agosto 2011, 18:54 PM
como puedo agregarle el numero de lineas?

Tools/Options/Text Editor/C/C++/Line numbers (en Display).

Cita de: Raul100 en 29 Agosto 2011, 18:54 PM
cual es la diferencia entre visual c++ 6 y visual c++ 2010 ??? :P hay alguna diferencia ?

Visual C++ 6.0:

CitarVisual C++ 6.0 (commonly known as VC6), which included MFC 6.0, was released in 1998. The release was somewhat controversial since it did not include an expected update to MFC. Visual C++ 6.0 is still quite popular and often used to maintain legacy projects. There are, however, issues with this version under Windows XP, especially under the debugging mode (for example, the values of static variables do not display). The debugging issues can be solved with a patch called the "Visual C++ 6.0 Processor Pack".

Visual C++ 2010:

CitarVisual C++ 2010 (known also as Visual C++ 10.0) was released on April 12, 2010, and it is currently the latest stable release. It uses a SQL Server Compact database to store information about the source code, including IntelliSense information, for better IntelliSense and code-completion support. (However, Visual C++ 2010 does not support Intellisense for C++/CLI.) This version adds a modern C++ parallel computing library called the Parallel Patterns Library, partial support for C++0x, significantly improved IntelliSense, and performance improvements to both the compiler and generated code. This version is built around .NET 4.0, but supports compiling to machine code. The partial C++0x support mainly consists of six compiler features (lambdas, rvalue references, auto, decltype, static_assert, nullptr), and some library features (e.g. moving the TR1 components from std::tr1 namespace directly to std namespace). Variadic templates were also considered, but delayed until some future version due to lower priority which stemmed from the fact that unlike other costly-to-implement features (lambda, rvalue references), this one would benefit only a minority of library writers than the majority of compiler end users. By default, all applications compiled against the Visual C++ 2010 Runtimes will only work under Windows XP SP2 and later.
Beta 2 version number: 16.00.21003.01 (this is the version of compiler; the IDE itself has version number 16.00.21006.01)
RC version number: 16.00.30128.01
RTM version, also available in Windows SDK for Windows 7 and .NET Framework 4 (WinSdk v7.1). Version number: 16.00.30319.01
SP1 version, also available in KB2519277 update to Windows SDK v7.1: 16.00.40219.0
#136
Código (cpp) [Seleccionar]
#include <iostream>

class MiClase2;

class MiClase1
{
public:
int suma(MiClase2);
MiClase1() : a(1) {}

private:
int a;
};

class MiClase2
{
public:
MiClase2() : b(2) {}

private:
friend int MiClase1::suma(MiClase2);
int b;
};

int MiClase1::suma(MiClase2 _MiClase2)
{
return a + _MiClase2.b;
}

int main()
{
MiClase1 _MiClase1;
MiClase2 _MiClase2;

std::cout << "El resultado seguro que es 3: " << _MiClase1.suma(_MiClase2) << std::endl;

std::cin.get();

return 0;
}
#137
¿Pero txtBotnetConnectar es miembro de la clase socket? En el caso de que no sea así, es decir, que pertenezca a otra clase, puedes usar clases hermanas:

http://www.cplusplus.com/doc/tutorial/inheritance/
#138
CitarAlgebra is the branch of mathematics concerning the study of the rules of operations and relations, and the constructions and concepts arising from them, including terms, polynomials, equations and algebraic structures. Together with geometry, analysis, topology, combinatorics, and number theory, algebra is one of the main branches of pure mathematics.

http://en.wikipedia.org/wiki/Algebra

CitarMathematical analysis, which mathematicians refer to simply as analysis, has its beginnings in the rigorous formulation of infinitesimal calculus. It is a branch of pure mathematics that includes the theories of differentiation, integration and measure, limits, infinite series, and analytic functions. These theories are often studied in the context of real numbers, complex numbers, and real and complex functions. Analysis may be conventionally distinguished from geometry. However, theories of analysis can be applied to any space of mathematical objects that has a definition of nearness (a topological space) or, more specifically, distance (a metric space).

http://en.wikipedia.org/wiki/Mathematical_analysis

CitarDiscrete mathematics is the study of mathematical structures that are fundamentally discrete rather than continuous. In contrast to real numbers that have the property of varying "smoothly", the objects studied in discrete mathematics – such as integers, graphs, and statements in logic – do not vary smoothly in this way, but have distinct, separated values. Discrete mathematics therefore excludes topics in "continuous mathematics" such as calculus and analysis. Discrete objects can often be enumerated by integers. More formally, discrete mathematics has been characterized as the branch of mathematics dealing with countable sets (sets that have the same cardinality as subsets of the natural numbers, including rational numbers but not real numbers). However, there is no exact, universally agreed, definition of the term "discrete mathematics."Indeed, discrete mathematics is described less by what is included than by what is excluded: continuously varying quantities and related notions.

http://en.wikipedia.org/wiki/Discrete_mathematics

CitarStatistics is the study of the collection, organization, and interpretation of data. It deals with all aspects of this, including the planning of data collection in terms of the design of surveys and experiments.

http://en.wikipedia.org/wiki/Statistics
#139
Programación C/C++ / Re: eror al leer archivo
28 Agosto 2011, 16:47 PM
De nada ::).
#140
Cita de: SixToes en 28 Agosto 2011, 09:32 AM
la misma  capacidad de hacer los mismo programas QUE CUALQUIER OTRO LENGUAJE

Primera mentira; a parte de que Visual Basic es un lenguaje totalmente obsoleto, ya me gustaría ver un sistema operativo desarrollado en Visual Basic, que lógicamente no se puede.

Cita de: SixToes en 28 Agosto 2011, 09:32 AM
y mucho mas rápido.

Hablar por hablar. Antivirus, sistemas operativos, drivers, programas de edición, etcétera, todo, absolutamente todo es C o C++ y si no vete a Adobe y diles que hagan el Photoshop en Visual Basic, que si no pierde mucha velocidad y potencia :laugh:.