Click here to Skip to main content
12,304,352 members (66,219 online)

C / C++ / MFC

 
AnswerRe: sprintf and rounding issues Pin
CPallini20-Apr-09 10:38
mvpCPallini20-Apr-09 10:38 
QuestionText in OpenGL Pin
yousuf_227920-Apr-09 8:12
memberyousuf_227920-Apr-09 8:12 
AnswerRe: Text in OpenGL Pin
Stuart Dootson20-Apr-09 8:24
memberStuart Dootson20-Apr-09 8:24 
GeneralRe: Text in OpenGL Pin
yousuf_227920-Apr-09 8:31
memberyousuf_227920-Apr-09 8:31 
GeneralRe: Text in OpenGL Pin
yousuf_227920-Apr-09 8:34
memberyousuf_227920-Apr-09 8:34 
GeneralRe: Text in OpenGL Pin
Stuart Dootson20-Apr-09 8:43
memberStuart Dootson20-Apr-09 8:43 
QuestionHeap Memory / COM Object Limits Pin
Steve Thresher20-Apr-09 6:50
memberSteve Thresher20-Apr-09 6:50 
QuestionExecuting Code on C++ API Exit Pin
turkmeistr120-Apr-09 5:53
memberturkmeistr120-Apr-09 5:53 
QuestionRe: Executing Code on C++ API Exit Pin
DavidCrow20-Apr-09 5:57
mvpDavidCrow20-Apr-09 5:57 
AnswerRe: Executing Code on C++ API Exit Pin
turkmeistr120-Apr-09 6:23
memberturkmeistr120-Apr-09 6:23 
GeneralRe: Executing Code on C++ API Exit Pin
DavidCrow20-Apr-09 8:07
mvpDavidCrow20-Apr-09 8:07 
GeneralRe: Executing Code on C++ API Exit Pin
turkmeistr120-Apr-09 9:07
memberturkmeistr120-Apr-09 9:07 
Questionchar array issues Pin
gamefreak229120-Apr-09 5:07
membergamefreak229120-Apr-09 5:07 
QuestionRe: char array issues Pin
DavidCrow20-Apr-09 5:15
mvpDavidCrow20-Apr-09 5:15 
gamefreak2291 wrote:
if(((password1[i]>=65)&&(password1[i]<=90)) || ((password1[i]>=97)&&(password1[i]<=122)) || ((password1[i]>=48)&&(password1[i]<=57)) || ((password1[i]>=35)&&(password1[i]<=38)) || ((password1[i]>=40)&&(password1[i]<=42)) || ((password1[i]==33))||((password1[i]==64)) || ((password1[i]==94)) || ((password1[i]==32))){cout << "*"; i+1;}


Have you considered isdigit(), isalnum(), isalpha(), isxdigit(), etc? It won't necessarily solve your problem (I've not looked to see what the actual problem is), but making it easier to read won't hurt.

gamefreak2291 wrote:
if(password1[q]='p','a','s','s','w','o','r','d','\0'){goto end1;}


Is this supposed to do something?

gamefreak2291 wrote:
}while(x=1);


Look at this line real close. Also, your i+1 and i-1 statements are not doing what you expect.

gamefreak2291 wrote:
for(q=0;q<i;q++){cout><< password1[q];}


Does this even compile?

What warning level are you using?

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


