Click here to Skip to main content
16,006,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General.HLP made me CRAZY ! Pin
Hadi Rezaee21-Jan-02 8:14
Hadi Rezaee21-Jan-02 8:14 
GeneralChange icon in SDI Pin
21-Jan-02 7:28
suss21-Jan-02 7:28 
GeneralRe: Change icon in SDI Pin
Joaquín M López Muñoz21-Jan-02 7:46
Joaquín M López Muñoz21-Jan-02 7:46 
GeneralOpenGL Pin
Rajveer21-Jan-02 7:11
Rajveer21-Jan-02 7:11 
QuestionSDI view that doesn't occupy the entire main frame? Pin
jonbrown21-Jan-02 7:10
jonbrown21-Jan-02 7:10 
Generalblocking mouse and keyboard hardware Pin
Kuniva21-Jan-02 6:47
Kuniva21-Jan-02 6:47 
GeneralRe: blocking mouse and keyboard hardware Pin
Jon Hulatt21-Jan-02 6:55
Jon Hulatt21-Jan-02 6:55 
QuestionCould ya'll please tell me what is wrong with this code? Pin
Ever123421-Jan-02 6:16
Ever123421-Jan-02 6:16 
Okay, it isnt done yet and this is the first time I have ever used arrays. Visual Studio 6.0 gave me 21 errors, and I dont know how to fix it.

heres the code:

// Password Generator.cpp : Randomly generates an 8 charactor password.
//with swapping vowls and consenents for maximum pronounciblity.

#include "stdafx.h"

int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.

char cons[19];
char vowl[6];
int number[10];

cons[0]="b" || "B";
cons[1]="c" || "C";
cons[2]="d" || "D";
cons[3]="f" || "F";
cons[4]="g" || "G";
cons[5]="h" || "H";
cons[6]="j" || "J";
cons[7]="k" || "K";
cons[8]="l" || "L";
cons[9]="m" || "M";
cons[10]="n" || "N";
cons[11]="p" || "P";
cons[12]="r" || "R";
cons[13]="s" || "S";
cons[14]="t" || "T";
cons[15]="v" || "V";
cons[16]="w" || "W";
cons[17]="x" || "X";
cons[18]="z" || "Z";

vowl[0]="a" || "A";
vowl[1]="e" || "E";
vowl[2]="i" || "I";
vowl[3]="o" || "O";
vowl[4]="u" || "U";
vowl[5]="y" || "Y";

int number[0]="1";
int number[1]="2";
int number[2]="3";
int number[3]="4";
int number[4]="5";
int number[5]="6";
int number[6]="7";
int number[7]="8";
int number[8]="9";
int number[9]="0";

return 0;
}



"To wonder is to begin to understand"
AnswerRe: Could ya'll please tell me what is wrong with this code? Pin
Rick York21-Jan-02 6:23
mveRick York21-Jan-02 6:23 
AnswerRe: Could ya'll please tell me what is wrong with this code? Pin
Ravi Bhavnani21-Jan-02 6:33
professionalRavi Bhavnani21-Jan-02 6:33 
GeneralRe: Could ya'll please tell me what is wrong with this code? Pin
Ever123422-Jan-02 13:37
Ever123422-Jan-02 13:37 
GeneralRe: Could ya'll please tell me what is wrong with this code? Pin
Tim Smith22-Jan-02 14:38
Tim Smith22-Jan-02 14:38 
GeneralPiping stdout to text box Pin
Leo Smith21-Jan-02 6:08
Leo Smith21-Jan-02 6:08 
GeneralRe: Piping stdout to text box Pin
Not Active21-Jan-02 6:24
mentorNot Active21-Jan-02 6:24 
GeneralRe: Piping stdout to text box Pin
Ravi Bhavnani21-Jan-02 6:37
professionalRavi Bhavnani21-Jan-02 6:37 
GeneralDeleting protected registry keys Pin
21-Jan-02 5:32
suss21-Jan-02 5:32 
GeneralRe: Deleting protected registry keys Pin
Ernest Laurentin21-Jan-02 10:20
Ernest Laurentin21-Jan-02 10:20 
GeneralRe: Deleting protected registry keys Pin
Derek Smigelski21-Jan-02 11:27
Derek Smigelski21-Jan-02 11:27 
GeneralRe: Deleting protected registry keys Pin
Ernest Laurentin21-Jan-02 14:35
Ernest Laurentin21-Jan-02 14:35 
QuestionShellExecute parent handle ? Pin
Robert Palma Jr.21-Jan-02 5:13
Robert Palma Jr.21-Jan-02 5:13 
AnswerRe: ShellExecute parent handle ? Pin
Joaquín M López Muñoz21-Jan-02 5:23
Joaquín M López Muñoz21-Jan-02 5:23 
GeneralRe: ShellExecute parent handle ? Pin
Robert Palma Jr.21-Jan-02 9:18
Robert Palma Jr.21-Jan-02 9:18 
GeneralRe: ShellExecute parent handle ? Pin
Joaquín M López Muñoz21-Jan-02 9:29
Joaquín M López Muñoz21-Jan-02 9:29 
GeneralRe: ShellExecute parent handle ? Pin
Robert Palma Jr.21-Jan-02 9:40
Robert Palma Jr.21-Jan-02 9:40 
GeneralRe: ShellExecute parent handle ? Pin
Joaquín M López Muñoz21-Jan-02 9:53
Joaquín M López Muñoz21-Jan-02 9:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.