ndeniche 402 Posting Virtuoso Featured Poster

you could divide you 7-9 digit number into 3 numbers and place commas between them...

ndeniche 402 Posting Virtuoso Featured Poster

Bali

ndeniche 402 Posting Virtuoso Featured Poster

eats

ndeniche 402 Posting Virtuoso Featured Poster

i don't think anyone that qualifies in other might be able to answer that poll...

Sulley's Boo commented: hehe +3
ndeniche 402 Posting Virtuoso Featured Poster

ok... let me correct myself... i don't hate gays... i dislike them... happy?

ndeniche 402 Posting Virtuoso Featured Poster

2758

ndeniche 402 Posting Virtuoso Featured Poster

ok... lets put it this way... AIDS came with gay sex... then came the so-called "bi-sexuals", which to me are as gay as the homosexuals... and had intercourse with a woman... this woman had intercourse with other three men without knowing about the disease... and so on and so on...

see? its not like diseases are born when you respect the natural order of things... but when you start messing up with order, comes disaster...

ndeniche 402 Posting Virtuoso Featured Poster

oh... come on... will you tell me you never use the word hate to refer something you dislike?

ndeniche 402 Posting Virtuoso Featured Poster

thank you very much Josh...

ndeniche 402 Posting Virtuoso Featured Poster

@ A.D.:
agreed... perhaps we may want to consider experimentation as the best explanation... experimentation just to see what it feels like to do things different, and end liking it... but then, if it was experimentation, it was chioce... choice to keep doing it, or just stopping it...

environment influence might be a good explanation too nowadays... since there's a lot of societies that promote gay communities and stuff... so, some kid that has been rejected, with no family support and everything sees that gays "are" (by "are" i mean seem) happy, so he wants to be happy... so he turns to the gay community...

ndeniche 402 Posting Virtuoso Featured Poster

@ Ancient Dragon:

as i stated it in the other thread, gayness has nothing to do with natural processes, genetics or anything... i clearly stated that the human need to be sexually satisfied comes from his instinct... instinct indicates humans to have sexual intercourse with someone from the opposite sex... there's no way gayness can be assed through as genetic information...

gayness is just the same as masochism... some weird experimentation made by some wacked up guy that ended liking this new sensation... a psychological impulse to do something that wasn't meant to be...

to say that gayness is passed through genetics is like saying stealing is passed through genetics...

ndeniche 402 Posting Virtuoso Featured Poster

2756

ndeniche 402 Posting Virtuoso Featured Poster

-"have you seen my <enter noun here>?"
-"no."

ndeniche 402 Posting Virtuoso Featured Poster

this thread was not started as a hate speech... that comment was posted in another thread... i just created this one so we could widely discuss it...

when i commented that, i meant gay comunities, gay conversations... and that kind of stuff... i have no problem in using something inventd or discovered by someone gay... but you will never ever see me sharing anything more than a professional relationship or none at all...

ndeniche 402 Posting Virtuoso Featured Poster

ok... i modified that part of the code, so the file is now crated if there wasn't any... but... now it fails writing into the file... guess it goes the other way around in the if statement...

#include <iostream>
#include <cstdlib>
#include <conio.h>
#include <fstream>
#include <cstdio>

using namespace std;

struct carro{
   char placa[7];
   char nom[50];
   char marca[20];
   char modelo[20];
   char color[10];
};

void leerVehiculo(carro cliente){
   cout<<"Ingrese el nombre del propietario: ";
   gets(cliente.nom);
   cout<<"\nIngrese la marca del vehiculo:   ";
   gets(cliente.placa);
   cout<<"\nIngrese el modelo del vehiculo:  ";
   gets(cliente.modelo);
   cout<<"\nIngrese el color del vehiculo:   ";
   gets(cliente.color);
   cout<<"\nIngrese la placa del vehiculo:   ";
   gets(cliente.placa);
   cout<<"\n\n\nPresione >>ENTER<< para continuar";
   getchar();
   system("cls");
}

void nuevoCliente(){
   carro cliente;
   leerVehiculo(cliente);
   fstream file("Boleta.txt", ios::out | ios::in);
   if (!file.is_open()){
      fstream file ("Boleta.txt", ios::out);
   }if (file.is_open()){
      cout<<"Proceder con escritura en archivo\n\n";
      file<<"\nNombre: "<<cliente.nom;
      file<<"\nMarca:  "<<cliente.marca;
      file<<"\nModelo: "<<cliente.modelo;
      file<<"\nColor:  "<<cliente.color;
      file<<"\nPlaca:  "<<cliente.placa;
      file<<"\n\n\n";
      file.close();
   }else perror(0);
   cout<<"Presione >>ENTER<< para continuar";
   getchar();
}

int menu(){
   int op;
   system("cls");
   cout<<"Bienvenido al Sistema de Registro de la Direccion Ejecutiva de Ingresos";
   cout<<"\n\n\n\n     Que desea hacer?";
   cout<<"\n\n  1.-Agregar un nuevo vehiculo\n  2.-Salir\n\n\n    Ingrese una opcion: ";
   cin>>op;
   getchar();
   system("cls");
   return op;
}

int main(){
   do{
      if (menu()==2){
     _exit(0);
         return 0;
      }else{
     nuevoCliente();
      }
   }while (1);
}
ndeniche 402 Posting Virtuoso Featured Poster

hmmm... idea... maybe it doesn't open it for reading, because there's nothing to read from... lol

thnx for opening my eyes...

ndeniche 402 Posting Virtuoso Featured Poster

i don't need it to tell me why it failed... i need it to create a new text file if there is no one to write into...

the error is "No such file or directory"

ndeniche 402 Posting Virtuoso Featured Poster

the thing is it doesn't even create the file... that's what i need it to do...

ndeniche 402 Posting Virtuoso Featured Poster

i can't beleive i'm starting a thread about this... but it is a subject that must be discussed through and through...

1.- when i was talking about hating everything gay, i wasn't talking about what they've invented, because the fact that they're gay doesn't mean they're intelligent...

2.- i never intended to say that my god is bigger than yours... in the end i don't think any religion approves of gay relationships...


3.- being gay has nothing to do with skin color or anything you mentioned... because, differently from the others, is a decision from a human being about going the wrong way...

ndeniche 402 Posting Virtuoso Featured Poster

2754

ndeniche 402 Posting Virtuoso Featured Poster

ok... i had it corrected, but it still doesn't create the file i need in to create...

here's the code:

#include <iostream>
#include <cstdlib>
#include <conio.h>
#include <fstream>
#include <cstdio>

using namespace std;

struct carro{
   char placa[7];
   char nom[50];
   char marca[20];
   char modelo[20];
   char color[10];
};

void leerVehiculo(carro cliente){
   cout<<"Ingrese el nombre del propietario: ";
   gets(cliente.nom);
   cout<<"\nIngrese la marca del vehiculo:   ";
   gets(cliente.placa);
   cout<<"\nIngrese el modelo del vehiculo:  ";
   gets(cliente.modelo);
   cout<<"\nIngrese el color del vehiculo:   ";
   gets(cliente.color);
   cout<<"\nIngrese la placa del vehiculo:   ";
   gets(cliente.placa);
   cout<<"\n\n\nPresione >>ENTER<< para continuar";
   getchar();
   system("cls");
}

void nuevoCliente(){
   carro cliente;
   leerVehiculo(cliente);
   fstream file("Boleta.txt", ios::in | ios::out);
   cout<<"Proceder con escritura en archivo\n\n";
   file<<"\nNombre: "<<cliente.nom;
   file<<"\nMarca:  "<<cliente.marca;
   file<<"\nModelo: "<<cliente.modelo;
   file<<"\nColor:  "<<cliente.color;
   file<<"\nPlaca:  "<<cliente.placa;
   file<<"\n\n\n";
   file.close();
   cout<<"Presione >>ENTER<< para continuar";
   getchar();
}

int menu(){
   int op;
   system("cls");
   cout<<"Bienvenido al Sistema de Registro de la Direccion Ejecutiva de Ingresos";
   cout<<"\n\n\n\n     Que desea hacer?";
   cout<<"\n\n  1.-Agregar un nuevo vehiculo\n  2.-Salir\n\n\n    Ingrese una opcion: ";
   cin>>op;
   getchar();
   system("cls");
   return op;
}

int main(){
   do{
      if (menu()==2){
     _exit(0);
         return 0;
      }else{
     nuevoCliente();
      }
   }while (1);
}

it runs perfectly except for that small detail (which is the whole idea of the project...)

its in spanish though... hope you don't mind...

ndeniche 402 Posting Virtuoso Featured Poster

there've been already like 3 or 4 joke threads...

ndeniche 402 Posting Virtuoso Featured Poster

first of all... let me make myself clear... i hate gays... i hate everything that has to do with gays...

in my opinion, gayness is the worst disease there is... because that's what it is, a psychological disease, that makes a man feel attracted by another man...

there's nothing genetic, nor any physiological need, since AFAIK it is not necessary for a man to be physically satisied by another man... what is a physiological need is for a man to be satisfied by a woman, just as it was meant to be... physiological needs are those humans have from their animal being, also called instinct... such as the need to pee, to eat to sleep... or have you ever seen a dog having gay relationships with other dogs? of course not... why? because they don't have a mind to have f***ed up by some weird "need" to have someone of their same sex beside them...

gay people shouldn't be praised... his only causes more people to think this is good...

actually gay sex is the source of many diseases... maybe is a punishment to mankind for allowing this to happen... or at least i feel it that way...

even (as christians may know), God Himself is againsta gay relationships... i can't recall where it is, but it clearly says (in other words, obviously) "gays will not go to Heaven"...

conclusion... gays shouldn't exist... and it is a mistake to think they are a "nature's …

joshSCH commented: haha :D +11
ndeniche 402 Posting Virtuoso Featured Poster

we're gonna get sooo many trouble when she reads this...

ndeniche 402 Posting Virtuoso Featured Poster

dude... tehy even sent me candy...

ndeniche 402 Posting Virtuoso Featured Poster

rumor has it she passed away... :P

ndeniche 402 Posting Virtuoso Featured Poster

i did once too... :P

ndeniche 402 Posting Virtuoso Featured Poster

2752

ndeniche 402 Posting Virtuoso Featured Poster

why don't you initialize your unknown variable as a string, and depending on its value you convert it to int, double, boolean, or leave it as a string... you may use atoi() to compare numbers and strings such as "true" and "false" to compare boolean... if there is a dot in middle of the string and the rest of the characters are numbers, then it is a double... and if not, it is a string...

ndeniche 402 Posting Virtuoso Featured Poster

2750

ndeniche 402 Posting Virtuoso Featured Poster

it's not that i have that problem... but seeing it from MidiMagic's point of view...

if i have to edit a post i edit it immediately after posting... so, by me you could make it 5 minutes if you want...

ndeniche 402 Posting Virtuoso Featured Poster

2748

ndeniche 402 Posting Virtuoso Featured Poster

hah... that's what happens when something doesn't go the way it should...

ndeniche 402 Posting Virtuoso Featured Poster

well... what about the "best price warranty"? "bring me a better price and i'll cut ours by half"

ndeniche 402 Posting Virtuoso Featured Poster

don't know who the heck you're talking about, but glad we solved this dilemma...

what about "this product has a 2 year full coverage warranty"

ndeniche 402 Posting Virtuoso Featured Poster

me neither

ndeniche 402 Posting Virtuoso Featured Poster

2745

ndeniche 402 Posting Virtuoso Featured Poster

but that is exactly the point. government is capable of creating jobs. therefore the sarcasm is false by virtue of the statement being true. look at germany before the second world war. while the rest of europe was in depression the national socialists created jobs.(i am no fan of hitler in case someone is going to say so.)

the sarcasm cmes in when we start speaking about actual governments... mostrly western governments... like the US, Mexico, Central America... in these countries, it seems like tho government doesn't care if people without jobs starve to death... beleive me when i say so...

btw. i am now practicing chess. got to be ready for narue if she comes back!

lol... you're right...

ndeniche 402 Posting Virtuoso Featured Poster

hey!! guys!! the phrase "the govenrment creates jobs" was meant to be a lie... it is called sarcasm... maybe you should get to know each other...

ndeniche 402 Posting Virtuoso Featured Poster

what about extending the edit time? how did you get to the conclusion that 30 mins was best?

ndeniche 402 Posting Virtuoso Featured Poster

Paris: Skinny freak who only became famous due to a leaked amature porn movie.

hmmm... leaked? i'm pretty sure it was not an accident...

ndeniche 402 Posting Virtuoso Featured Poster

2743

ndeniche 402 Posting Virtuoso Featured Poster

2741

ndeniche 402 Posting Virtuoso Featured Poster

lol

ndeniche 402 Posting Virtuoso Featured Poster

2739

ndeniche 402 Posting Virtuoso Featured Poster

there was a small mistake, and i'm trying to make it follow the post number... 2737

ndeniche 402 Posting Virtuoso Featured Poster

2735

ndeniche 402 Posting Virtuoso Featured Poster

i had seen that one too... actually that's the one included in my project right now...

let me see what i can do, and i'll post back if i have any more trouble...

ndeniche 402 Posting Virtuoso Featured Poster

she is a girl... perhaps you should take a look to her profile picture to have an idea of her body (and an awesome tattoo)... quite intelligent too...

ndeniche 402 Posting Virtuoso Featured Poster

that's why there's a large variety of colors and flavors my friend...