AnswerRe: char array issues Pin
gamefreak229120-Apr-09 6:02
membergamefreak229120-Apr-09 6:02 
GeneralRe: char array issues Pin
Maximilien20-Apr-09 6:51
memberMaximilien20-Apr-09 6:51 
AnswerRe: char array issues Pin
CPallini20-Apr-09 10:51
mvpCPallini20-Apr-09 10:51 
AnswerRe: char array issues Pin
Stuart Dootson20-Apr-09 19:41
memberStuart Dootson20-Apr-09 19:41 
Questionmanipulating Windows' "Open With" function Pin
kouddy20-Apr-09 4:56
memberkouddy20-Apr-09 4:56 
QuestionRe: manipulating Windows' "Open With" function Pin
DavidCrow20-Apr-09 5:10
mvpDavidCrow20-Apr-09 5:10 
Questionis this posible can you show me how it is done Pin
Lanstar20-Apr-09 3:32
memberLanstar20-Apr-09 3:32 
AnswerRe: is this posible can you show me how it is done Pin
Rajesh R Subramanian20-Apr-09 3:35
mvpRajesh R Subramanian20-Apr-09 3:35 
GeneralRe: is this posible can you show me how it is done Pin
Tony_P20-Apr-09 3:53
memberTony_P20-Apr-09 3:53 
GeneralRe: is this posible can you show me how it is done Pin
Rajesh R Subramanian20-Apr-09 4:06
mvpRajesh R Subramanian20-Apr-09 4:06 
QuestionWriting data to the sound card Pin
Tony_P20-Apr-09 2:39
memberTony_P20-Apr-09 2:39 
AnswerRe: Writing data to the sound card Pin
CPallini20-Apr-09 2:53
mvpCPallini20-Apr-09 2:53 
GeneralRe: Writing data to the sound card Pin
Tony_P20-Apr-09 3:12
memberTony_P20-Apr-09 3:12 
GeneralRe: Writing data to the sound card Pin
CPallini20-Apr-09 3:16
mvpCPallini20-Apr-09 3:16 
GeneralRe: Writing data to the sound card Pin
Tony_P20-Apr-09 3:34
memberTony_P20-Apr-09 3:34 
QuestionRe: Writing data to the sound card Pin
Divyang Mithaiwala20-Apr-09 3:22
memberDivyang Mithaiwala20-Apr-09 3:22 
AnswerRe: Writing data to the sound card Pin
Tony_P20-Apr-09 3:35
memberTony_P20-Apr-09 3:35 
GeneralRe: Writing data to the sound card Pin
molesworth20-Apr-09 5:44
membermolesworth20-Apr-09 5:44 
QuestionIncrement string value in VC++ 6.0 Pin
diptipanchal20-Apr-09 2:37
memberdiptipanchal20-Apr-09 2:37 
AnswerRe: Increment string value in VC++ 6.0 Pin
N a v a n e e t h20-Apr-09 2:40
mvpN a v a n e e t h20-Apr-09 2:40 
GeneralRe: Increment string value in VC++ 6.0 Pin
diptipanchal20-Apr-09 19:34
memberdiptipanchal20-Apr-09 19:34 
AnswerRe: Increment string value in VC++ 6.0 Pin
Tony_P20-Apr-09 2:41
memberTony_P20-Apr-09 2:41 
AnswerRe: Increment string value in VC++ 6.0 Pin
Cedric Moonen20-Apr-09 2:47
mvpCedric Moonen20-Apr-09 2:47 
QuestionRe: Increment string value in VC++ 6.0 Pin
CPallini20-Apr-09 2:51
mvpCPallini20-Apr-09 2:51 
AnswerRe: Increment string value in VC++ 6.0 Pin
Rajesh R Subramanian20-Apr-09 3:33
mvpRajesh R Subramanian20-Apr-09 3:33 
GeneralRe: Increment string value in VC++ 6.0 Pin
Jim Crafton20-Apr-09 10:46
memberJim Crafton20-Apr-09 10:46 
GeneralRe: Increment string value in VC++ 6.0 Pin
CPallini20-Apr-09 10:57
mvpCPallini20-Apr-09 10:57 
GeneralRe: Increment string value in VC++ 6.0 Pin
Jim Crafton20-Apr-09 10:58
memberJim Crafton20-Apr-09 10:58 
AnswerRe: Increment string value in VC++ 6.0 Pin
bulg20-Apr-09 6:35
memberbulg20-Apr-09 6:35 
QuestionTo find all information related to a particular software in registry with the help of file using c++ Pin
satish197820-Apr-09 1:38
membersatish197820-Apr-09 1:38 
AnswerRe: To find all information related to a particular software in registry with the help of file using c++ Pin
CPallini20-Apr-09 1:49
mvpCPallini20-Apr-09 1:49 
GeneralRe: To find all information related to a particular software in registry with the help of file using c++ Pin
satish197820-Apr-09 2:05
membersatish197820-Apr-09 2:05 
GeneralRe: To find all information related to a particular software in registry with the help of file using c++ Pin
Rajesh R Subramanian20-Apr-09 2:15
mvpRajesh R Subramanian20-Apr-09 2:15 
AnswerRe: To find all information related to a particular software in registry with the help of file using c++ Pin
_AnsHUMAN_ 20-Apr-09 1:56
member_AnsHUMAN_ 20-Apr-09 1:56 
Questionhow to determen if win key exist on keyboard Pin
josip cagalj20-Apr-09 0:21
memberjosip cagalj20-Apr-09 0:21 
AnswerRe: how to determen if win key exist on keyboard Pin
josip cagalj20-Apr-09 21:07
memberjosip cagalj20-Apr-09 21:07 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160530.1 | Last Updated 31 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid